maia.crimew.gay/src/css/style.scss

300 lines
4.2 KiB
SCSS
Raw Normal View History

2023-07-31 13:05:37 +00:00
$bg: rgb(254, 175, 214);
$text: rgb(92, 53, 124);
$accent: rgb(146, 0, 80);
$active-links: rgb(124, 6, 160);
$divider: rgb(219, 103, 167);
$semi-bg: rgba(221, 116, 174, 0.211);
2023-05-19 12:36:10 +00:00
html {
2023-07-31 13:05:37 +00:00
background-color: $bg;
color: $text;
2023-05-19 12:36:10 +00:00
}
a {
2023-07-31 13:05:37 +00:00
color: $accent;
2023-05-19 12:36:10 +00:00
}
::selection {
background-color: rgba($accent, 0.7);
color: #ffb8e8;
}
2023-05-19 12:36:10 +00:00
.like-a {
2023-07-31 13:05:37 +00:00
color: $accent;
2023-05-19 12:36:10 +00:00
text-decoration: underline;
}
a.active,
li.lavender-webring-curr-site>a {
2023-07-31 13:05:37 +00:00
color: $active-links;
2023-05-19 12:36:10 +00:00
}
#site_header {
padding-bottom: 5px;
2023-07-31 13:05:37 +00:00
border-bottom: 1px solid $accent;
2023-05-19 12:36:10 +00:00
}
footer {
padding-top: 5px;
}
.footer-kitten {
height: 88px;
2023-07-31 13:05:37 +00:00
border-bottom: 1px solid $accent;
2023-05-19 12:36:10 +00:00
margin-bottom: 5px;
>img {
height: 88px;
}
}
2023-07-24 17:33:12 +00:00
.pagination {
display: flex;
justify-content: space-between;
a {
font-weight: bolder;
font-size: large;
}
}
2023-05-19 12:36:10 +00:00
footer,
#site_header,
.lavender-webring-container {
text-align: center;
}
.list-entry {
list-style-type: none;
h2 {
margin-bottom: 0;
}
}
#content {
2023-10-27 01:45:14 +00:00
max-width: 1000px;
2023-05-19 12:36:10 +00:00
margin-left: auto;
margin-right: auto;
padding-top: 2em;
padding-bottom: 2em;
}
2023-10-27 01:45:14 +00:00
table {
display: block;
overflow-x: auto;
border-collapse: collapse;
white-space: nowrap;
border: none;
th, td {
border: 1px solid;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
text-align: center;
}
th, tr td:first-child {
border: 1.5px solid;
background-color: $semi-bg;
font-weight: bold;
}
th {
border-top: none;
}
tr {
th, td:first-child {
border-left: none;
}
td, th:last-child {
border-right: none;
}
}
tr:last-child td {
border-bottom: none;
}
}
2023-05-19 12:36:10 +00:00
.byline {
font-size: 0.75rem;
}
.middot::after {
content: '\00B7';
display: inline-block;
}
time,
.author,
.updated {
font-weight: bold;
}
.article_header,
.page_header {
padding-bottom: 4px;
2023-07-31 13:05:37 +00:00
border-bottom: 1px dotted $divider;
2023-05-19 12:36:10 +00:00
}
2023-07-13 14:17:29 +00:00
.article_header {
img {
width: 100%;
}
}
.related {
margin-top: 18px;
2023-07-31 13:05:37 +00:00
border-top: 1px dotted $divider;
h3 {
margin-top: 4px;
margin-bottom: 0;
}
ul {
margin-top: 4px;
padding-left: 0;
h4 {
margin-top: 4px;
margin-bottom: 0;
}
}
}
2023-05-19 12:36:10 +00:00
.article_header>h1,
.page_header>h1 {
margin: 0.1rem;
}
2023-07-24 16:09:11 +00:00
img,
video {
2023-07-13 14:17:29 +00:00
max-width: 100%;
2023-05-19 12:36:10 +00:00
}
figure {
margin-left: 0;
margin-right: 0;
2023-11-03 15:45:36 +00:00
width: fit-content;
}
figcaption {
text-align: center;
font-style: italic;
}
2023-10-27 16:48:10 +00:00
blockquote {
background-color: $semi-bg;
border-left: 3px solid $accent;
padding: .5em .5em;
quotes: "\201C""\201D""\2018""\2019";
p {
display: inline;
margin-top: 0;
line-height: 1.4em;
}
}
blockquote:before {
color: $accent;
content: open-quote;
font-size: 4em;
line-height: 0;
margin-right: 1px;
vertical-align: -0.4em;
}
blockquote:after {
color: $accent;
content: close-quote;
font-size: 4em;
line-height: 0;
margin-left: 1px;
vertical-align: -0.4em;
}
span.greentext {
color: #789922;
}
blockquote.greentext::before {
content: none;
display: none;
}
blockquote.greentext::after {
content: none;
display: none;
}
2023-05-19 12:36:10 +00:00
.tag {
font-weight: bold;
}
.banner-link {
color: inherit;
text-decoration: inherit;
}
.kofi-banner {
border-radius: 8px;
padding: 4px;
2023-07-31 13:05:37 +00:00
border: 2px solid $accent;
background-color: $semi-bg;
2023-05-19 12:36:10 +00:00
font-size: 1.1rem;
}
.content-warnings {
border-radius: 8px;
padding: 4px;
2023-07-31 13:05:37 +00:00
border: 2px solid $accent;
background-color: $semi-bg;
2023-05-19 12:36:10 +00:00
font-size: 1.1rem;
margin-top: 16px;
margin-bottom: 16px;
width: fit-content;
>p {
margin: 0;
}
}
.lavender-webring-container,
.sleepy-zone-webring-container {
all: unset;
display: flex;
flex-direction: column;
padding: 1em;
font-size: 1.125rem;
}
.lavender-webring-description,
.sleepy-zone-webring-description {
margin-block-end: 0.5em;
}
.lavender-webring-site-links,
.sleepy-zone-webring-site-links {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
list-style: none;
margin: 0;
padding: 0;
}
.lavender-webring-prev-site a::before,
.sleepy-zone-webring-prev-site a::before {
content: "";
margin-inline-end: 1ch;
}
.lavender-webring-next-site a::after,
.sleepy-zone-webring-next-site a::after {
content: "";
margin-inline-start: 1ch;
}