You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

783 lines
12 KiB
CSS

@page{
size: a4 portrait;
}
#popup {
display: none;
position: fixed;
width:95%;
height: 78%;
margin-left: 2%;
margin-right: auto;
margin-top: 5%;
margin-bottom:auto;
padding: 5%;
z-index: 10000;
background: whitesmoke;
outline: 6px double black;
box-sizing: border-box;
}
#popup.show {
display: block;
}
#popupclose {
color: black;
background-color: whitesmoke;
align-items: center;
justify-content: center;
font-size: 15px;
position: absolute;
display: flex;
width: auto;
height: 30px;
right: 0px;
bottom: 0px;
margin: 30px;
}
.introhead {
font-family: combat;
font-weight: normal;
font-size: 60px;
line-height: 1.0em;
display: inline-block;
margin-top: -10px;
margin-bottom: 10px;
color: black;
margin: 2% 60% 0% 5%;
position: relative;
width: 30%;
float: left;
}
.introtext {
font-family: Compagnon;
color:black;
font-weight: bold;
margin: 4% 10% 0% 35%;
position: absolute;
float: left;
width: 40%;
}
.warning {
position: absolute;
display: flex;
width: 15%;
height: auto;
left: 8%;
bottom: 4%;
margin: 30px;
font-family: Compagnon;
color: black;
}
@font-face {
font-family: 'combat';
src: url('font/combat_new/combat-webfont.woff2') format('woff2'),
url('font/combat_new/combat-webfont.woff') format('woff'),
url('font/combat_new/combat-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Compagnon";
src: url('font/compagnon/compagnon-bold.otf') format('otf'),
url('font/compagnon/compagnon-bold.woff') format('woff');
}
@font-face {
font-family: "Compagnon";
src: url('font/compagnon/compagnon-medium.otf') format('otf'),
url('font/compagnon/compagnon-medium.woff') format("woff");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "Compagnon";
src: url('font/compagnon/compagnon-roman.otf') format('otf'),
url('font/compagnon/compagnon-roman.woff') format('woff');
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "Compagnon";
src: url('font/compagnon/compagnon-light.otf') format('otf'),
url('font/compagnon/compagnon-light.woff') format('woff');
}
@font-face {
font-family: "Compagnon";
src: url('font/compagnon/compagnon-italic.otf') format('otf'),
url('font/compagnon/compagnon-italic.woff') format('woff');
font-style: italic;
font-weight: normal;
}
body {
background-color: #f7fdf9;
position: relative;
overflow-x: hidden;
line-height: 1.25em;
font-size: 13px;
}
.booty {
width: 93%;
height: 80vh;
position: relative;
top: 100px;
}
nav {
position: fixed;
left: 35%;
top: 5px;
z-index: 999;
width: auto;
margin: 0px;
background-color: whitesmoke;
}
.header {
border-bottom: 2px dashed tomato;
top: 9px;
width: 98%;
height: 51px;
position: fixed;
padding: 7px;
padding-left: 30px;
margin-top: -8px;
margin-left: -8px;
z-index: 998;
background-color: whitesmoke;
}
.arrow {
float: right;
width: auto;
height:30px;
background-color: transparent;
}
.cover {
display: none;
}
.toc {
display:none;
}
.empty {
position: absolute;
top: 0px;
height: 0px;
width: 0px;
}
.parent {
position: relative;
width: 100%;
height: 100%;
scroll-snap-type: y mandatory;
}
section {
height: 75vh;
width: 100%;
margin: 20px;
padding: 1em;
overflow-x: auto;
overflow-y: hidden;
column-width: 23em;
column-gap: 10px;
border-bottom: 2px dashed tomato ;
margin-bottom: 20px;
scroll-snap-align: start;
}
a {
font-family: Compagnon, monospace;
}
a.introlink {
color: white;
}
a.tools {
color:seagreen;
}
a.methods{
color:slateblue;
}
a.experiences {
color:tomato;
}
h1, h2, h3, h5, h6 {
font-family: monospace;
font-size: 1em;
line-height: 1.25em;
margin: 0px;
}
h1 {
font-size: 2em;
line-height: 1.2em;
margin-top: 7px;
font-family: Compagnon;
font-weight:normal;
}
h2 {
color: white;
}
h4 {
font-family: combat;
font-weight: normal;
font-size: 30px;
line-height: 1.0em;
display: inline-block;
margin-top: -10px;
margin-bottom: 10px;
}
h5 {
color: white;
}
h6 {
font-family: Compagnon;
display: inline-block;
font-weight: bold;
margin-top: 2em;
}
.sectiontitles {
font-family: Compagnon;
display: inline-block;
font-weight: bold;
margin-top: 2em;
}
.glossary {
font-family: Compagnon;
display: inline-block;
font-weight: 100;
margin-top: 2em;
}
.title-element {
font-family:Compagnon;
font-weight: bold;
font-style: normal;
font-size: 30px;
}
h4.methods {
font-family:Compagnon;
font-weight: bold;
font-style: normal;
font-size: 30px;
}
.tools {
color: seagreen;/*code:#2e8b57*/
}
.methods {
color:slateblue; /*code:#6a5acd*/
}
.experiences {
/*color: indianred;*/
color:tomato; /*code:#eb5030*/
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
img {
position: relative;
max-width: 100%;
}
.illu {
}
.placeholder {
height: auto;
width: 90%;
background-color: transparent;
margin-bottom: 0px;
}
p {
margin: 0%;
font-family: Compagnon;
text-align: left;
position: relative;
}
i {
line-height: 0;
}
small {
display: inline-block;
line-height: 1.25em;
max-width: 100%;
word-break: break-word;
}
#proletariansunite {
color:tomato;
}
.code {
margin-top: -1em;
font-family: OCR A Std, monospace;
font-size: 10px;
word-break: break-word;
word-wrap: break-word
}
.filterDiv {
position: relative;
display: inline-block;
margin: 0 0 1em;
width: auto;
padding: 5%;
padding-top: 2%;
text-align: left;
display: none; /* Hidden by default */
box-sizing: border-box;
}
.printbutton {
}
.selectall {
}
.popup {
}
.checkbox {
margin-top: 0.5em;
}
.myBtnContainer {
padding-left: 10px;
padding-top: 0px;
}
.swarmintro {
font-family: Compagnon;
margin-top: 0px;
text-align: left;
color: black;
/* position: relative; */
}
.glossary {
font-family: Compagnon;
margin-top: 0px;
text-align: left;
}
.quote {
margin-top: 1px;
font-family: Compagnon;
font-style: italic;
text-align: left;
}
.bulletpoints {
font-family: monospace;
margin: 1px;
}
.sectiontitles {
font-family: monospace;
margin: 1px;
font-weight: bold;
}
.markdown_empty {
position: relative;
visibility: hidden;
}
.pandoc_empty {
position: relative;
visibility: hidden;
}
footer {
height: auto;
width: 100%;
align-items: center;
justify-content: center;
padding: 20px;
}
.credits {
font-family: avenir, sans-serif;
font-size: 8px;
text-align: left;
line-height: 2em;
width: 70%;
margin: 20px;
}
/* The "show" class is added to the filtered elements */
.show {
display: block;
}
.btnsetfilter {display: inline-block;}
.btnsetother {display: inline-block;}
.btn {
font-family:Compagnon;
font-style:normal;
font-size: 10px;
border: none;
padding:6px 16px;
margin: 14px 7px 10px 7px;
background-color: transparent;
cursor: pointer;
width: 85px;
font-weight: 600;
box-sizing: border-box;
}
/* Add a light grey background on mouse-over */
.btn:hover {
font-family:Compagnon;
font-style:bold;
/* background-color: #ddd;*/
font-weight: 100;
}
/* Add a dark background to the active button */
.btn.active {
font-family:Compagnon;
font-style:bold;
background-color: lightgrey;
/*color: black;*/
/* border-bottom: 2px dashed tomato;
border-top: 2px dashed tomato;*/
}
.btn2 {
font-family:Compagnon;
font-style:normal;
font-size: 10px;
border: none;
padding:6px 16px;
margin: 7px;
margin-bottom: 10px;
background-color: transparent;
cursor: pointer;
width: 110px;
font-weight: 600;
}
/* Add a light grey background on mouse-over */
.btn2:hover {
font-family:Compagnon;
font-style:bold;
/* background-color: #ddd; */
font-weight: 100;
}
@media only screen and (min-width: 1100px) {
}
@media only screen and (max-width: 1099px) and (min-width: 768px) {
nav {
left: 0;
top: 65px;
}
.header {
height: 110px;
}
.introhead {
font-size: 40px;
}
.introtext {
margin: -2% 10% 0% 35%;
}
}
@media only screen and (max-width: 767px) and (min-width: 100px) {
nav {
left: 0;
top: 65px;
}
section { margin-top: 20%;}
.header {
height: 146px;
}
.introhead {
font-size: 20px;
}
.introtext {
margin: -7.5% 10% 0% 35%;
line-height:1.1em;
}
}
body.pagedjs {
overflow-x: initial;
position: initial;
}
.pagedjs_pages .booty {
width: initial;
height: initial;
position: initial;
top: initial;
}
.pagedjs_pages .header {
position: static !important;
page-break-before: always;
}
.pagedjs_pages #popup {
/*display: block;*/
position: static !important;
}
.pagedjs_pages section {
height: 100%;
width: initial;
column-width: initial;
column-count: 3;
margin: 0;
overflow-x: initial;
overflow-y: initial;
}
.pagedjs_pages .filterDiv {
overflow: initial;
}
.pagedjs_pages .filterDiv:not(.print) {
display: none;
}
@media print{
h6 {
display: block;
}
.toc {
display: none;
}
.filterDiv:not(.print) {
/*display: none;*/
}
nav, .nav{
display:none;
}
.intro{
display:none
}
input, .checkbox{
display:none;
}
#popupclose {
display: none;
visibility: hide;
}
.warning {
display:none;
}
.arrow { display: none;}
.printbutton{
display:none;
}
.header {
position: static !important;
page-break-before: always;
}
#popup {
display: block;
position: static;
}
section {
break-after: page;
height: auto;
column-width: initial;
column-count: 3;
border-bottom: none;
}
.cover {
display: block;
height: 100%;
position: relative;
}
.cover_title {
position: absolute;
margin: 70% 20% 20% 20%;
top: 300px;
font-family: Compagnon, monospace;
}
.toc li a::after{
content: target-counter(attr(href), page);
float: right;
}
}
@page{
margin-top: 20mm;
margin-bottom: 25mm;
margin-left: 10mm;
margin-right: 10mm;
@top-right {
content: "We have secrets to tell";
font-family: Combat;
font-size: 10pt;
}
@top-left {
content: "Experimental Publishing";
font-family: Verdana, Sans-serif;
font-size: 10pt;
}
@top-center {
content: "Special Issue 11";
font-family: Verdana, Sans-serif;
font-size: 10pt;
}
@bottom-right {
content: "Page " counter(page) " of " counter(pages);
font-family: Verdana, Sans-serif;
font-size: 10pt;
}
}
@page :first {
@top-right { content: none; }
@top-left { content: none; }
@top-center { content: none; }
@bottom-right { content: none; }
}
@page :nth(2) {
@top-right { content: none; }
@top-left { content: none; }
@top-center { content: none; }
@bottom-right { content: none; }
}