not terrible
This commit is contained in:
@@ -25,7 +25,7 @@ h2 {
|
||||
border-bottom: 1px solid #000000;
|
||||
text-transform: uppercase;
|
||||
font-size: 130%;
|
||||
margin: 1em 0 0 0;
|
||||
margin: 1.2em 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
h3 {
|
||||
@@ -35,21 +35,32 @@ h3 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
h3 > div:nth-child(1) {
|
||||
flex: 1;
|
||||
padding: 0 2em 0 0;
|
||||
}
|
||||
h3 > div:nth-child(2) {
|
||||
flex: none;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 0.5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0 1.5em;
|
||||
}
|
||||
}
|
||||
/* ul immediately after h1 = contact list */
|
||||
h1 + ul {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
li {
|
||||
margin: .5em 0 0 0;
|
||||
}
|
||||
h1 + ul > li {
|
||||
margin: initial;
|
||||
display: inline;
|
||||
white-space: pre;
|
||||
list-style-type: none;
|
||||
@@ -66,7 +77,7 @@ h1 + ul + p {
|
||||
}
|
||||
@media print {
|
||||
body {
|
||||
font-size: 10pt;
|
||||
font-size: 12pt;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: none;
|
||||
@@ -85,6 +96,16 @@ h1 + ul + p {
|
||||
color: #000000;
|
||||
text-decoration: underline;
|
||||
}
|
||||
/*
|
||||
ul:not(:nth-child(2)) > li:nth-child(1),
|
||||
ul:not(:nth-child(2)) > li:nth-child(2) {
|
||||
display: list-item;
|
||||
}
|
||||
ul:not(:nth-child(2)) > li,
|
||||
*/
|
||||
footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@page {
|
||||
/* Change margins and paper size of PDF */
|
||||
|
||||
Reference in New Issue
Block a user