2020-07-20 22:40:34 +02:00
|
|
|
@import url(base.css);
|
2020-10-06 22:07:39 +02:00
|
|
|
@import url(nsfw-warning.css);
|
2021-03-13 05:28:43 +01:00
|
|
|
@import url(pkmn.css);
|
2020-07-20 22:40:34 +02:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--image-width: 1000px;
|
2024-08-04 16:48:13 +02:00
|
|
|
--border-thickness: 2px;
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
|
|
|
|
2023-08-06 06:12:29 +02:00
|
|
|
body {
|
|
|
|
display: grid;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
2020-10-06 22:07:39 +02:00
|
|
|
.page {
|
2020-07-23 19:59:07 +02:00
|
|
|
max-width: var(--image-width);
|
2023-08-06 06:12:29 +02:00
|
|
|
align-self: center;
|
2020-07-23 19:59:07 +02:00
|
|
|
}
|
|
|
|
|
2020-07-20 22:40:34 +02:00
|
|
|
#mainfig {
|
|
|
|
margin: 1em auto;
|
|
|
|
width: min-content;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2022-12-30 03:19:33 +01:00
|
|
|
border: var(--border-thickness) solid var(--border-col);
|
2020-07-20 22:40:34 +02:00
|
|
|
box-shadow: var(--text-shadow);
|
2020-07-24 14:23:12 +02:00
|
|
|
background: hsl(340, 45%, 65%);
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
|
|
|
|
2020-08-03 23:06:19 +02:00
|
|
|
#mainfig:focus-within {
|
|
|
|
box-shadow: var(--focus-box);
|
|
|
|
}
|
|
|
|
|
2024-08-04 16:49:19 +02:00
|
|
|
#mainimg, #mainlink {
|
2020-07-20 22:40:34 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cw {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
2024-08-05 21:28:20 +02:00
|
|
|
background: linear-gradient(to bottom,
|
|
|
|
hsl(330deg, 20%, 46%),
|
|
|
|
hsl(345deg, 40%, 17%));
|
2020-07-20 22:40:34 +02:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-08-03 19:38:45 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#cw-text {
|
|
|
|
font-size: 200%;
|
2020-09-14 02:37:27 +02:00
|
|
|
font-weight: 700;
|
2020-07-20 22:40:34 +02:00
|
|
|
color: hsl(330deg, 100%, 90%);
|
|
|
|
text-shadow: none;
|
2022-08-17 03:22:13 +02:00
|
|
|
transform: rotate(-15deg);
|
2020-07-20 22:40:34 +02:00
|
|
|
|
|
|
|
background: hsl(330deg, 40%, 16%);
|
2024-10-25 18:47:07 +02:00
|
|
|
padding: 0.35em 1em;
|
|
|
|
border-radius: var(--button-radius);
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
2024-07-07 22:08:14 +02:00
|
|
|
#cw-text b { font-weight: 900; }
|
2020-09-14 02:35:56 +02:00
|
|
|
#cw-text::before {
|
|
|
|
content: 'cw: ';
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-07-20 22:40:34 +02:00
|
|
|
|
2020-08-30 18:45:13 +02:00
|
|
|
@supports (filter: opacity(65%) blur(50px)) {
|
2020-08-30 16:47:25 +02:00
|
|
|
#cw ~ * {
|
2020-08-30 18:45:13 +02:00
|
|
|
filter: opacity(65%) blur(50px);
|
2020-08-30 16:47:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#cw {
|
|
|
|
/* it doesn't matter if this is unsupported because
|
|
|
|
* either way the thing will be hidden */
|
|
|
|
mix-blend-mode: multiply;
|
|
|
|
}
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
|
|
|
|
2020-09-25 23:08:44 +02:00
|
|
|
#date { text-transform: lowercase; }
|
|
|
|
|
2021-03-08 00:13:22 +01:00
|
|
|
#info {
|
2020-07-20 22:40:34 +02:00
|
|
|
display: grid;
|
2024-07-10 15:30:37 +02:00
|
|
|
grid-template-columns: 1fr 5fr;
|
2024-07-07 22:00:44 +02:00
|
|
|
grid-column-gap: 1em;
|
2020-07-20 22:40:34 +02:00
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
2021-03-08 00:13:22 +01:00
|
|
|
@media not speech {
|
|
|
|
.info-section {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-28 22:21:56 +02:00
|
|
|
#info figure {
|
|
|
|
margin: 0.25em auto;
|
|
|
|
}
|
|
|
|
|
2023-07-10 10:59:07 +02:00
|
|
|
#info figure img {
|
|
|
|
max-width: 100%;
|
2024-08-05 19:10:43 +02:00
|
|
|
border: var(--border-thickness) solid var(--border-col);
|
|
|
|
box-shadow: var(--text-shadow);
|
2023-07-10 10:59:07 +02:00
|
|
|
}
|
|
|
|
|
2020-08-28 22:21:56 +02:00
|
|
|
#info .floating {
|
|
|
|
float: right;
|
2020-08-28 22:27:09 +02:00
|
|
|
margin-left: 0.8em;
|
2023-07-10 10:59:07 +02:00
|
|
|
max-width: 40%;
|
2020-08-28 22:21:56 +02:00
|
|
|
}
|
|
|
|
|
2021-06-05 07:34:59 +02:00
|
|
|
#info .floating.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2021-03-13 05:28:22 +01:00
|
|
|
#info .shaped {
|
|
|
|
/* maybe one day... */
|
|
|
|
/* shape-outside: attr(src url); */
|
|
|
|
shape-margin: 1em;
|
2021-05-24 13:04:03 +02:00
|
|
|
margin-right: -1em;
|
2021-03-14 07:40:23 +01:00
|
|
|
filter: drop-shadow(5px 5px 8px #0006);
|
2021-03-13 05:28:22 +01:00
|
|
|
}
|
|
|
|
|
2024-07-10 15:30:37 +02:00
|
|
|
#info h2 {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2021-03-13 05:28:22 +01:00
|
|
|
#info h2, #info ul, #info ol, #info p, #info dl, #info details {
|
2021-11-21 11:52:09 +01:00
|
|
|
margin: 0.35em 0;
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
|
|
|
|
2021-03-13 05:28:22 +01:00
|
|
|
#info details > * {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2024-11-05 14:44:09 +01:00
|
|
|
#updates dl, dl.inline {
|
2020-09-19 07:51:52 +02:00
|
|
|
display: grid;
|
2024-11-05 14:44:09 +01:00
|
|
|
grid-template-columns: max-content auto;
|
|
|
|
grid-gap: 1em;
|
2020-09-19 07:51:52 +02:00
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
2024-11-05 14:44:09 +01:00
|
|
|
:is(#updates, .inline) dt {
|
|
|
|
font-size: 100%;
|
2020-09-19 07:51:52 +02:00
|
|
|
font-weight: 700;
|
|
|
|
grid-area: auto / 1;
|
|
|
|
}
|
|
|
|
|
2024-11-05 14:44:09 +01:00
|
|
|
:is(#updates, .inline) dd {
|
2020-09-19 07:51:52 +02:00
|
|
|
grid-area: auto / 2;
|
|
|
|
}
|
|
|
|
|
2020-09-25 23:08:44 +02:00
|
|
|
#updates .q {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-09-19 07:51:52 +02:00
|
|
|
.updated {
|
|
|
|
font-size: 90%;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2020-07-20 22:40:34 +02:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (pointer: coarse) {
|
2020-07-23 19:59:07 +02:00
|
|
|
footer {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
2020-07-20 22:40:34 +02:00
|
|
|
}
|
2021-08-23 16:35:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
#alts {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
text-align: center;
|
2021-09-11 17:18:48 +02:00
|
|
|
display: grid;
|
2024-07-07 22:00:44 +02:00
|
|
|
grid-gap: 0.5em;
|
2022-12-26 22:04:57 +01:00
|
|
|
grid-template-columns: minmax(auto, 10em) auto minmax(auto, 10em);
|
2021-09-11 17:18:48 +02:00
|
|
|
}
|
|
|
|
|
2022-12-26 22:04:57 +01:00
|
|
|
#alts.cat :is(h3, ul) { margin: 0; }
|
2021-09-11 17:18:48 +02:00
|
|
|
|
|
|
|
#alts section {
|
|
|
|
display: contents;
|
|
|
|
}
|
2021-08-23 16:35:36 +02:00
|
|
|
|
|
|
|
#alts h3 {
|
|
|
|
font-weight: 600;
|
|
|
|
display: inline;
|
|
|
|
padding-right: 0.5em;
|
2021-09-11 17:18:48 +02:00
|
|
|
text-align: right;
|
2022-12-26 22:04:57 +01:00
|
|
|
grid-area: auto / 1 / auto / auto;
|
2021-09-11 17:18:48 +02:00
|
|
|
}
|
|
|
|
|
2022-12-26 22:04:57 +01:00
|
|
|
#alts ul {
|
2021-09-11 17:18:48 +02:00
|
|
|
display: inline flex;
|
2022-12-26 22:04:57 +01:00
|
|
|
grid-area: auto / 2 / auto / auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cat ul { justify-content: start; }
|
|
|
|
|
|
|
|
#skipAllDiv {
|
|
|
|
align-self: start;
|
|
|
|
justify-content: end;
|
|
|
|
grid-area: 1 / 3 / auto / auto;
|
2021-08-23 16:35:36 +02:00
|
|
|
}
|
2022-12-30 03:19:33 +01:00
|
|
|
|
2024-07-07 14:09:38 +02:00
|
|
|
#tags ul, #links ul {
|
2022-12-30 03:19:33 +01:00
|
|
|
padding: 0;
|
2024-07-07 14:09:38 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: wrap row;
|
2022-12-30 03:19:33 +01:00
|
|
|
}
|
|
|
|
|
2024-07-07 14:09:38 +02:00
|
|
|
#tags li, #links li {
|
2022-12-30 03:19:33 +01:00
|
|
|
display: inline;
|
|
|
|
margin-right: 0.75em;
|
2024-07-07 14:09:38 +02:00
|
|
|
white-space: nowrap;
|
2022-12-30 03:19:33 +01:00
|
|
|
}
|
2024-07-07 22:12:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
.chost, .toot {
|
|
|
|
--avatar-size: 4em;
|
|
|
|
display: grid;
|
|
|
|
grid-template: 'avatar user' 1lh
|
|
|
|
'avatar post' auto / var(--avatar-size) 1fr;
|
|
|
|
grid-gap: 5px 15px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) .user {
|
|
|
|
grid-area: user;
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) :is(.user a, a.user) {
|
|
|
|
font-weight: 800;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) .username {
|
|
|
|
margin-left: 1em;
|
|
|
|
font-size: 90%;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) .post { grid-area: post; }
|
|
|
|
:is(.chost, .toot) .avatar { grid-area: avatar; }
|
|
|
|
|
|
|
|
:is(.chost, .toot) :is(.avatar img, img.avatar) {
|
|
|
|
height: var(--avatar-size); width: var(--avatar-size);
|
|
|
|
border-radius: 1000em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chost .squircle {
|
|
|
|
mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAwIDBDMjAgMCAwIDIwIDAgMTAwczIwIDEwMCAxMDAgMTAwIDEwMC0yMCAxMDAtMTAwUzE4MCAwIDEwMCAweiIvPjwvc3ZnPg==);
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) h1 {
|
|
|
|
margin: 0 0 0.5em;
|
|
|
|
font-size: 150%;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(.chost, .toot) + :is(.chost, .toot) { margin-top: 1.5em; }
|