Browse Source

css backup after workday in Brussel

master
manetta 3 years ago
parent
commit
64c6f08dc2
  1. 100
      command-line/css/print.css

100
command-line/css/print.css

@ -57,6 +57,17 @@ div.no-hyphens{
div.no-indent p{ div.no-indent p{
text-indent: unset !important; text-indent: unset !important;
} }
div.contribution.bugged-report div.no-indent p{
width: 100%;
/*width: calc(100% - var(--first-indent));*/
margin-bottom: 1em;
}
div.contribution.bugged-report div.right-align{
text-align: right;
/*margin-left: var(--first-indent);*/
margin-left: 0;
margin-bottom: 1em;
}
/* general */ /* general */
@ -123,40 +134,40 @@ html, body{
} }
/* section title pages */ /* section title pages */
@page:nth(28){ @page:nth(28){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(29){ @page:nth(29){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(104){ @page:nth(100){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(105){ @page:nth(101){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(162){ @page:nth(160){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(163){ @page:nth(161){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(210){ @page:nth(206){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(211){ @page:nth(207){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(264){ @page:nth(258){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(265){ @page:nth(259){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(320){ @page:nth(320){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page:nth(321){ @page:nth(321){
background-color: lightgray; background: linear-gradient(180deg, #787cc0, #c0c1e7);
} }
@page contribution:first{ @page contribution:first{
/* exception for running-header on the first page of a contribution */ /* exception for running-header on the first page of a contribution */
@ -165,7 +176,8 @@ html, body{
} }
} }
@page:first{ @page:first{
background-color: #b89ee6; /*background-color: #b89ee6;*/
background: linear-gradient(180deg, #787cc0, #c0c1e7);
@top-center{ @top-center{
content: none; content: none;
@ -175,7 +187,7 @@ html, body{
} }
} }
@page backcover{ @page backcover{
background-color: #b89ee6; background: linear-gradient(180deg, #787cc0, #c0c1e7);
@top-center{ @top-center{
content: none; content: none;
@ -498,15 +510,20 @@ h3{
letter-spacing: 0.05em; letter-spacing: 0.05em;
hyphens: none; hyphens: none;
} }
div.contribution.information-for-users h3{
margin-bottom: 1em !important;
}
div.contribution.bugged-report h3{
margin-bottom: 1em !important;
}
h4{ h4{
/* Sub-sub-headers */ /* Sub-sub-headers */
font-size: 100%; font-size: 100%;
page-break-after: avoid; page-break-after: avoid;
margin: 1em 0 1em var(--first-indent); margin: 1em 0 0 var(--second-indent);
hyphens: none; hyphens: none;
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
/*text-decoration: underline;*/
} }
h5, h6{ h5, h6{
margin: 0 0 1em 0; margin: 0 0 1em 0;
@ -522,6 +539,7 @@ p{
div.list-without-markers p, div.list-without-markers p,
div.no-text-indent p, div.no-text-indent p,
div.toc p, div.toc p,
div.information-for-users h2 + p + p,
h2 + p, /* author name */ h2 + p, /* author name */
h2 + p, h2 + p,
h2 + p + p + blockquote + p, h2 + p + p + blockquote + p,
@ -547,6 +565,9 @@ p{
div.series p{ div.series p{
margin-bottom: 1em; margin-bottom: 1em;
} }
div.contribution.interview-phil h3 + p {
text-indent: var(--first-indent) !important;
}
ul > li { ul > li {
list-style: none; list-style: none;
@ -569,6 +590,13 @@ ul > li {
margin-bottom: unset; margin-bottom: unset;
} }
div.contribution.ultrasonic-dreams li,
div.contribution.lidar li,
div.contribution.clandestine li,
div.contribution.information-for-users li{
margin-bottom: 0 !important;
}
div.list-without-markers{ div.list-without-markers{
text-indent: -0.8em !important; text-indent: -0.8em !important;
} }
@ -590,8 +618,13 @@ ul > li {
column-gap: 7mm; column-gap: 7mm;
margin: 0 1em; margin: 0 1em;
padding: 0; padding: 0;
orphans: 8; orphans: 3;
} }
ol.references li,
ul.references li{
hyphens: none !important;
page-break-inside: auto !important;
}
ul.references > li{ ul.references > li{
text-indent: -1em; text-indent: -1em;
margin-bottom: unset !important; margin-bottom: unset !important;
@ -699,19 +732,18 @@ pre{
font-family: "bitter"; font-family: "bitter";
font-size: var(--font-size); font-size: var(--font-size);
line-height: var(--line-height); line-height: var(--line-height);
font-style: italic;
hyphens: none; hyphens: none;
white-space: pre-line; white-space: pre-line;
margin: 1em 0 1em var(--second-indent); margin: 1em 0 1em var(--second-indent);
border: 1px solid rgba(0,0,0,0.2);
/* MONOSPACE VERSION */ padding: 1em;
/*font-family: "mono"; page-break-inside: avoid;
font-size: 9pt;
line-height: 13pt;
hyphens: none;
white-space: pre-line;
margin: 1em 0 1em var(--second-indent);*/
} }
div.quote + pre{
border: 0 !important;
padding: 0 !important;
font-style: italic;
}
blockquote{ blockquote{
margin: 0 0 0 var(--second-indent); margin: 0 0 0 var(--second-indent);
font-style: italic; font-style: italic;

Loading…
Cancel
Save