post_apocalypse_story/html_resources/style.css

133 lines
1.8 KiB
CSS
Raw Normal View History

2023-09-02 19:23:36 +02:00
body {
margin: 0;
padding: 0 5%;
}
h1 {
text-align: center;
padding: 0;
padding-top: 0.8em;
padding-bottom: 0.5em;
border-bottom: 0.1em solid black;
margin: 0;
margin-bottom: 0.8em;
}
p, pre, ul {
padding: 0;
margin-top: 0;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.9em;
width: 80%;
max-width: 720px;
list-style-position: inside;
list-style-type: disclosure-closed;
}
li ul {
margin-left: 2em;
width: 100%;
}
p {
text-align: justify;
}
p.light {
/* TODO: include a font that supports different weights */
font-weight: lighter;
font-style: italic;
}
p.strong {
font-weight: bold;
}
p.heavy {
/* TODO: include a font that supports different weights */
font-weight: bolder;
}
pre {
width: 80ch;
font-size: 1em;
}
pre.terminal {
color: #B5E550;
background-color: #3F3F3F;
border: 1px solid black;
padding: 1em;
}
pre.paper {
/* TODO: typewriter-look? */
/* TODO: tractor feed ribbons? */
background-color: #F0E6CE;
border: 1px solid black;
padding: 1em;
padding-bottom: 0em;
}
span.paper_green {
background-color: #D0DBA6;
}
span.speech {
color: #303030;
}
span.speech::before {
color: black;
content: "\25b8";
font-size: 0.75em;
position: relative;
bottom: 0.15em;
}
span.speech::after {
color: black;
content: "\25c2";
font-size: 0.75em;
position: relative;
bottom: 0.15em;
}
span.thought {
color: #303030;
}
span.thought::before {
color: black;
content: "\25b9";
font-size: 0.75em;
position: relative;
bottom: 0.15em;
}
span.thought::after {
color: black;
content: "\25c3";
font-size: 0.75em;
position: relative;
bottom: 0.15em;
}
2023-09-23 11:12:00 +02:00
button.back {
font-size: 2.8em;
width: 1.3em;
height: 1.3em;
position: fixed;
top: 0.4em;
}
2023-09-02 19:23:36 +02:00
.comment {
font-style: italic;
color: gray;
}