gallery/style/shiny/index.css

107 lines
1.6 KiB
CSS
Raw Normal View History

2020-07-20 16:40:34 -04:00
@import url(base.css);
:root {
2021-05-24 07:03:47 -04:00
min-height: 100vh;
2020-07-20 16:40:34 -04:00
display: flex;
align-items: center;
justify-content: center;
}
2020-10-06 16:07:39 -04:00
.page {
2020-07-20 16:40:34 -04:00
width: 37.5em;
2023-06-21 13:58:01 -04:00
border-radius: var(--border-radius);
2020-07-20 16:40:34 -04:00
}
#title::before, #title::after {
2020-07-20 16:40:34 -04:00
display: inline-block;
}
#title::before {
2020-07-20 16:40:34 -04:00
content: url(../niss.svg);
padding-right: 0.15em;
height: 1em;
width: 1em;
vertical-align: -0.2em;
}
#title::after {
2020-07-20 16:40:34 -04:00
content: url(../niss_tongue.svg);
padding-left: 0.15em;
height: 1.05em;
width: 1.05em;
vertical-align: -0.32em;
}
2023-06-21 13:58:01 -04:00
@media not speech {
2020-07-20 16:40:34 -04:00
.nsfw::after {
content: url(../18_plus_white.svg);
height: 1em;
width: 1em;
2020-07-20 16:40:34 -04:00
mix-blend-mode: hard-light;
margin-left: 0.3em;
2020-07-20 16:40:34 -04:00
}
}
@media speech {
.nsfw::after {
2023-06-21 13:58:01 -04:00
content: ' (contains adult content)';
2020-07-20 16:40:34 -04:00
}
}
#mutstd-note {
display: flex;
align-items: center;
justify-content: center;
}
#peace-sign {
transform: rotate(15deg);
height: 2em;
padding-left: 0.5em;
}
.list {
display: flex;
flex-wrap: wrap;
2020-07-20 16:40:34 -04:00
align-items: center;
justify-content: space-evenly;
padding: 0;
2024-07-07 16:00:44 -04:00
grid-gap: 1.5em;
2020-07-20 16:40:34 -04:00
font-size: 175%;
}
.list li {
list-style: none;
text-align: center;
display: grid;
grid-template-columns: auto min-content;
align-items: center;
justify-content: center;
2020-07-20 16:40:34 -04:00
}
2020-08-03 17:06:19 -04:00
.list a:not(:focus) {
2020-07-20 16:40:34 -04:00
text-decoration: none;
}
main {
margin: 2em 0;
}
@media (pointer: coarse) {
.list {
font-size: 300%;
grid-template-columns: 100%;
2024-07-07 16:00:44 -04:00
grid-gap: 1em;
2020-07-20 16:40:34 -04:00
}
}
2020-10-06 16:41:26 -04:00
@media (not hover), (pointer: coarse) {
.list a::after {
content: attr(title);
display: block;
font-size: 60%;
}
}