bots-as-digital-infrapunctures/themes/default/static/css/main.css

224 lines
3.8 KiB
CSS
Raw Normal View History

2020-09-18 15:16:59 +02:00
@import 'fonts.css';
body{
margin:2em auto;
min-width: 1080px;
2020-10-02 22:27:06 +02:00
max-width: 950px;
2020-09-18 15:16:59 +02:00
font-family: 'Basker';
2020-10-02 22:27:06 +02:00
font-size: 14pt;
line-height: 1.7;
2020-09-18 15:16:59 +02:00
letter-spacing: 0.25pt;
color: rgba(40,40,40,1);
/*background-color: #d0bba0;*/
background-color: #ecddcb;
}
2020-10-02 22:27:06 +02:00
h1, h2, h3, h4, h5, h6{
font-family: 'Belgika-reg';
margin-top:1.5em;
}
header#banner{
width: 100%;
2020-10-02 22:27:06 +02:00
text-align: center;
}
header#banner h1{
font-family: 'Syne';
font-size: 110px;
line-height:1.25;
2020-10-02 22:27:06 +02:00
margin: 1em 0;
}
header#banner h1 a{
text-decoration: none;
color: darkgoldenrod !important;
}
nav#menu{
2020-10-02 22:27:06 +02:00
width: calc(100% + 20em);
text-align: center;
2020-10-02 22:27:06 +02:00
margin:0 0 0 -11em;
}
nav#menu li{
width: 145px;
height:10em;
margin:1em 0;
padding:1em;
2020-10-02 22:27:06 +02:00
font-size: 75%;
2020-09-18 15:16:59 +02:00
line-height: 1.4;
color: rgba(40,40,40,1);
border:1px solid;
border-radius: 1em;
list-style: none;
display: inline-block;
2020-09-18 15:16:59 +02:00
vertical-align: middle;
}
2020-09-11 17:59:20 +02:00
nav#menu li.active{
background-color: #95d1e6;
2020-09-18 15:16:59 +02:00
}
nav#menu li.pagelink{
height: 1.5em;
2020-09-11 17:59:20 +02:00
}
nav#menu a{
text-decoration: none;
}
section#content{
margin: 4em 0;
}
article{
margin: 3em 0 2em 0;
padding: 2em 3em 0;
border-top: 1px solid;
}
2020-09-18 17:41:16 +02:00
article:first-child{
background-color: #95d1e6;
padding-bottom: 3em;
margin-bottom: -3em;
2020-09-11 17:59:20 +02:00
}
/* start button */
article button {
width: auto;
top:1em;
margin:1.5em auto;
padding:1.5em 3em;
background-color: rgba(40,40,40,1);
border:1px solid rgba(40,40,40,1);
border-radius: 0.5em;
}
2020-10-16 21:26:52 +02:00
article a button{
font-family: 'Belgika-reg';
text-decoration: none !important;
color: white !important;
font-size: 16px;
letter-spacing: 0.1em;
2020-09-18 15:51:00 +02:00
}
2020-10-16 21:26:52 +02:00
article a button:hover{
cursor: pointer;
}
article h2.page-title a{
text-decoration: none;
}
2020-09-11 17:59:20 +02:00
/* big boxes for the section titles */
h1.category{
width: calc(100% - 4em);
background-color: rgba(40,40,40,1);
2020-09-18 17:41:16 +02:00
color:white;
border-radius: 1em;
2020-09-25 16:18:26 +02:00
padding: 2em 2em 3em 2em;
margin: 2em 0;
2020-10-16 16:57:26 +02:00
font-family: "Basker";
font-size: 32px;
text-align: center;
2020-09-18 17:41:16 +02:00
font-weight: normal;
2020-09-11 17:59:20 +02:00
}
2020-10-16 15:51:37 +02:00
/* next & prev buttons */
2020-09-18 16:34:23 +02:00
ul.navprevnext{
2020-10-02 22:27:06 +02:00
position: relative;
display: inline-block;
2020-09-18 17:32:55 +02:00
width: calc(100% - 4em);
2020-10-02 22:27:06 +02:00
margin:3em 0 0;
2020-09-18 16:34:23 +02:00
}
ul.navprevnext li.prev,
ul.navprevnext li.next,
ul.navprevnext li.done,
ul.navprevnext li.none{
2020-10-02 22:27:06 +02:00
position: relative;
width: calc(50% - 17em);
height: 150px;
2020-10-02 22:27:06 +02:00
top:0;
background-color: #95d1e6;
border-radius: 1em;
2020-09-18 16:34:23 +02:00
padding:1em 3em;
font-size: 11pt;
2020-09-18 16:34:23 +02:00
line-height: 1.4;
2020-10-02 22:27:06 +02:00
list-style: none;
border:1px solid black;
2020-09-18 16:34:23 +02:00
}
ul.navprevnext a{
text-decoration: none;
}
ul.navprevnext li.prev:before,
ul.navprevnext li.next:before{
display: block;
font-style:italic;
margin:0 0 1em 0;
}
ul.navprevnext li.prev:before{
2020-09-18 17:32:55 +02:00
content:'←\00a0\00a0\00a0Go to the previous page';
margin-left:-1.75em;
2020-09-18 16:34:23 +02:00
}
ul.navprevnext li.next:before{
2020-09-18 17:32:55 +02:00
content:'Go to the next page\00a0\00a0\00a0→';
margin-right:-2em;
2020-10-16 15:51:37 +02:00
text-align: right;
2020-09-18 16:34:23 +02:00
}
2020-09-18 17:32:55 +02:00
ul.navprevnext li.none,
2020-09-18 16:34:23 +02:00
ul.navprevnext li.prev{
2020-10-02 22:27:06 +02:00
float: left;
left:-9.5em;
2020-09-18 16:34:23 +02:00
}
ul.navprevnext li.next,
ul.navprevnext li.done{
2020-10-02 22:27:06 +02:00
float: right;
right: -9.5em;
2020-09-18 16:34:23 +02:00
}
/* you finished this section */
2020-09-18 16:34:23 +02:00
ul.navprevnext li.done{
background-color: rgba(40,40,40,1);
2020-09-18 17:32:55 +02:00
color: white;
2020-09-18 16:34:23 +02:00
}
ul.navprevnext li.none{
background-color: transparent;
color: transparent;
border:0;
}
2020-09-18 16:34:23 +02:00
.footnote{
font-size: smaller;
}
2020-09-11 17:59:20 +02:00
footer{
font-style: normal;
font-size: smaller;
2020-10-02 22:27:06 +02:00
clear: both;
2020-09-11 17:59:20 +02:00
}
/* general elements */
a,
a:visited,
a:hover,
a:active{
color: rgba(40,40,40,1);
}
2020-09-11 17:59:20 +02:00
a.nounderline{
text-decoration: none;
}
hr{
width: 100%;
border:0;
border-bottom:1px solid rgba(40,40,40,1);
margin:3em auto;
2020-09-11 17:59:20 +02:00
}
2020-10-16 19:33:12 +02:00
sup{
line-height: 0;
font-size: 75%;
padding-left: 0.2em;
}
2020-09-18 17:05:29 +02:00
img,
video{
width: calc(100% + 6em);
2020-09-18 17:05:29 +02:00
margin: 2em 0 2em -3em;
}
blockquote{
font-style: italic;
font-size: 125%;
2020-10-02 22:27:06 +02:00
line-height: 1.9;
}
pre,
code{
color: #c600c6;
}
2020-09-11 17:59:20 +02:00
.lastupdate{
font-size: smaller;
margin:4em 0;
}