Files
post-self.ink/static/css/post-self.css
Madison Rye Progress b816366cb4
All checks were successful
Deploy / deploy (push) Successful in 10s
notch corner
2026-03-17 13:17:56 -07:00

251 lines
4.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import url('https://fonts.googleapis.com/css2?family=Gotu&display=swap');
body, main {
font-family: "Gentium Plus", serif;
}
h1, h2, h3 {
font-family: "Gotu", sans-serif;
}
blockquote {
overflow-wrap: break-word;
}
nav details summary::marker,
:is(::-webkit-details-marker) {
content: "+ ";
font-family: monospace;
font-weight: bold;
}
nav details[open]:first-of-type summary::marker {
content: " ";
}
main.story .author, main.story .character, main.story h3 {
font-family: "Gotu", sans-serif !important;
text-align: center !important;
}
.spoiler {
filter: blur(1rem);
}
.spoiler:hover {
filter: none;
}
.spoiler-warn::before {
vertical-align: top;
content: '(spoiler)';
font-size: 50%;
color: red;
}
ul {
list-style-type: revert;
padding-left: 2rem;
}
.hero {
font-family: "Gentium Plus", serif;
font-size: 18pt;
line-height: 1.5;
color: #444444;
margin-bottom: 1rem;
background: url(/img/hero-bg.png);
background-size: cover;
background-position: center;
background-color: #fafafa;
}
body.dark-mode .hero {
background: url(/img/hero-bg-invert.png);
background-size: cover;
background-position: center;
background-color: #282828;
color: #eee;
}
.hero ul {
font-size: 20pt;
list-style-type: none;
text-align: center;
margin: 0;
padding: 1rem;
}
body.dark-mode .hero * {
background-color: transparent;
}
.hero ul li {
margin: 1rem 0;
padding: 0;
}
.carousel nav {
height: 5rem;
width: 100%;
display: block;
margin: 0 auto;
text-align: center;
z-index: 1000;
}
.carousel nav ul {
list-style-type: none;
border-bottom: 1px solid #555;
padding: 0;
}
.carousel nav li {
display: inline-block;
margin: 0;
padding: 0.5rem;
}
.carousel nav li.on {
background-color: #555;
}
.carousel nav li.on a {
color: #fff !important;
}
.carousel nav li a {
text-decoration: none;
font-size: 16pt;
}
.carousel .carousel-item {
display: none;
}
.carousel .carousel-item.on {
display: block;
}
main.story .author, main.story .character, main.story h3 {
font-family: "Gotu", sans-serif !important;
text-align: center !important;
}
.cw {
border: 2px dotted red;
font-size: 14pt;
width: 80%;
margin: 0 auto;
padding: 1rem;
color: darkred;
text-align: center;
margin-bottom: 2rem;
}
.dark-mode .cw {
color: red;
}
.cw:before {
display: block;
content: "⚠️ Content Warning";
font-weight: bold;
}
.spoiler-note {
border: 2px dotted blue;
font-size: 14pt;
width: 80%;
margin: 0 auto;
padding: 1rem;
color: darkblue;
text-align: center;
margin-bottom: 2rem;
}
.dark-mode .spoiler-note {
color: lightblue;
}
.spoiler-note:before {
display: block;
content: "❗Spoiler Warning";
font-weight: bold;
}
.canon-note {
border: 2px dotted goldenrod;
font-size: 14pt;
width: 80%;
margin: 0 auto;
padding: 1rem;
color: darkgoldenrod;
text-align: center;
margin-bottom: 2rem;
}
.canon-note:before {
display: block;
content: "❓ Canon Note";
font-weight: bold;
}
#feed article h2 {
text-align: left;
opacity: 0.9;
margin: 0;
}
#feed article:after {
display: block;
width: 100%;
text-align: center;
content: '§';
}
#feed article .pub-date {
font-size: 90%;
opacity: 0.9;
}
#feed article li {
text-align: left;
list-style-type: disc;
margin-left: 1.5rem;
}
.works dt {
background: linear-gradient(135deg, transparent 0.5rem, rgba(127, 127, 127, 0.2) 0) top left;
}
.works dd {
background: linear-gradient(315deg, transparent 0.5rem, rgba(127, 127, 127, 0.1) 0) bottom right;
}
.works > nav .active {
background-color: transparent !important;
background: linear-gradient(135deg, transparent 0.5rem, rgba(127, 127, 127, 0.2) 0) top left;
}
@media only screen and (max-width: 960px) {
.carousel nav {
display: none;
}
.carousel .carousel-item {
display: block;
width: 100%;
}
.carousel .carousel-item h2 {
display: block !important;
}
}
@media (max-device-width: 450px) {
.nav-desktop {
display: none;
}
.nav-mobile {
display: inline-block;
}
nav ul li {
padding-bottom: 0.5rem !important;
}
}