mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-18 09:20:24 +00:00
pdf generator
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
/* cv-style.css — Clean CV layout for PDF print */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
|
||||
|
||||
:root {
|
||||
--color-text: #333;
|
||||
--color-heading: #1a1a1a;
|
||||
@@ -44,6 +46,10 @@ h3 {
|
||||
margin-bottom: 4pt;
|
||||
}
|
||||
|
||||
h3.page-break {
|
||||
page-break-before: always;
|
||||
}
|
||||
|
||||
p { margin-bottom: 6pt; }
|
||||
|
||||
ul {
|
||||
@@ -78,17 +84,36 @@ a {
|
||||
}
|
||||
|
||||
#headline {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
position: static;
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
padding: 0 0 12pt 0;
|
||||
margin-bottom: 12pt;
|
||||
}
|
||||
|
||||
#headline-text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#headline-photo {
|
||||
flex-shrink: 0;
|
||||
margin-left: 12pt;
|
||||
}
|
||||
|
||||
#headline-photo img {
|
||||
width: 90pt;
|
||||
height: 110pt;
|
||||
object-fit: cover;
|
||||
object-position: 70% top;
|
||||
border-radius: 4pt;
|
||||
}
|
||||
|
||||
#cvcontent {
|
||||
position: static;
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user