2021-01-18 02:11:36 +00:00
|
|
|
/* Define themes */
|
2020-10-25 20:25:59 +00:00
|
|
|
|
2021-01-18 02:11:36 +00:00
|
|
|
/* Constants */
|
2020-12-20 03:54:46 +00:00
|
|
|
:root {
|
2021-01-17 23:42:55 +00:00
|
|
|
--nsfw: #ff5c5d;
|
2021-01-16 23:02:24 +00:00
|
|
|
--admin: #ea0027;
|
2020-12-20 03:54:46 +00:00
|
|
|
}
|
|
|
|
|
2021-05-19 23:09:08 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Inter';
|
|
|
|
src: url('/Inter.var.woff2') format('woff2-variations');
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2021-01-18 02:11:36 +00:00
|
|
|
/* Automatic theme selection */
|
|
|
|
:root, .dark{
|
|
|
|
/* Default & fallback theme (dark) */
|
|
|
|
--accent: aqua;
|
|
|
|
--green: #5cff85;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #222;
|
|
|
|
--background: #0f0f0f;
|
|
|
|
--outside: #1f1f1f;
|
|
|
|
--post: #161616;
|
2021-01-19 05:32:25 +00:00
|
|
|
--panel-border: 1px solid #333;
|
2021-01-18 02:11:36 +00:00
|
|
|
--highlighted: #333;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #aaa;
|
2021-01-18 02:11:36 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Browser-defined light theme */
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--accent: #009a9a;
|
|
|
|
--green: #00a229;
|
|
|
|
--text: black;
|
|
|
|
--foreground: #f5f5f5;
|
|
|
|
--background: #ddd;
|
|
|
|
--outside: #ececec;
|
|
|
|
--post: #eee;
|
2021-01-19 05:32:25 +00:00
|
|
|
--panel-border: 1px solid #ccc;
|
2021-01-18 02:11:36 +00:00
|
|
|
--highlighted: white;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #555;
|
2021-01-18 02:11:36 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Light theme setting */
|
|
|
|
.light {
|
|
|
|
--accent: #009a9a;
|
|
|
|
--green: #00a229;
|
|
|
|
--text: black;
|
|
|
|
--foreground: #f5f5f5;
|
|
|
|
--background: #ddd;
|
|
|
|
--outside: #ececec;
|
|
|
|
--post: #eee;
|
2021-01-19 05:32:25 +00:00
|
|
|
--panel-border: 1px solid #ccc;
|
2021-01-18 02:11:36 +00:00
|
|
|
--highlighted: white;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #555;
|
2021-01-18 02:11:36 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
2021-02-06 20:04:29 +00:00
|
|
|
/* Black theme setting */
|
|
|
|
.black {
|
|
|
|
--accent: #009a9a;
|
|
|
|
--green: #00a229;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #0f0f0f;
|
|
|
|
--background: black;
|
|
|
|
--outside: black;
|
|
|
|
--post: black;
|
|
|
|
--panel-border: 2px solid #0f0f0f;
|
|
|
|
--highlighted: #0f0f0f;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #aaa;
|
2021-02-06 20:04:29 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
2021-04-02 00:56:28 +00:00
|
|
|
/* Dracula theme setting */
|
|
|
|
.dracula {
|
|
|
|
--accent: #bd93f9;
|
|
|
|
--green: #50fa7b;
|
|
|
|
--text: #f8f8f2;
|
|
|
|
--foreground: #3d4051;
|
|
|
|
--background: #282a36;
|
2021-07-19 17:07:00 +00:00
|
|
|
--outside: #393c4d;
|
|
|
|
--post: #333544;
|
2021-04-02 00:56:28 +00:00
|
|
|
--panel-border: 2px solid #44475a;
|
|
|
|
--highlighted: #4e5267;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #969692;
|
2021-04-02 00:56:28 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
2021-02-06 20:04:29 +00:00
|
|
|
|
2021-04-02 00:56:28 +00:00
|
|
|
/* Nord theme setting */
|
|
|
|
.nord {
|
|
|
|
--accent: #8fbcbb;
|
|
|
|
--green: #a3be8c;
|
|
|
|
--text: #eceff4;
|
|
|
|
--foreground: #3b4252;
|
|
|
|
--background: #2e3440;
|
|
|
|
--outside: #434c5e;
|
|
|
|
--post: #434c5e;
|
|
|
|
--panel-border: 2px solid #4c566a;
|
|
|
|
--highlighted: #3b4252;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #a3a5aa;
|
2021-04-02 00:56:28 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
2021-04-30 16:26:49 +00:00
|
|
|
|
|
|
|
/* Laserwave theme setting */
|
|
|
|
.laserwave {
|
|
|
|
--accent: #eb64b9;
|
|
|
|
--green: #74dfc4;
|
|
|
|
--text: #e0dfe1;
|
|
|
|
--foreground: #302a36;
|
|
|
|
--background: #27212e;
|
|
|
|
--outside: #3e3647;
|
|
|
|
--post: #3e3647;
|
|
|
|
--panel-border: 2px solid #2f2738;
|
|
|
|
--highlighted: #302a36;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #91889b;
|
2021-04-30 16:26:49 +00:00
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
2021-05-03 16:48:21 +00:00
|
|
|
/* Violet theme setting */
|
|
|
|
.violet {
|
|
|
|
--accent: #7c71dd;
|
|
|
|
--green: #5cff85;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #1F2347;
|
|
|
|
--background: #12152b;
|
|
|
|
--outside: #181c3a;
|
|
|
|
--post: #181c3a;
|
|
|
|
--panel-border: 1px solid #1F2347;
|
|
|
|
--highlighted: #1F2347;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #aaa;
|
2021-05-03 16:48:21 +00:00
|
|
|
--shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gold theme setting */
|
|
|
|
.gold {
|
|
|
|
--accent: #f2aa4c;
|
|
|
|
--green: #5cff85;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #234;
|
|
|
|
--background: #101820;
|
|
|
|
--outside: #1b2936;
|
|
|
|
--post: #1b2936;
|
|
|
|
--panel-border: 0px solid black;
|
|
|
|
--highlighted: #234;
|
2021-07-18 21:53:08 +00:00
|
|
|
--visited: #aaa;
|
2021-05-03 16:48:21 +00:00
|
|
|
--shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
2021-11-24 19:31:19 +00:00
|
|
|
/* Rosebox theme setting */
|
|
|
|
.rosebox {
|
|
|
|
--accent: #a57562;
|
|
|
|
--green: #a3be8c;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #222;
|
|
|
|
--background: #262626;
|
|
|
|
--outside: #222;
|
|
|
|
--post: #222;
|
|
|
|
--panel-border: 1px solid #222;
|
|
|
|
--highlighted: #262626;
|
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
2021-01-18 02:11:36 +00:00
|
|
|
/* General */
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
::selection {
|
2021-01-11 02:15:34 +00:00
|
|
|
color: var(--foreground);
|
2020-12-31 23:54:13 +00:00
|
|
|
background: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-02-13 21:38:12 +00:00
|
|
|
:focus-visible {
|
2021-02-01 04:56:13 +00:00
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-01-09 05:57:36 +00:00
|
|
|
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote,
|
|
|
|
pre, form, fieldset, table, th, td, select, input {
|
2020-12-29 02:42:46 +00:00
|
|
|
margin: 0;
|
2021-01-06 18:51:13 +00:00
|
|
|
color: var(--text);
|
2021-05-27 03:30:08 +00:00
|
|
|
font-family: "Inter", sans-serif;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
body {
|
|
|
|
background: var(--background);
|
2021-01-04 03:44:44 +00:00
|
|
|
font-size: 15px;
|
2021-01-30 05:00:55 +00:00
|
|
|
padding-top: 60px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 01:45:26 +00:00
|
|
|
nav {
|
2021-01-17 21:24:44 +00:00
|
|
|
display: grid;
|
2021-01-30 22:52:18 +00:00
|
|
|
grid-template-areas: "logo searchbox links";
|
2021-01-17 21:24:44 +00:00
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
justify-content: space-between;
|
2020-12-31 23:54:13 +00:00
|
|
|
align-items: center;
|
2021-01-17 21:24:44 +00:00
|
|
|
|
2020-12-22 05:39:55 +00:00
|
|
|
color: var(--accent);
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--outside);
|
2021-01-17 21:24:44 +00:00
|
|
|
box-shadow: var(--shadow);
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
font-size: 20px;
|
2021-01-17 21:24:44 +00:00
|
|
|
|
2021-01-30 10:21:54 +00:00
|
|
|
z-index: 2;
|
2021-01-17 21:24:44 +00:00
|
|
|
top: 0;
|
|
|
|
padding: 5px 15px;
|
2021-01-01 00:45:10 +00:00
|
|
|
min-height: 40px;
|
2021-01-07 18:46:00 +00:00
|
|
|
width: calc(100% - 30px);
|
2021-01-17 21:24:44 +00:00
|
|
|
position: fixed;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-06 18:51:13 +00:00
|
|
|
nav * { color: var(--text); }
|
2021-01-31 21:22:11 +00:00
|
|
|
nav #reddit, #code > span { color: var(--accent); }
|
|
|
|
nav #code > svg { stroke: var(--accent); }
|
2021-01-31 18:41:32 +00:00
|
|
|
|
|
|
|
nav #logo {
|
|
|
|
grid-area: logo;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2021-01-30 22:52:18 +00:00
|
|
|
|
2021-01-31 04:18:57 +00:00
|
|
|
nav #links {
|
|
|
|
grid-area: links;
|
|
|
|
margin-left: 10px;
|
2021-01-31 21:22:11 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #links svg {
|
|
|
|
display: none;
|
2021-01-31 04:18:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav #version {
|
|
|
|
opacity: 50%;
|
|
|
|
vertical-align: -2px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #libreddit {
|
|
|
|
vertical-align: -2px;
|
|
|
|
}
|
2020-11-23 00:29:05 +00:00
|
|
|
|
2021-01-06 02:16:32 +00:00
|
|
|
#settings_link {
|
|
|
|
opacity: 0.8;
|
2021-11-15 02:39:33 +00:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#reddit_link {
|
|
|
|
opacity: 0.8;
|
2021-01-06 02:16:32 +00:00
|
|
|
}
|
|
|
|
|
2021-01-31 21:22:11 +00:00
|
|
|
#code {
|
2021-11-15 02:39:33 +00:00
|
|
|
margin-left: 10px;
|
2021-01-31 21:22:11 +00:00
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
main {
|
2020-12-24 06:16:04 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-01 04:21:56 +00:00
|
|
|
max-width: 1000px;
|
2020-12-24 06:16:04 +00:00
|
|
|
padding: 10px 20px;
|
2021-01-30 05:00:55 +00:00
|
|
|
margin: 0 auto;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.wide main {
|
|
|
|
max-width: calc(100% - 40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wide #column_one {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
#column_one {
|
|
|
|
max-width: 750px;
|
|
|
|
border-radius: 5px;
|
2021-11-25 02:08:27 +00:00
|
|
|
overflow: inherit;
|
2021-01-02 06:21:43 +00:00
|
|
|
}
|
2021-01-01 04:21:56 +00:00
|
|
|
|
2020-11-19 21:49:32 +00:00
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-09 04:55:40 +00:00
|
|
|
margin-top: 20px;
|
2020-11-19 21:49:32 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
footer > a {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
hr {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
a:hover {
|
2020-10-25 20:25:59 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2021-01-17 23:51:03 +00:00
|
|
|
svg {
|
|
|
|
stroke: var(--text);
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
img[src=""] {
|
|
|
|
display: none;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-24 06:16:04 +00:00
|
|
|
aside {
|
|
|
|
flex-grow: 1;
|
2021-01-04 03:44:44 +00:00
|
|
|
margin: 20px 20px 0 10px;
|
2020-12-29 02:42:46 +00:00
|
|
|
max-width: 350px;
|
2020-12-24 06:16:04 +00:00
|
|
|
}
|
|
|
|
|
2021-01-06 02:04:49 +00:00
|
|
|
.post, .panel {
|
2021-01-19 05:32:25 +00:00
|
|
|
border: var(--panel-border);
|
2021-01-04 03:44:44 +00:00
|
|
|
}
|
|
|
|
|
2021-01-05 03:26:41 +00:00
|
|
|
.dot {
|
|
|
|
font-size: 12px;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2020-12-24 06:16:04 +00:00
|
|
|
/* User & Subreddit */
|
2020-10-25 20:25:59 +00:00
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
#user, #subreddit, #sidebar {
|
|
|
|
margin: 40px auto 0 auto;
|
2020-10-25 20:25:59 +00:00
|
|
|
display: flex;
|
2020-12-24 06:16:04 +00:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2020-12-29 02:42:46 +00:00
|
|
|
height: max-content;
|
|
|
|
background: var(--outside);
|
|
|
|
border-radius: 5px;
|
2021-01-02 06:21:43 +00:00
|
|
|
overflow: hidden;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-01 04:21:56 +00:00
|
|
|
#user *, #subreddit * { text-align: center; }
|
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
#user, #sub_meta, #sidebar_contents { padding: 20px; }
|
2021-01-02 06:21:43 +00:00
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
#sidebar, #sidebar_contents { margin-top: 10px; }
|
|
|
|
#sidebar_label { padding: 10px; }
|
2020-12-29 02:42:46 +00:00
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
#user_icon, #sub_icon {
|
2020-10-25 20:25:59 +00:00
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
2020-12-24 06:16:04 +00:00
|
|
|
border: 2px solid var(--accent);
|
2020-10-25 20:25:59 +00:00
|
|
|
border-radius: 100%;
|
2020-12-24 06:16:04 +00:00
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
#user_title, #sub_title {
|
2021-01-01 04:21:56 +00:00
|
|
|
margin: 0 20px;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2020-11-23 00:29:05 +00:00
|
|
|
}
|
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
#user_description, #sub_description {
|
2021-02-22 20:56:23 +00:00
|
|
|
margin: 0 15px;
|
|
|
|
text-align: left;
|
2021-11-28 02:49:41 +00:00
|
|
|
overflow-wrap: anywhere;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-02-22 20:56:23 +00:00
|
|
|
#user_name, #user_description:not(:empty), #user_icon,
|
2021-01-04 03:44:44 +00:00
|
|
|
#sub_name, #sub_icon, #sub_description:not(:empty) {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2021-01-01 04:21:56 +00:00
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
#user_details, #sub_details, #sub_actions, #user_actions {
|
2020-12-24 06:16:04 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
grid-column-gap: 20px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
#user_details > label, #sub_details > label {
|
2020-12-24 06:16:04 +00:00
|
|
|
color: var(--accent);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-30 08:33:38 +00:00
|
|
|
/* Subscriptions */
|
2021-01-30 05:00:55 +00:00
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
#sub_subscription, #user_subscription, #user_filter, #sub_filter {
|
2021-01-30 07:00:00 +00:00
|
|
|
margin-top: 20px;
|
2021-01-30 05:00:55 +00:00
|
|
|
}
|
|
|
|
|
2021-02-13 04:47:54 +00:00
|
|
|
#multisub {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
.subscribe, .unsubscribe, .filter, .unfilter {
|
2021-01-30 05:00:55 +00:00
|
|
|
padding: 10px 20px;
|
|
|
|
border-radius: 5px;
|
2021-01-31 04:18:57 +00:00
|
|
|
cursor: pointer;
|
2021-01-30 08:33:38 +00:00
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
.subscribe, .filter {
|
2021-01-30 05:00:55 +00:00
|
|
|
color: var(--foreground);
|
2021-01-30 08:33:38 +00:00
|
|
|
background-color: var(--accent);
|
2021-01-30 05:00:55 +00:00
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
.unsubscribe, .unfilter {
|
2021-01-30 08:33:38 +00:00
|
|
|
color: var(--text);
|
|
|
|
background-color: var(--highlighted);
|
|
|
|
}
|
2021-01-30 05:00:55 +00:00
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
/* Feeds */
|
2021-01-30 08:33:38 +00:00
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feeds {
|
2021-01-30 10:21:54 +00:00
|
|
|
position: relative;
|
|
|
|
border-radius: 5px;
|
2021-01-30 22:52:18 +00:00
|
|
|
border: var(--panel-border);
|
2021-01-30 10:21:54 +00:00
|
|
|
background-color: var(--outside);
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2021-01-30 22:52:18 +00:00
|
|
|
font-size: 15px;
|
2021-01-31 02:16:42 +00:00
|
|
|
display: inline-block;
|
2021-01-30 10:21:54 +00:00
|
|
|
}
|
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feeds > summary {
|
2021-01-31 04:18:57 +00:00
|
|
|
padding: 8px 15px;
|
2021-01-30 10:21:54 +00:00
|
|
|
}
|
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feed_list {
|
2021-01-30 10:21:54 +00:00
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
min-width: 100%;
|
2021-02-11 17:18:32 +00:00
|
|
|
max-height: 500px;
|
2021-01-30 05:00:55 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
background: var(--outside);
|
2021-01-30 10:21:54 +00:00
|
|
|
flex-direction: column;
|
2021-01-30 05:00:55 +00:00
|
|
|
overflow: auto;
|
2021-01-30 10:21:54 +00:00
|
|
|
z-index: 1;
|
2021-01-30 05:00:55 +00:00
|
|
|
}
|
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feed_list > p {
|
|
|
|
font-size: 13px;
|
|
|
|
opacity: 0.5;
|
|
|
|
padding: 5px 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#feed_list > a {
|
2021-01-30 05:00:55 +00:00
|
|
|
padding: 10px 20px;
|
2021-01-30 10:21:54 +00:00
|
|
|
transition: 0.2s background;
|
2021-01-30 05:00:55 +00:00
|
|
|
}
|
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feed_list > .selected {
|
2021-01-30 05:00:55 +00:00
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2021-02-02 01:50:00 +00:00
|
|
|
#feed_list > a:not(.selected):hover {
|
2021-01-30 10:21:54 +00:00
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2021-01-02 06:21:43 +00:00
|
|
|
/* Wiki Pages */
|
|
|
|
|
|
|
|
#wiki {
|
|
|
|
background: var(--foreground);
|
|
|
|
padding: 35px;
|
2021-11-30 06:29:41 +00:00
|
|
|
overflow-wrap: anywhere;
|
2021-01-02 06:21:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#top {
|
|
|
|
background: var(--highlighted);
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#top > * {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
2021-01-04 03:44:44 +00:00
|
|
|
height: 35px;
|
|
|
|
line-height: 35px;
|
2021-01-02 06:21:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#top > div {
|
2021-01-06 18:51:13 +00:00
|
|
|
border-bottom: 2px solid var(--text);
|
2021-01-02 06:21:43 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
/* Sorting and Search */
|
2020-10-25 20:25:59 +00:00
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
select, #search, #sort_options, #listing_options, #inside, #searchbox > *, #sort_submit {
|
2021-12-27 21:43:44 +00:00
|
|
|
height: 38px;
|
2021-01-18 00:20:17 +00:00
|
|
|
}
|
|
|
|
|
2021-01-12 15:47:39 +00:00
|
|
|
.search_label {
|
2021-01-13 03:52:02 +00:00
|
|
|
max-width: 300px;
|
2021-01-12 15:47:39 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
select {
|
2020-12-21 05:49:31 +00:00
|
|
|
background: var(--outside);
|
2021-01-18 03:16:15 +00:00
|
|
|
transition: 0.2s background;
|
2020-12-31 23:54:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
select, #search {
|
2021-01-04 03:44:44 +00:00
|
|
|
border: none;
|
2021-12-27 21:43:44 +00:00
|
|
|
padding: 0 10px;
|
2021-01-18 00:20:17 +00:00
|
|
|
|
2020-12-21 05:49:31 +00:00
|
|
|
appearance: none;
|
2021-01-08 20:26:29 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
2020-12-31 23:54:13 +00:00
|
|
|
border-radius: 5px 0px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchbox {
|
2021-01-17 21:24:44 +00:00
|
|
|
grid-area: searchbox;
|
2020-12-31 23:54:13 +00:00
|
|
|
display: flex;
|
2021-01-06 18:51:13 +00:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-11 02:15:34 +00:00
|
|
|
border-radius: 5px;
|
2020-12-31 23:54:13 +00:00
|
|
|
}
|
|
|
|
|
2021-01-18 00:20:17 +00:00
|
|
|
#searchbox > *, #sort_submit { background: var(--highlighted); }
|
2020-12-31 23:54:13 +00:00
|
|
|
|
|
|
|
#search {
|
|
|
|
border-right: 2px var(--outside) solid;
|
|
|
|
min-width: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#inside {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-right: 2px var(--outside) solid;
|
|
|
|
padding: 0 10px;
|
2021-01-28 23:50:18 +00:00
|
|
|
max-width: 50%;
|
2020-12-21 05:49:31 +00:00
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
#restrict_sr { margin-right: 5px; }
|
|
|
|
|
2021-01-17 23:51:03 +00:00
|
|
|
input[type="submit"], button.submit {
|
2020-12-31 23:54:13 +00:00
|
|
|
border: 0;
|
|
|
|
border-radius: 0px 5px 5px 0px;
|
|
|
|
}
|
|
|
|
|
2021-01-18 00:03:14 +00:00
|
|
|
button.submit {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
select:hover { background: var(--foreground); }
|
2021-01-17 23:51:03 +00:00
|
|
|
|
2021-01-18 03:16:15 +00:00
|
|
|
input[type="submit"]:hover { color: var(--accent); }
|
|
|
|
button.submit:hover > svg { stroke: var(--accent); }
|
2020-12-31 23:54:13 +00:00
|
|
|
|
2020-12-30 01:11:47 +00:00
|
|
|
#timeframe {
|
2021-01-04 03:44:44 +00:00
|
|
|
margin: 0 2px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sort_options + #timeframe:not(#search_sort > #timeframe) {
|
2020-12-31 23:54:13 +00:00
|
|
|
margin-left: 10px;
|
2021-01-04 03:44:44 +00:00
|
|
|
border-radius: 5px 0px 0px 5px;
|
2020-12-30 01:11:47 +00:00
|
|
|
}
|
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
#listing_options + #sort_select {
|
|
|
|
margin-left: 10px;
|
|
|
|
border-radius: 5px 0px 0px 5px;
|
|
|
|
}
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
#search_sort {
|
2020-12-21 05:49:31 +00:00
|
|
|
background: var(--highlighted);
|
2020-12-31 23:54:13 +00:00
|
|
|
border-radius: 5px;
|
2021-01-01 00:45:10 +00:00
|
|
|
overflow: auto;
|
2020-12-31 23:54:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#search_sort > #search {
|
2020-12-29 02:42:46 +00:00
|
|
|
border: 0;
|
2020-12-31 23:54:13 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
#search_sort > *, #searchbox > * { font-size: 15px; }
|
|
|
|
|
2020-12-31 23:54:13 +00:00
|
|
|
#search_sort > :not(:first-child), #search_sort > #sort_options {
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-left: 2px solid var(--background);
|
|
|
|
box-shadow: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sort, #search_sort {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2020-12-29 02:42:46 +00:00
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
#sort_options, #listing_options, footer > a {
|
2020-12-31 23:54:13 +00:00
|
|
|
border-radius: 5px;
|
2021-12-27 21:43:44 +00:00
|
|
|
align-items: center;
|
2021-01-06 18:51:13 +00:00
|
|
|
box-shadow: var(--shadow);
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--outside);
|
2020-12-31 23:54:13 +00:00
|
|
|
display: flex;
|
2021-12-31 18:42:44 +00:00
|
|
|
overflow: hidden;
|
2020-12-31 23:54:13 +00:00
|
|
|
}
|
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
#sort_options > a, #listing_options > a, footer > a {
|
2021-01-11 02:15:34 +00:00
|
|
|
color: var(--text);
|
2020-10-25 20:25:59 +00:00
|
|
|
padding: 10px 20px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2021-01-18 03:16:15 +00:00
|
|
|
transition: 0.2s background;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
#sort_options > a.selected, #listing_options > a.selected {
|
2020-12-22 05:39:55 +00:00
|
|
|
background: var(--accent);
|
2021-01-11 02:15:34 +00:00
|
|
|
color: var(--foreground);
|
2020-11-23 00:29:05 +00:00
|
|
|
}
|
|
|
|
|
2022-03-13 19:06:27 +00:00
|
|
|
#sort_options > a:not(.selected):hover, #listing_options > a:not(.selected):hover {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 18:22:50 +00:00
|
|
|
#search_subreddits {
|
|
|
|
border-radius: 5px;
|
|
|
|
background: var(--post);
|
|
|
|
box-shadow: var(--shadow);
|
2021-01-18 03:16:15 +00:00
|
|
|
transition: 0.2s background;
|
2021-01-19 05:32:25 +00:00
|
|
|
border: var(--panel-border);
|
2021-01-14 18:22:50 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit {
|
|
|
|
padding: 16px 20px;
|
2021-03-19 04:32:54 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_left {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_left:not(:empty) {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_left img {
|
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_right {
|
|
|
|
overflow: auto;
|
2021-01-14 18:22:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a.search_subreddit:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background: var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit:not(:last-child) {
|
|
|
|
border-bottom: 1px solid var(--highlighted);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_header {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_name {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit_description {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2021-11-24 06:24:23 +00:00
|
|
|
#more_subreddits {
|
|
|
|
justify-content: center;
|
|
|
|
color: var(--accent);
|
|
|
|
font-weight: 600;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
/* Post */
|
|
|
|
|
2021-01-16 10:00:15 +00:00
|
|
|
.sep {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-08 23:08:58 +00:00
|
|
|
.thread {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2021-02-12 17:16:59 +00:00
|
|
|
.thread_nav {
|
|
|
|
color: var(--accent);
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post {
|
|
|
|
border-radius: 5px;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--post);
|
2021-01-06 18:51:13 +00:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-17 19:39:57 +00:00
|
|
|
display: grid;
|
2021-01-18 03:16:15 +00:00
|
|
|
transition: 0.2s background;
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-template: "post_score post_header post_thumbnail" auto
|
|
|
|
"post_score post_title post_thumbnail" 1fr
|
|
|
|
"post_score post_media post_thumbnail" auto
|
|
|
|
"post_score post_body post_thumbnail" auto
|
2021-05-10 01:25:52 +00:00
|
|
|
"post_score post_notification post_thumbnail" auto
|
2021-01-17 19:39:57 +00:00
|
|
|
"post_score post_footer post_thumbnail" auto
|
2021-01-20 19:59:57 +00:00
|
|
|
/ minmax(40px, auto) minmax(0, 1fr) fit-content(min(20%, 152px));
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
.post:not(:last-child) { margin-bottom: 10px; }
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post:hover {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.post_score {
|
2021-12-27 21:43:44 +00:00
|
|
|
padding-top: 19px;
|
2021-11-21 04:07:45 +00:00
|
|
|
padding-left: 12px;
|
2021-01-19 05:32:25 +00:00
|
|
|
font-size: 13px;
|
|
|
|
font-weight: bold;
|
2021-01-17 19:39:57 +00:00
|
|
|
color: var(--accent);
|
|
|
|
grid-area: post_score;
|
2021-11-21 04:07:45 +00:00
|
|
|
text-align: center;
|
2020-12-29 02:42:46 +00:00
|
|
|
border-radius: 5px 0 0 5px;
|
2021-01-18 04:35:49 +00:00
|
|
|
transition: 0.2s background;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.post_score .label {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-03 21:06:49 +00:00
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.post_header {
|
2021-11-21 04:07:45 +00:00
|
|
|
margin: 15px 20px 5px 12px;
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-area: post_header;
|
2021-11-25 02:08:27 +00:00
|
|
|
line-height: 25px;
|
2021-01-03 21:06:49 +00:00
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-12-07 19:20:24 +00:00
|
|
|
.post_title {
|
2021-01-04 03:44:44 +00:00
|
|
|
font-size: 16px;
|
2021-11-20 21:13:50 +00:00
|
|
|
font-weight: 500;
|
2020-12-31 23:54:13 +00:00
|
|
|
line-height: 1.5;
|
2022-03-13 19:59:15 +00:00
|
|
|
overflow-wrap: anywhere;
|
2021-11-21 04:07:45 +00:00
|
|
|
margin: 5px 15px 5px 12px;
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-area: post_title;
|
2020-12-07 19:20:24 +00:00
|
|
|
}
|
|
|
|
|
2021-07-18 21:53:08 +00:00
|
|
|
.post:not(.highlighted) .post_title a:visited {
|
|
|
|
color: var(--visited);
|
|
|
|
}
|
|
|
|
|
2021-05-10 01:25:52 +00:00
|
|
|
.post_notification {
|
|
|
|
grid-area: post_notification;
|
|
|
|
margin: 5px 15px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_notification a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.post_flair {
|
|
|
|
background: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
padding: 4px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
2021-01-05 03:26:41 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 02:08:27 +00:00
|
|
|
.awards {
|
|
|
|
background-color: var(--foreground);
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: auto;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.awards .award {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.award {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.award > img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-03-18 00:08:43 +00:00
|
|
|
.author_flair:empty, .post_flair:empty {
|
2021-02-22 04:28:04 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.emoji {
|
2021-03-18 00:08:43 +00:00
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
2021-01-17 19:39:57 +00:00
|
|
|
display: inline-block;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
vertical-align: middle;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.nsfw {
|
|
|
|
color: var(--nsfw);
|
|
|
|
margin-left: 5px;
|
|
|
|
border: 1px solid var(--nsfw);
|
|
|
|
padding: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-24 06:24:23 +00:00
|
|
|
.post_media_image, .post .__NoScript_PlaceHolder__, .post_media_video, .gallery {
|
2021-01-17 19:39:57 +00:00
|
|
|
max-width: calc(100% - 40px);
|
2021-02-03 19:11:04 +00:00
|
|
|
grid-area: post_media;
|
|
|
|
margin: 15px auto 5px auto;
|
2021-02-08 00:22:14 +00:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post_media_video.short {
|
|
|
|
max-height: 512px;
|
|
|
|
width: auto;
|
2021-02-03 19:11:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_media_image.short svg, .post_media_image.short img{
|
|
|
|
max-height: 512px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_media_image svg{
|
|
|
|
max-width: 100%;
|
2021-01-21 21:04:06 +00:00
|
|
|
height: auto;
|
2020-10-25 20:25:59 +00:00
|
|
|
align-self: center;
|
2021-01-17 19:39:57 +00:00
|
|
|
background-color: var(--highlighted);
|
2021-01-21 21:04:06 +00:00
|
|
|
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' width='100' height='100' xmlns='http://www.w3.org/2000/svg'><path d='M15,20 h70 a10,10 0 0 1 10,10 v45 a10,10 0 0 1 -10,10 h-70 a10,10 0 0 1 -10,-10 v-45 a10,10 0 0 1 10,-10 z' fill='none' stroke='rgba(128,128,128,0.5)' stroke-width='3' /><path d='M15,75 l25,-35 l15,20 l10,-10 l20, 25 z' stroke='none' fill='rgba(128,128,128,0.5)' /><circle cx='75' cy='35' r='7' stroke='none' fill='rgba(128,128,128,0.5)'/></svg>");
|
|
|
|
background-position: 50%;
|
|
|
|
background-repeat: no-repeat;
|
2021-02-03 21:01:46 +00:00
|
|
|
vertical-align: bottom;
|
2021-01-20 23:12:54 +00:00
|
|
|
}
|
|
|
|
|
2021-02-03 19:11:04 +00:00
|
|
|
.post_media_image img {
|
2021-02-01 19:27:56 +00:00
|
|
|
max-width: 100%;
|
2021-02-03 21:01:46 +00:00
|
|
|
vertical-align: bottom;
|
2021-02-01 19:27:56 +00:00
|
|
|
}
|
|
|
|
|
2021-02-06 20:05:11 +00:00
|
|
|
.gallery img {
|
|
|
|
max-width: 100%;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery figcaption {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery .outbound_url {
|
|
|
|
color: var(--accent);
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: block;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
#post_url {
|
|
|
|
color: var(--accent);
|
2021-12-28 07:16:01 +00:00
|
|
|
margin: 5px 12px;
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-area: post_media;
|
2022-03-26 19:55:53 +00:00
|
|
|
overflow-wrap: anywhere;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
2021-11-21 23:17:52 +00:00
|
|
|
padding: 5px 15px 5px 12px;
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-area: post_body;
|
2021-02-24 19:28:26 +00:00
|
|
|
width: calc(100% - 30px);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:17:52 +00:00
|
|
|
/* Used only for text post preview */
|
2021-11-20 21:13:50 +00:00
|
|
|
.post_preview {
|
2021-11-22 16:40:36 +00:00
|
|
|
-webkit-mask-image: linear-gradient(180deg,#000 60%,transparent);;
|
2021-11-20 21:13:50 +00:00
|
|
|
mask-image: linear-gradient(180deg,#000 60%,transparent);
|
|
|
|
opacity: 0.8;
|
2021-11-21 23:17:52 +00:00
|
|
|
max-height: 250px;
|
2021-11-22 16:40:36 +00:00
|
|
|
overflow: hidden;
|
2021-11-20 21:13:50 +00:00
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.post_footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
opacity: 0.5;
|
|
|
|
font-size: 14px;
|
|
|
|
grid-area: post_footer;
|
2021-12-28 07:16:01 +00:00
|
|
|
margin: 5px 20px 15px 12px;
|
2021-01-17 19:39:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_comments {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post_links {
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#post_links > li {
|
|
|
|
margin-right: 15px;
|
2020-12-12 04:36:06 +00:00
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post_thumbnail {
|
2021-01-04 03:44:44 +00:00
|
|
|
border-radius: 5px;
|
2021-01-19 05:32:25 +00:00
|
|
|
border: var(--panel-border);
|
2021-01-11 22:08:12 +00:00
|
|
|
display: grid;
|
|
|
|
overflow: hidden;
|
2021-01-18 04:35:49 +00:00
|
|
|
background-color: var(--background);
|
2021-01-17 19:39:57 +00:00
|
|
|
grid-area: post_thumbnail;
|
|
|
|
margin: 5px;
|
2021-01-11 22:08:12 +00:00
|
|
|
}
|
|
|
|
|
2021-01-21 21:04:06 +00:00
|
|
|
.post_thumbnail svg {
|
2021-01-11 22:08:12 +00:00
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
width: 100%;
|
2021-01-17 19:39:57 +00:00
|
|
|
height: auto;
|
2021-01-11 22:08:12 +00:00
|
|
|
object-fit: cover;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
|
|
|
}
|
|
|
|
|
2021-01-14 20:45:43 +00:00
|
|
|
.post_thumbnail.no_thumbnail {
|
2021-01-17 19:39:57 +00:00
|
|
|
background-color: var(--highlighted);
|
2021-01-14 20:45:43 +00:00
|
|
|
}
|
|
|
|
|
2021-01-21 21:04:06 +00:00
|
|
|
.post_thumbnail.no_thumbnail svg {
|
2021-01-14 20:45:43 +00:00
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
2021-01-17 19:39:57 +00:00
|
|
|
max-width: 100%;
|
2021-01-14 20:45:43 +00:00
|
|
|
}
|
|
|
|
|
2021-01-11 22:08:12 +00:00
|
|
|
.post_thumbnail span {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
2021-01-14 20:45:43 +00:00
|
|
|
background-color: rgba(0,0,0,0.8);
|
2021-01-11 22:08:12 +00:00
|
|
|
color: white;
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
padding: 5px;
|
|
|
|
align-self: end;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2021-02-01 20:02:38 +00:00
|
|
|
.post_thumbnail img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
.stickied {
|
2021-01-10 21:08:36 +00:00
|
|
|
--accent: var(--green);
|
|
|
|
border: 1px solid var(--green);
|
2021-01-04 03:44:44 +00:00
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
/* Comment */
|
|
|
|
|
|
|
|
.comment {
|
2021-01-04 03:44:44 +00:00
|
|
|
margin: 10px 0;
|
2020-10-25 20:25:59 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_left, .comment_right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_left {
|
|
|
|
text-align: center;
|
|
|
|
min-width: 50px;
|
2020-12-29 02:42:46 +00:00
|
|
|
padding: 5px 0;
|
2020-12-20 03:54:46 +00:00
|
|
|
align-items: center;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.comment_title { font-size: 20px; }
|
|
|
|
.comment_link { text-decoration: underline; }
|
|
|
|
.comment_author { opacity: 0.9; }
|
2020-12-20 03:54:46 +00:00
|
|
|
|
2020-12-20 19:29:23 +00:00
|
|
|
.author_flair {
|
|
|
|
background: var(--highlighted);
|
2021-01-06 18:51:13 +00:00
|
|
|
color: var(--text);
|
2020-12-20 19:29:23 +00:00
|
|
|
padding: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.comment_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_score {
|
2020-12-22 05:39:55 +00:00
|
|
|
color: var(--accent);
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
|
|
|
min-width: 40px;
|
|
|
|
border-radius: 5px;
|
2020-12-29 02:42:46 +00:00
|
|
|
padding: 10px 0;
|
2021-11-22 20:19:51 +00:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_right {
|
2020-10-26 02:05:09 +00:00
|
|
|
word-wrap: anywhere;
|
2021-01-07 18:49:00 +00:00
|
|
|
padding: 10px 0 10px 5px;
|
2020-10-25 20:25:59 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2021-01-21 01:55:04 +00:00
|
|
|
min-width: 0;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
.comment_data > * {
|
2021-01-05 03:26:41 +00:00
|
|
|
margin-right: 5px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_image {
|
|
|
|
max-width: 500px;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
2021-02-12 17:16:59 +00:00
|
|
|
padding: 5px 5px;
|
|
|
|
margin: 5px 0;
|
2021-05-28 19:01:20 +00:00
|
|
|
overflow: auto;
|
2021-02-12 17:16:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
.comment_body.highlighted, .comment_body_filtered.highlighted {
|
2021-02-12 17:16:59 +00:00
|
|
|
background: var(--highlighted);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body > p:not(:first-child) {
|
2020-12-22 05:39:55 +00:00
|
|
|
margin-top: 20px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body a {
|
|
|
|
text-decoration: underline;
|
2020-12-22 05:39:55 +00:00
|
|
|
color: var(--accent);
|
2020-10-26 02:55:00 +00:00
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
.comment_body_filtered {
|
|
|
|
opacity: 0.4;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
padding: 5px 5px;
|
|
|
|
margin: 5px 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2020-12-22 01:17:40 +00:00
|
|
|
.deeper_replies {
|
2020-12-22 05:39:55 +00:00
|
|
|
color: var(--accent);
|
|
|
|
margin-left: 15px;
|
2020-12-22 01:17:40 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
::marker {
|
2020-12-22 05:39:55 +00:00
|
|
|
color: var(--accent);
|
2020-12-20 03:54:46 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 05:49:31 +00:00
|
|
|
.replies > .comment {
|
|
|
|
margin-left: -20px;
|
2020-12-22 01:17:40 +00:00
|
|
|
padding: 5px;
|
2020-12-20 03:54:46 +00:00
|
|
|
}
|
|
|
|
|
2021-01-16 19:40:32 +00:00
|
|
|
.created {
|
2021-01-05 03:26:41 +00:00
|
|
|
opacity: 0.5;
|
2020-12-20 03:54:46 +00:00
|
|
|
}
|
|
|
|
|
2021-02-14 22:53:09 +00:00
|
|
|
.edited {
|
|
|
|
opacity: 0.4;
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
.line {
|
|
|
|
width: 2px;
|
|
|
|
height: 100%;
|
|
|
|
background: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2021-09-19 19:00:07 +00:00
|
|
|
summary.comment_data {
|
2021-11-24 06:24:23 +00:00
|
|
|
cursor: pointer;
|
2021-09-19 19:00:07 +00:00
|
|
|
}
|
|
|
|
|
2021-01-16 23:02:24 +00:00
|
|
|
.moderator, .admin { opacity: 1; }
|
|
|
|
.op, .moderator, .admin { font-weight: bold; }
|
|
|
|
|
|
|
|
.op { color: var(--accent); }
|
|
|
|
.moderator { color: var(--green); }
|
|
|
|
.admin { color: var(--admin); }
|
|
|
|
|
2021-01-06 02:04:49 +00:00
|
|
|
/* Layouts */
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact .post:not(.highlighted) {
|
2021-01-06 02:04:49 +00:00
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact .post:first-of-type {
|
2021-01-06 02:16:32 +00:00
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact .post:last-of-type {
|
2021-01-06 02:16:32 +00:00
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-01-18 00:20:17 +00:00
|
|
|
.compact .post.highlighted { border-radius: 5px; }
|
|
|
|
.compact .post:not(:last-of-type):not(.highlighted):not(.stickied) { border-bottom: 0; }
|
2021-01-06 02:04:49 +00:00
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.compact .post_score {
|
|
|
|
padding-top: 15px;
|
2021-01-06 02:04:49 +00:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact .post_header {
|
2021-11-25 02:08:27 +00:00
|
|
|
margin: 11px 15px 2.5px 12px;
|
2021-01-06 02:04:49 +00:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.compact .post_title, .compact #post_url, .compact .post_body {
|
|
|
|
margin: 2.5px 15px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-11-21 02:05:37 +00:00
|
|
|
.compact .post_preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-17 19:39:57 +00:00
|
|
|
.compact .post_media {
|
|
|
|
max-width: calc(100% - 30px);
|
|
|
|
margin: 2.5px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compact .post_footer {
|
|
|
|
margin: 5px 15px 15px 15px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact .post_thumbnail {
|
2021-01-11 22:08:12 +00:00
|
|
|
width: 75px;
|
|
|
|
height: 75px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 21:08:36 +00:00
|
|
|
.compact footer {
|
2021-01-06 02:16:32 +00:00
|
|
|
margin-top: 20px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Settings */
|
|
|
|
|
2021-02-13 20:55:23 +00:00
|
|
|
#settings {
|
|
|
|
max-width: 450px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-09 04:55:40 +00:00
|
|
|
#settings_note {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 10px;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
2021-02-13 20:55:23 +00:00
|
|
|
#settings_note a {
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-01-30 11:27:49 +00:00
|
|
|
.prefs {
|
2021-01-06 02:04:49 +00:00
|
|
|
display: flex;
|
2021-01-07 16:38:05 +00:00
|
|
|
flex-direction: column;
|
2021-01-06 02:04:49 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
padding: 20px;
|
|
|
|
background: var(--post);
|
|
|
|
border-radius: 5px;
|
2021-02-13 20:55:23 +00:00
|
|
|
margin-bottom: 20px;
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-30 11:27:49 +00:00
|
|
|
.prefs > div {
|
2021-01-07 16:38:05 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2021-01-09 04:55:40 +00:00
|
|
|
height: 35px;
|
2021-01-07 16:38:05 +00:00
|
|
|
align-items: center;
|
2021-12-27 21:43:44 +00:00
|
|
|
margin-top: 7px;
|
2021-01-07 16:38:05 +00:00
|
|
|
}
|
|
|
|
|
2021-12-27 21:43:44 +00:00
|
|
|
.prefs legend {
|
2021-11-22 06:30:44 +00:00
|
|
|
font-weight: 500;
|
2021-12-27 21:43:44 +00:00
|
|
|
border-bottom: 1px solid var(--highlighted);
|
|
|
|
font-size: 18px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prefs legend:not(:first-child) {
|
|
|
|
padding-top: 10px;
|
|
|
|
margin-top: 15px;
|
2021-11-22 06:30:44 +00:00
|
|
|
}
|
|
|
|
|
2021-01-30 11:27:49 +00:00
|
|
|
.prefs select {
|
2021-01-06 02:04:49 +00:00
|
|
|
border-radius: 5px;
|
2021-01-07 16:38:05 +00:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-06 02:04:49 +00:00
|
|
|
margin-left: 20px;
|
2021-01-11 02:15:34 +00:00
|
|
|
background: var(--foreground);
|
2021-01-06 02:04:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-31 04:42:12 +00:00
|
|
|
aside.prefs {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
2021-01-06 02:04:49 +00:00
|
|
|
#save {
|
|
|
|
background: var(--highlighted);
|
|
|
|
padding: 10px 15px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
2021-01-08 20:26:29 +00:00
|
|
|
input[type="submit"] {
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
2021-01-30 11:27:49 +00:00
|
|
|
|
2021-01-31 05:21:46 +00:00
|
|
|
#settings_subs .unsubscribe {
|
2021-01-30 11:27:49 +00:00
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
|
2021-11-22 06:30:44 +00:00
|
|
|
#settings_subs a {
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-11-26 04:02:04 +00:00
|
|
|
#settings_filters .unsubscribe {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#settings_filters a {
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-11-24 06:43:25 +00:00
|
|
|
.helper {
|
|
|
|
padding: 10px;
|
|
|
|
width: 250px;
|
|
|
|
background: var(--highlighted) !important;
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
/* Markdown */
|
|
|
|
|
2021-02-24 17:31:58 +00:00
|
|
|
.md {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.md > *:not(:first-child) {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.md h1 { font-size: 22px; }
|
|
|
|
.md h2 { font-size: 20px; }
|
|
|
|
.md h3 { font-size: 18px; }
|
|
|
|
.md h4 { font-size: 16px; }
|
|
|
|
.md h5 { font-size: 14px; }
|
|
|
|
.md h6 { font-size: 12px; }
|
|
|
|
|
|
|
|
.md blockquote {
|
2021-01-18 06:32:42 +00:00
|
|
|
padding: 10px;
|
2021-01-04 03:44:44 +00:00
|
|
|
margin: 4px 0 4px 5px;
|
2020-12-29 02:42:46 +00:00
|
|
|
border-left: 4px solid var(--highlighted);
|
2021-01-19 05:32:25 +00:00
|
|
|
background: var(--post);
|
2020-12-29 02:42:46 +00:00
|
|
|
}
|
|
|
|
|
2021-01-09 05:57:36 +00:00
|
|
|
.md a, .md a * {
|
2020-12-29 02:42:46 +00:00
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-01-09 05:57:36 +00:00
|
|
|
.md .md-spoiler-text {
|
|
|
|
background: var(--highlighted);
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.md .md-spoiler-text:hover {
|
|
|
|
background: var(--foreground);
|
|
|
|
color: var(--text);
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.md li { margin: 10px 0; }
|
2021-01-02 06:21:43 +00:00
|
|
|
.toc_child { list-style: none; }
|
2020-12-20 06:25:00 +00:00
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.md pre {
|
2020-12-20 06:25:00 +00:00
|
|
|
background: var(--outside);
|
|
|
|
padding: 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
border-radius: 5px;
|
2021-01-06 18:51:13 +00:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-12 17:53:10 +00:00
|
|
|
overflow: auto;
|
2020-12-20 06:25:00 +00:00
|
|
|
}
|
|
|
|
|
2021-01-04 03:44:44 +00:00
|
|
|
.md table {
|
|
|
|
margin: 5px;
|
2021-04-16 21:47:42 +00:00
|
|
|
overflow-x: auto;
|
2021-01-04 03:44:44 +00:00
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.md code {
|
2021-05-27 03:30:08 +00:00
|
|
|
font-family: monospace, sans-serif;
|
2020-12-20 06:25:00 +00:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2020-12-29 02:42:46 +00:00
|
|
|
.md code:not(.md pre > code) { background: var(--highlighted); }
|
|
|
|
|
2020-10-26 02:55:00 +00:00
|
|
|
/* Tables */
|
|
|
|
|
2021-01-19 05:32:25 +00:00
|
|
|
table, td, th { border: var(--panel-border); }
|
|
|
|
|
2020-10-26 02:55:00 +00:00
|
|
|
table {
|
2021-01-19 05:32:25 +00:00
|
|
|
border-width: 3px;
|
2020-12-22 05:39:55 +00:00
|
|
|
border-spacing: 0;
|
2020-10-26 02:55:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
2020-12-22 05:39:55 +00:00
|
|
|
padding: 10px;
|
2020-12-06 04:54:43 +00:00
|
|
|
}
|
|
|
|
|
2021-02-21 18:11:17 +00:00
|
|
|
/* Errors */
|
|
|
|
|
|
|
|
#error { text-align: center; }
|
|
|
|
#error h1 { margin-bottom: 10px; }
|
|
|
|
#error h3 { opacity: 0.85; }
|
|
|
|
#error a { color: var(--accent); }
|
|
|
|
|
2020-12-06 04:54:43 +00:00
|
|
|
/* Mobile */
|
|
|
|
|
2020-12-24 06:16:04 +00:00
|
|
|
@media screen and (max-width: 800px) {
|
2021-01-30 22:52:18 +00:00
|
|
|
body { padding-top: 120px }
|
2021-01-30 05:00:55 +00:00
|
|
|
|
2021-01-03 04:50:23 +00:00
|
|
|
main {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
padding: 10px;
|
2021-01-30 05:00:55 +00:00
|
|
|
margin: 0 0 10px 0;
|
2021-01-11 02:48:08 +00:00
|
|
|
max-width: 100%;
|
2021-01-03 04:50:23 +00:00
|
|
|
}
|
2021-01-04 03:44:44 +00:00
|
|
|
|
2021-01-03 04:50:23 +00:00
|
|
|
nav {
|
2021-01-30 22:52:18 +00:00
|
|
|
grid-template-areas: 'logo links' 'searchbox searchbox';
|
2021-01-03 06:40:22 +00:00
|
|
|
padding: 10px;
|
2021-01-07 18:46:00 +00:00
|
|
|
width: calc(100% - 20px);
|
2021-01-03 04:50:23 +00:00
|
|
|
}
|
2020-12-24 06:16:04 +00:00
|
|
|
|
2021-01-31 04:42:12 +00:00
|
|
|
nav #links { margin-left: auto; }
|
2021-01-31 21:22:11 +00:00
|
|
|
nav #links span { display: none; }
|
|
|
|
nav #links svg { display: block; }
|
2021-01-30 22:52:18 +00:00
|
|
|
|
2021-01-30 10:21:54 +00:00
|
|
|
#subscriptions { position: unset; }
|
|
|
|
|
|
|
|
#sub_list {
|
|
|
|
left: 10px;
|
|
|
|
right: 10px;
|
|
|
|
min-width: auto;
|
2021-01-30 08:33:38 +00:00
|
|
|
}
|
2021-02-13 20:55:23 +00:00
|
|
|
|
|
|
|
#settings {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
2021-01-30 05:00:55 +00:00
|
|
|
|
2021-01-01 04:21:56 +00:00
|
|
|
aside, #subreddit, #user {
|
|
|
|
margin: 0;
|
2020-12-29 02:42:46 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-01 00:45:10 +00:00
|
|
|
#user, #sidebar { margin: 20px 0; }
|
2021-01-31 04:42:12 +00:00
|
|
|
#logo, #links { margin-bottom: 5px; }
|
2021-01-28 23:50:18 +00:00
|
|
|
#searchbox { width: calc(100vw - 35px); }
|
2021-01-01 15:46:36 +00:00
|
|
|
}
|
2021-03-10 23:10:59 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
body { padding-top: 100px; }
|
|
|
|
#version { display: none; }
|
|
|
|
|
|
|
|
.post {
|
|
|
|
grid-template: "post_header post_header post_thumbnail" auto
|
|
|
|
"post_title post_title post_thumbnail" 1fr
|
|
|
|
"post_media post_media post_thumbnail" auto
|
|
|
|
"post_body post_body post_thumbnail" auto
|
2021-05-10 01:25:52 +00:00
|
|
|
"post_notification post_notification post_thumbnail" auto
|
2021-03-10 23:10:59 +00:00
|
|
|
"post_score post_footer post_thumbnail" auto
|
|
|
|
/ auto 1fr fit-content(min(20%, 152px));
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_score {
|
|
|
|
margin: 5px 0px 20px 15px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compact .post_score { padding: 0; }
|
|
|
|
|
|
|
|
.post_score::before { content: "↑" }
|
|
|
|
|
|
|
|
.post_header { font-size: 14px; }
|
|
|
|
.post_footer { margin-left: 15px; }
|
|
|
|
|
|
|
|
.replies > .comment {
|
|
|
|
margin-left: -12px;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_left {
|
|
|
|
min-width: auto;
|
|
|
|
padding: 5px 0px;
|
|
|
|
align-items: initial;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .thread { margin-left: -5px; } */
|
|
|
|
.comment_right { padding: 5px 0 10px 2px; }
|
2021-03-20 20:03:05 +00:00
|
|
|
.comment_author { margin-left: 12px; }
|
2021-03-10 23:10:59 +00:00
|
|
|
.comment_data { margin-left: 12px; }
|
2021-03-20 20:03:05 +00:00
|
|
|
.comment_data::marker { font-size: 25px; }
|
2021-03-10 23:10:59 +00:00
|
|
|
.created { width: 100%; }
|
|
|
|
|
|
|
|
.comment_score {
|
|
|
|
min-width: 32px;
|
|
|
|
height: 20px;
|
|
|
|
font-size: 15px;
|
|
|
|
padding: 7px 0px;
|
|
|
|
margin-right: -5px;
|
|
|
|
}
|
2021-04-02 00:56:28 +00:00
|
|
|
}
|