2019-09-29 23:06:41 +00:00
|
|
|
|
:root {
|
2019-09-30 18:18:29 +00:00
|
|
|
|
/*
|
|
|
|
|
* according to https://www.color-blindness.com/color-name-hue/
|
|
|
|
|
*
|
|
|
|
|
* amber
|
|
|
|
|
* chartreuse
|
|
|
|
|
* free-speech-green (lime)
|
|
|
|
|
* aqua
|
|
|
|
|
* blue
|
|
|
|
|
* electric-indigo
|
|
|
|
|
* hot-magenta
|
|
|
|
|
*/
|
2019-09-29 23:06:41 +00:00
|
|
|
|
--red: var(--base08);
|
|
|
|
|
--orange: var(--base09);
|
|
|
|
|
--yellow: var(--base0A);
|
|
|
|
|
--green: var(--base0B);
|
|
|
|
|
--cyan: var(--base0C);
|
|
|
|
|
--blue: var(--base0D);
|
|
|
|
|
--violet: var(--base0E);
|
2019-09-30 18:18:29 +00:00
|
|
|
|
--magenta: var(--base0F);
|
|
|
|
|
|
|
|
|
|
/* convenience */
|
2019-09-29 23:06:41 +00:00
|
|
|
|
--bg: var(--base00);
|
|
|
|
|
--bg-status: var(--base01);
|
|
|
|
|
--bg-selection: var(--base02);
|
|
|
|
|
--fg-alt: var(--base03);
|
|
|
|
|
--fg-status: var(--base04);
|
|
|
|
|
--fg: var(--base05);
|
|
|
|
|
--fg-light: var(--base06);
|
|
|
|
|
--bg-light: var(--base07);
|
2019-09-30 18:18:29 +00:00
|
|
|
|
|
2020-04-14 19:17:09 +00:00
|
|
|
|
/* size (2^n) */
|
|
|
|
|
--size-3: 8rem;
|
|
|
|
|
--size-2: 4rem;
|
|
|
|
|
--size-1: 2rem;
|
|
|
|
|
--size-0: 1rem;
|
|
|
|
|
--size--1: 0.5rem;
|
|
|
|
|
--size--2: 0.25rem;
|
|
|
|
|
--size--3: 0.125rem;
|
|
|
|
|
--size--4: 0.0625rem;
|
2019-12-13 22:25:39 +00:00
|
|
|
|
|
2019-09-30 18:18:29 +00:00
|
|
|
|
/* size */
|
2020-04-14 19:17:09 +00:00
|
|
|
|
--common-radius: var(--size--2);
|
|
|
|
|
--measure: 36rem;
|
2019-12-15 18:45:41 +00:00
|
|
|
|
--line: 1.5rem;
|
2020-01-27 23:00:00 +00:00
|
|
|
|
--code-size: 85%;
|
2019-09-29 23:06:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 21:45:34 +00:00
|
|
|
|
* {
|
2019-12-14 21:29:04 +00:00
|
|
|
|
scrollbar-color: var(--fg-status) var(--bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
|
background-color: var(--bg-selection);
|
2019-12-15 00:06:44 +00:00
|
|
|
|
color: var(--fg-light);
|
2019-09-30 21:45:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-25 03:10:13 +00:00
|
|
|
|
html {
|
|
|
|
|
display: flex;
|
2020-01-22 00:22:19 +00:00
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
|
|
|
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
|
|
|
|
"Helvetica Neue", sans-serif;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
justify-content: center;
|
2019-06-30 19:59:32 +00:00
|
|
|
|
font-size: 12pt;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
line-height: 1.5;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
2020-01-27 21:44:30 +00:00
|
|
|
|
overflow-y: scroll;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-07 23:22:00 +00:00
|
|
|
|
main {
|
2019-12-14 21:29:04 +00:00
|
|
|
|
margin: 0;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-bottom: var(--size-0);
|
2019-12-07 23:22:00 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-25 03:10:13 +00:00
|
|
|
|
/* https://www.desmos.com/calculator/3elcf5cwhn */
|
2020-01-22 00:22:19 +00:00
|
|
|
|
h1 {
|
|
|
|
|
font-size: 133%;
|
|
|
|
|
} /* 4 / 3 */
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 115%;
|
|
|
|
|
} /* 8 / 7 */
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 105%;
|
|
|
|
|
} /* 16 / 15 */
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: 103%;
|
|
|
|
|
} /* 32 / 31 */
|
|
|
|
|
h5 {
|
|
|
|
|
font-size: 101%;
|
|
|
|
|
} /* 64 / 63 */
|
|
|
|
|
h6 {
|
|
|
|
|
font-size: 100%;
|
|
|
|
|
} /* 128 / 127 */
|
2019-06-25 03:10:13 +00:00
|
|
|
|
|
2019-09-26 02:07:38 +00:00
|
|
|
|
h1,
|
|
|
|
|
h2,
|
|
|
|
|
h3,
|
|
|
|
|
h4,
|
|
|
|
|
h5,
|
|
|
|
|
h6 {
|
2019-12-15 22:08:38 +00:00
|
|
|
|
color: var(--bg-light);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-26 02:07:38 +00:00
|
|
|
|
ul,
|
|
|
|
|
ol {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
padding-left: var(--size-0);
|
|
|
|
|
margin-left: var(--size--3);
|
2019-09-26 02:05:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
2019-12-16 00:16:15 +00:00
|
|
|
|
color: var(--fg-light);
|
2019-09-26 02:05:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-19 07:27:10 +00:00
|
|
|
|
button,
|
|
|
|
|
.file-button {
|
2019-09-27 03:22:33 +00:00
|
|
|
|
cursor: pointer;
|
2019-12-14 22:50:54 +00:00
|
|
|
|
background: var(--fg);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
color: var(--bg);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--fg);
|
|
|
|
|
padding: var(--size--1) var(--size-0);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
2020-10-19 08:41:26 +00:00
|
|
|
|
font-size: 8pt;
|
2019-09-30 21:45:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-13 08:29:14 +00:00
|
|
|
|
.file-button {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
float: right;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: var(--fg);
|
2020-10-13 08:29:14 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#blob {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
visibility: hidden;
|
|
|
|
|
height: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
2020-10-13 08:29:14 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section header a {
|
|
|
|
|
display: flex;
|
|
|
|
|
color: var(--fg-status);
|
|
|
|
|
text-decoration: none;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-right: var(--size--2);
|
|
|
|
|
margin-left: var(--size--2);
|
2020-11-23 02:31:27 +00:00
|
|
|
|
font-weight: bold;
|
2020-03-24 00:49:03 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-05-13 18:17:35 +00:00
|
|
|
|
/* For use with elements specific for
|
|
|
|
|
* rendering in a text browser and intended
|
|
|
|
|
* to be hidden in a graphical browser. */
|
|
|
|
|
.text-browser {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section > footer > div > a,
|
|
|
|
|
section > footer > div > form > button {
|
2019-12-16 00:16:15 +00:00
|
|
|
|
color: var(--fg-status);
|
2020-11-23 02:31:27 +00:00
|
|
|
|
font-weight: bold;
|
2019-12-15 22:08:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section > footer > div > form > button {
|
2019-12-15 22:08:38 +00:00
|
|
|
|
display: inline-block;
|
|
|
|
|
border: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-12 22:37:36 +00:00
|
|
|
|
select,
|
|
|
|
|
input {
|
2019-09-30 21:45:34 +00:00
|
|
|
|
background: var(--bg);
|
2019-09-30 21:49:55 +00:00
|
|
|
|
color: var(--fg);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--bg-selection);
|
|
|
|
|
padding: var(--size--1);
|
|
|
|
|
margin: var(--size-0) 0;
|
2019-09-30 21:45:34 +00:00
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
appearance: none;
|
2019-12-14 22:50:54 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
2020-02-26 21:38:55 +00:00
|
|
|
|
display: block;
|
2019-09-27 03:22:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-12 03:18:10 +00:00
|
|
|
|
.contentWarning {
|
|
|
|
|
background-color: var(--bg);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: block;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
font-size: var(--size-0);
|
|
|
|
|
padding: var(--size-0);
|
2020-02-12 03:18:10 +00:00
|
|
|
|
width: 100%;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
|
|
|
|
border: var(--size--4) solid var(--bg-selection);
|
2020-02-12 03:18:10 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
color: var(--fg);
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 23:25:22 +00:00
|
|
|
|
textarea {
|
|
|
|
|
background-color: var(--bg);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: block;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
font-size: var(--size-0);
|
|
|
|
|
padding: var(--size-0);
|
2019-12-15 23:25:22 +00:00
|
|
|
|
resize: vertical;
|
|
|
|
|
width: 100%;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-12-15 23:25:22 +00:00
|
|
|
|
height: 12rem;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--bg-selection);
|
2019-12-15 23:25:22 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
color: var(--fg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:focus,
|
|
|
|
|
input:focus,
|
|
|
|
|
select:focus,
|
|
|
|
|
textarea:focus {
|
|
|
|
|
border-color: var(--blue);
|
|
|
|
|
}
|
|
|
|
|
|
2020-03-25 22:39:14 +00:00
|
|
|
|
/* Prevent button styles being applied to heart button */
|
2019-12-15 23:25:22 +00:00
|
|
|
|
button:focus,
|
|
|
|
|
button:hover {
|
|
|
|
|
background-color: var(--fg-light);
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-01 14:45:15 +00:00
|
|
|
|
section > footer > div > form > button:hover,
|
|
|
|
|
section > footer > div > form > button:focus {
|
2019-12-15 23:25:22 +00:00
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-25 17:18:45 +00:00
|
|
|
|
pre {
|
2019-06-25 16:52:34 +00:00
|
|
|
|
overflow-x: auto;
|
2019-09-30 18:18:29 +00:00
|
|
|
|
background-color: var(--bg);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
padding: var(--size--1);
|
2019-09-24 21:51:15 +00:00
|
|
|
|
font-size: 92%;
|
|
|
|
|
border-radius: var(--common-radius);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--bg-status);
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section code {
|
2019-12-14 21:29:04 +00:00
|
|
|
|
max-width: 100%;
|
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
padding: 0.125em 0.25em;
|
|
|
|
|
margin: 0;
|
2020-01-27 23:00:00 +00:00
|
|
|
|
font-size: var(--code-size);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
background-color: var(--bg);
|
|
|
|
|
border-radius: var(--common-radius);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--bg-status);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section pre code {
|
2019-12-14 21:29:04 +00:00
|
|
|
|
color: inherit;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 100%;
|
|
|
|
|
background-color: initial;
|
|
|
|
|
border: initial;
|
|
|
|
|
border-radius: initial;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section blockquote {
|
2019-12-14 21:29:04 +00:00
|
|
|
|
margin-left: 0;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border-left: var(--size--1) solid var(--bg-status);
|
|
|
|
|
padding-left: var(--size-0);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section img,
|
|
|
|
|
section video {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
border-radius: var(--common-radius);
|
2019-12-16 00:16:15 +00:00
|
|
|
|
box-sizing: border-box;
|
2019-12-15 19:01:02 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section > h1 {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-14 21:29:04 +00:00
|
|
|
|
.profile > img,
|
|
|
|
|
.profile > h1 {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section > header.profile {
|
|
|
|
|
height: auto;
|
2019-12-16 19:25:08 +00:00
|
|
|
|
justify-content: left;
|
2019-12-15 19:01:02 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-14 21:29:04 +00:00
|
|
|
|
.profile > img {
|
|
|
|
|
width: 4rem;
|
|
|
|
|
height: 4rem;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-right: var(--size-0);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 00:06:44 +00:00
|
|
|
|
.private {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border-left: var(--size--1) solid var(--violet);
|
2019-12-15 22:08:38 +00:00
|
|
|
|
border-color: var(--violet);
|
2019-06-29 19:06:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section.thread-target {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--blue);
|
|
|
|
|
box-shadow: 0 0 var(--size--2) var(--blue);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section.thread-target.private {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--violet);
|
|
|
|
|
border-left: var(--size--1) solid var(--violet);
|
2019-12-15 22:08:38 +00:00
|
|
|
|
border-color: var(--violet);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
box-shadow: 0 0 var(--size--2) var(--violet);
|
2019-12-15 16:52:54 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section audio {
|
2019-09-30 15:43:24 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-25 03:10:13 +00:00
|
|
|
|
@media screen {
|
|
|
|
|
html {
|
|
|
|
|
min-height: 100%;
|
2019-09-30 18:18:29 +00:00
|
|
|
|
color: var(--fg);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
background-color: var(--bg-status);
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
2019-09-26 02:07:38 +00:00
|
|
|
|
|
2019-06-25 03:10:13 +00:00
|
|
|
|
body {
|
2019-06-29 21:19:25 +00:00
|
|
|
|
width: 100%;
|
2019-12-13 22:25:39 +00:00
|
|
|
|
max-width: var(--measure);
|
2019-12-14 21:29:04 +00:00
|
|
|
|
margin: 0;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-14 21:29:04 +00:00
|
|
|
|
nav {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-12-14 21:29:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-26 02:05:41 +00:00
|
|
|
|
nav > ul > li > a {
|
2019-12-16 20:37:11 +00:00
|
|
|
|
color: var(--fg);
|
2019-09-26 02:05:41 +00:00
|
|
|
|
text-decoration: none;
|
2020-11-23 02:31:27 +00:00
|
|
|
|
font-weight: bold;
|
2019-09-26 02:05:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-20 11:51:02 +00:00
|
|
|
|
.author-action > a {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section header a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-12 07:55:42 +00:00
|
|
|
|
nav > ul > li > a:hover {
|
2019-12-07 22:37:03 +00:00
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-12 07:55:42 +00:00
|
|
|
|
nav > ul > li > a.current {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
font-weight: bold;
|
2020-10-12 07:55:42 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-14 21:29:04 +00:00
|
|
|
|
section {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
padding: var(--size-0);
|
2019-06-30 19:59:32 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-06-28 20:55:05 +00:00
|
|
|
|
word-wrap: break-word;
|
2019-12-13 22:25:39 +00:00
|
|
|
|
background: var(--bg);
|
2020-01-27 20:57:44 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
2019-06-28 20:55:05 +00:00
|
|
|
|
|
2020-10-12 12:30:24 +00:00
|
|
|
|
.indent section,
|
2020-10-12 12:07:36 +00:00
|
|
|
|
.thread-container section {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
margin: unset;
|
|
|
|
|
border-radius: unset;
|
|
|
|
|
border-bottom: var(--fg-alt) solid 1px;
|
2020-10-12 12:07:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-15 08:55:46 +00:00
|
|
|
|
.indent details[open] {
|
|
|
|
|
border-bottom: var(--fg-alt) solid 1px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-12 12:30:24 +00:00
|
|
|
|
.indent section:last-of-type,
|
2020-10-12 12:07:36 +00:00
|
|
|
|
.thread-container section:last-of-type {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
border-bottom: unset;
|
2020-10-12 12:07:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-16 06:48:42 +00:00
|
|
|
|
.mentions-container {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 4rem auto;
|
|
|
|
|
grid-column-gap: 1rem;
|
|
|
|
|
margin-bottom: var(--size-0);
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section > header {
|
2020-03-24 00:49:03 +00:00
|
|
|
|
background: var(--bg);
|
|
|
|
|
color: var(--fg-status);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-bottom: calc(-1 * var(--size--1));
|
|
|
|
|
margin-top: calc(-1 * var(--size--1));
|
|
|
|
|
padding-bottom: var(--size--1);
|
|
|
|
|
padding-top: var(--size--1);
|
2020-03-24 21:15:26 +00:00
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
2020-03-31 15:05:38 +00:00
|
|
|
|
z-index: 1;
|
2020-03-24 00:49:03 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section > header > div {
|
2019-06-25 03:10:13 +00:00
|
|
|
|
display: flex;
|
2019-12-16 02:22:51 +00:00
|
|
|
|
justify-content: space-between;
|
2020-05-12 12:27:40 +00:00
|
|
|
|
flex-wrap: wrap;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
2019-07-03 03:52:49 +00:00
|
|
|
|
|
2019-12-16 02:22:51 +00:00
|
|
|
|
section header a > .avatar {
|
2019-12-15 18:45:41 +00:00
|
|
|
|
width: var(--line);
|
|
|
|
|
height: var(--line);
|
2019-06-30 19:59:32 +00:00
|
|
|
|
border-radius: var(--common-radius);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-right: var(--size--2);
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
2019-09-26 02:05:41 +00:00
|
|
|
|
|
2020-03-27 14:11:11 +00:00
|
|
|
|
section header span {
|
2020-03-24 00:49:03 +00:00
|
|
|
|
display: inline-flex;
|
2019-06-25 03:10:13 +00:00
|
|
|
|
}
|
2019-06-29 17:55:43 +00:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* HACK: centered-footer
|
|
|
|
|
*
|
|
|
|
|
* When someone likes a message we want to submit the form and then redirect
|
|
|
|
|
* them back to the original page. Unfortunately when you link to anchor tags
|
|
|
|
|
* that scrolls the browser so that they're at the *top* of the page, not the
|
|
|
|
|
* center of the page. In our view we have an empty div with an appropriate
|
|
|
|
|
* anchor tag, so here we use CSS to center it on the screen.
|
|
|
|
|
*
|
|
|
|
|
* The code below creates padding-top that takes up 50% of the height of the
|
|
|
|
|
* viewport and then gets rid of it with negative margin. This has no effect
|
|
|
|
|
* on the display of the item, but means that when we link to the anchor tag
|
|
|
|
|
* it centers this empty element vertically on the screen.
|
|
|
|
|
*
|
|
|
|
|
* We also use `pointer-events: none` to ensure that this invisible div doesn't
|
|
|
|
|
* capture cursor events (clicks, drags, etc) on surrounding elements, because
|
|
|
|
|
* otherwise we could have a problem where someone clicks above the invisible
|
2019-12-15 18:45:41 +00:00
|
|
|
|
* div but the browser picogs they're clicking the gigantic amount of padding.
|
2019-06-29 17:55:43 +00:00
|
|
|
|
*/
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section > .centered-footer {
|
2019-06-29 17:55:43 +00:00
|
|
|
|
padding-top: 50vh;
|
|
|
|
|
margin-top: -50vh;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 19:01:02 +00:00
|
|
|
|
section > footer {
|
2019-12-16 20:07:52 +00:00
|
|
|
|
color: var(--fg-status);
|
2019-08-07 02:44:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section > footer br {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section > footer > div {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section > footer > div > * {
|
2019-06-25 04:03:34 +00:00
|
|
|
|
text-decoration: none;
|
2019-06-26 00:14:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-12 12:19:28 +00:00
|
|
|
|
section > footer > div > form > button:first-of-type {
|
2020-10-19 07:27:10 +00:00
|
|
|
|
font-size: 100%;
|
2020-10-12 12:19:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-24 00:49:03 +00:00
|
|
|
|
section > footer > div > form > button.liked {
|
2019-09-26 02:07:38 +00:00
|
|
|
|
color: var(--red);
|
2019-06-26 00:14:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-14 21:29:04 +00:00
|
|
|
|
label {
|
|
|
|
|
display: block;
|
2019-12-12 23:38:20 +00:00
|
|
|
|
margin: 0;
|
2019-06-26 00:14:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-19 20:31:47 +00:00
|
|
|
|
nav > ul {
|
2019-06-25 17:35:43 +00:00
|
|
|
|
display: flex;
|
2020-02-01 00:34:37 +00:00
|
|
|
|
flex-wrap: wrap;
|
2020-02-05 01:52:50 +00:00
|
|
|
|
justify-content: space-between;
|
2019-09-30 19:39:24 +00:00
|
|
|
|
margin: 0;
|
2019-09-19 20:31:47 +00:00
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nav > ul > li {
|
|
|
|
|
list-style: none;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-right: var(--size--1);
|
2019-06-25 17:35:43 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-25 04:03:34 +00:00
|
|
|
|
.profile {
|
|
|
|
|
display: flex;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-bottom: var(--size-0);
|
2019-06-25 04:03:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-29 02:55:36 +00:00
|
|
|
|
progress {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2019-08-07 14:47:21 +00:00
|
|
|
|
|
2019-09-29 17:52:51 +00:00
|
|
|
|
progress::-moz-progress-bar,
|
|
|
|
|
progress::-webkit-progress-value,
|
|
|
|
|
progress {
|
|
|
|
|
background: var(--blue);
|
|
|
|
|
border-color: var(--blue);
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-13 20:53:11 +00:00
|
|
|
|
summary {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
padding: var(--size--1);
|
2020-04-15 14:27:23 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-08-13 21:31:51 +00:00
|
|
|
|
cursor: pointer;
|
2020-03-25 22:39:14 +00:00
|
|
|
|
background: var(--bg);
|
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
list-style-type: "+ ";
|
2020-04-15 14:14:24 +00:00
|
|
|
|
border: var(--size--4) dashed var(--fg-status);
|
2020-03-25 22:39:14 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
details[open] > summary {
|
|
|
|
|
list-style-type: "− ";
|
2019-08-13 20:53:11 +00:00
|
|
|
|
}
|
2019-08-14 18:44:25 +00:00
|
|
|
|
|
2020-04-15 14:27:23 +00:00
|
|
|
|
.indent > details > summary {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-14 18:44:25 +00:00
|
|
|
|
.md-mention {
|
|
|
|
|
-moz-user-select: all;
|
|
|
|
|
-ms-user-select: all;
|
|
|
|
|
-webkit-user-select: all;
|
|
|
|
|
user-select: all;
|
2019-09-24 22:04:04 +00:00
|
|
|
|
background: none;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
overflow: hidden;
|
2019-08-14 18:44:25 +00:00
|
|
|
|
}
|
2019-10-08 01:53:21 +00:00
|
|
|
|
|
|
|
|
|
table {
|
|
|
|
|
width: 100%;
|
2019-12-15 00:06:44 +00:00
|
|
|
|
table-layout: fixed;
|
2019-10-08 01:53:21 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
td,
|
|
|
|
|
th {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
padding: var(--size--1);
|
|
|
|
|
outline: var(--size--4) solid var(--bg-status);
|
2019-10-08 01:53:21 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
th {
|
|
|
|
|
text-align: left;
|
|
|
|
|
background-color: var(--bg-status);
|
|
|
|
|
}
|
2019-12-07 23:22:00 +00:00
|
|
|
|
|
|
|
|
|
input[type="search"] {
|
|
|
|
|
width: 100%;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2019-12-15 00:06:44 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-05-03 20:16:44 +00:00
|
|
|
|
.image-search-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
grid-gap: var(--size-0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-search-grid .image-result {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: var(--size--1) 0;
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-search-grid .image-result .result-text {
|
|
|
|
|
hyphens: auto;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-15 00:06:44 +00:00
|
|
|
|
hr {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border: var(--size--4) solid var(--fg-alt);
|
2019-12-07 23:22:00 +00:00
|
|
|
|
}
|
2020-01-27 00:55:48 +00:00
|
|
|
|
|
|
|
|
|
.form-button-group {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin: var(--size-0) 0;
|
2020-01-27 00:55:48 +00:00
|
|
|
|
}
|
2020-01-28 18:25:42 +00:00
|
|
|
|
|
2020-01-27 20:36:40 +00:00
|
|
|
|
/* sidebar only appears on big screens */
|
|
|
|
|
@media (min-width: calc(45rem)) {
|
|
|
|
|
body > nav > ul {
|
|
|
|
|
justify-content: right;
|
|
|
|
|
flex-direction: column;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-right: var(--size-1);
|
2020-01-27 20:36:40 +00:00
|
|
|
|
position: sticky;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
top: var(--size-0);
|
2020-01-27 20:36:40 +00:00
|
|
|
|
}
|
|
|
|
|
body > nav > ul > li {
|
2020-04-14 19:17:09 +00:00
|
|
|
|
margin-bottom: var(--size-0);
|
2020-01-27 20:36:40 +00:00
|
|
|
|
}
|
|
|
|
|
main {
|
2020-02-17 20:08:03 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: var(--measure);
|
2020-01-27 20:36:40 +00:00
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2020-01-27 20:57:44 +00:00
|
|
|
|
max-width: none;
|
2020-01-27 20:36:40 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-02-05 22:33:44 +00:00
|
|
|
|
|
|
|
|
|
/* Use the browser's default font rendering instead of using our fancy
|
|
|
|
|
* font-family above. This resolves a problem where some emoji were being
|
|
|
|
|
* rendered in the system-ui font, which is rarely what we want.
|
|
|
|
|
*/
|
|
|
|
|
.emoji {
|
|
|
|
|
font-family: initial;
|
|
|
|
|
}
|
2020-02-17 20:08:03 +00:00
|
|
|
|
|
|
|
|
|
/* This indent is used on the summaries page to create an indent of 1. It might
|
|
|
|
|
* be wise to nest these recursively on the thread view, which would make it so
|
|
|
|
|
* that we don't need any inline CSS anymore.
|
|
|
|
|
*/
|
2020-03-25 22:39:14 +00:00
|
|
|
|
.indent {
|
|
|
|
|
padding-left: 1rem;
|
2020-04-14 19:17:09 +00:00
|
|
|
|
border-left: var(--size--2) solid var(--bg-selection);
|
2020-02-17 20:08:03 +00:00
|
|
|
|
}
|
2020-03-22 19:54:48 +00:00
|
|
|
|
|
2020-10-20 11:51:02 +00:00
|
|
|
|
.mentions-image {
|
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
|
}
|
|
|
|
|
.mentions-image > img {
|
|
|
|
|
border: var(--fg) solid 1px;
|
|
|
|
|
}
|
|
|
|
|
.mentions-container .emoji {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mentions-name {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
text-decoration: unset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mentions-name:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.emo-rel {
|
|
|
|
|
display: inline-grid;
|
|
|
|
|
align-items: center;
|
|
|
|
|
grid-template-columns: 2rem auto;
|
|
|
|
|
grid-column-gap: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mentions-listing {
|
|
|
|
|
display: inline;
|
|
|
|
|
background-color: var(--bg);
|
|
|
|
|
padding: var(--size--1);
|
|
|
|
|
border-radius: var(--common-radius);
|
|
|
|
|
border: var(--size--4) solid var(--bg-status);
|
|
|
|
|
user-select: all;
|
|
|
|
|
font-size: var(--size--1);
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
width: 24rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.post-preview {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
background: var(--bg-selection);
|
|
|
|
|
border: var(--fg-alt) solid 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section.post-preview > section > footer {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-02 22:35:38 +00:00
|
|
|
|
section.post.blocked {
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-20 11:51:02 +00:00
|
|
|
|
section > footer > div > a:hover,
|
|
|
|
|
section > footer > div > form > button:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.author-action {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section header .author > a:first-child {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
color: var(--fg-light);
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
2020-03-25 22:39:14 +00:00
|
|
|
|
.theme-preview {
|
|
|
|
|
width: calc(100% / 15);
|
2020-04-14 19:17:09 +00:00
|
|
|
|
height: var(--size-0);
|
|
|
|
|
margin-top: var(--size-0);
|
2020-03-25 22:39:14 +00:00
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.theme-preview-00 {
|
|
|
|
|
background-color: var(--base00);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-01 {
|
|
|
|
|
background-color: var(--base01);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-02 {
|
|
|
|
|
background-color: var(--base02);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-03 {
|
|
|
|
|
background-color: var(--base03);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-04 {
|
|
|
|
|
background-color: var(--base04);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-05 {
|
|
|
|
|
background-color: var(--base05);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-06 {
|
|
|
|
|
background-color: var(--base06);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-07 {
|
|
|
|
|
background-color: var(--base07);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-08 {
|
|
|
|
|
background-color: var(--base08);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-09 {
|
|
|
|
|
background-color: var(--base09);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0A {
|
|
|
|
|
background-color: var(--base0A);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0B {
|
|
|
|
|
background-color: var(--base0B);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0C {
|
|
|
|
|
background-color: var(--base0C);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0D {
|
|
|
|
|
background-color: var(--base0D);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0E {
|
|
|
|
|
background-color: var(--base0E);
|
|
|
|
|
}
|
|
|
|
|
.theme-preview-0F {
|
|
|
|
|
background-color: var(--base0F);
|
2020-03-22 19:54:48 +00:00
|
|
|
|
}
|