blog/assets/css/post.css

175 lines
2.7 KiB
CSS
Raw Normal View History

2024-04-06 21:50:20 +01:00
@font-face {
font-family: "Toshiba Saturn";
src: url("/assets/font/ToshibaSat_8x8.woff") format("woff");
font-display: fallback;
}
@font-face {
font-family: "IBM VGA";
src: url("/assets/font/IBM_VGA_8x16.woff2") format("woff2");
font-display: fallback;
}
body {
font-family: 'Toshiba Saturn', monospace;
background-color: #dbfbb3;
background-image: url("/assets/graphics/frog.gif") !important;
max-height: 100%;
max-width: 100%;
background-attachment: fixed;
}
2024-06-12 05:23:19 +01:00
p, h1 {
word-wrap: anywhere;
}
2024-04-06 21:50:20 +01:00
a {
color: green;
}
img {
max-width: 100%;
}
p > img {
display: block;
margin-bottom: 10px;
}
2024-12-01 19:34:26 +00:00
.use-ibm > p, .use-ibm > ol > li, li::marker {
2024-04-06 21:50:20 +01:00
font-family: "IBM VGA", monospace;
font-size: 1.125em;
}
footer > a {
margin-top: 40px;
font-size: 12px;
}
.use-ibm > sub {
font-size: x-small;
}
.container {
position: relative;
width: 900px;
max-width: 95%;
background-color: white;
border: 1px solid black;
margin: 25px auto 0;
text-align: center;
padding: 25px 0;
}
2024-07-06 21:50:34 +01:00
.title-container {
2024-04-06 21:50:20 +01:00
width: fit-content;
padding: 0;
border-bottom: white;
2024-07-06 21:47:59 +01:00
min-width: 900px;
2024-04-06 21:50:20 +01:00
}
.logo {
letter-spacing: 5px;
text-shadow: -4px 3px green;
text-align: center;
margin-bottom: 0;
2024-04-06 21:50:20 +01:00
}
.highlighted {
color: white;
background-color: green;
padding: 5px 30px;
width: fit-content;
margin: 0 auto;
}
.post-container {
display: flex;
flex-direction: column;
justify-content: center;
}
#socials {
display: block;
margin: 30px auto;
width: fit-content;
}
#socials > div {
display: flex;
align-items: center;
margin: 18px auto auto 8.5%;
}
#socials > div > img {
margin-right: 10px;
}
#hotline {
display: flex;
align-items: center;
margin: 0 auto;
width: fit-content;
}
#content {
text-align: left;
margin: 0 auto;
width: 85%;
display: block;
}
main > .container {
margin-top: 0;
border-top: white;
}
2024-07-06 21:50:34 +01:00
@media only screen and (max-width: 965px) {
.title-container {
min-width: unset;
}
}
2024-04-06 21:50:20 +01:00
@media only screen and (max-width: 467px) {
.container {
margin: 10px auto 0;
}
#socials > div {
margin: 20px 0 0;
}
#socials > div > a {
font-size: smaller;
}
.logo {
font-size: x-large;
text-shadow: -3px 2px green;
word-wrap: break-word;
}
.highlighted {
padding: 5px 15px;
}
}
.ducks {
margin-top: 20px;
}
2024-06-10 19:21:40 +01:00
pre.highlight {
overflow: scroll;
}
2024-04-06 21:50:20 +01:00
@media only screen and (max-width: 341px) {
#socials > div > a {
font-size: x-small;
}
}
@media only screen and (max-width: 300px) {
#socials > div > a {
font-size: xx-small;
}
}