2021-01-18 15:11:36 +13:00
|
|
|
/* Define themes */
|
2020-10-26 09:25:59 +13:00
|
|
|
|
2021-01-18 15:11:36 +13:00
|
|
|
/* Constants */
|
2020-12-20 16:54:46 +13:00
|
|
|
:root {
|
2021-01-18 12:42:55 +13:00
|
|
|
--nsfw: #ff5c5d;
|
2021-01-17 12:02:24 +13:00
|
|
|
--admin: #ea0027;
|
2020-12-20 16:54:46 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 15:11:36 +13:00
|
|
|
/* Automatic theme selection */
|
|
|
|
:root, .dark{
|
|
|
|
/* Default & fallback theme (dark) */
|
|
|
|
--accent: aqua;
|
|
|
|
--green: #5cff85;
|
|
|
|
--text: white;
|
|
|
|
--foreground: #222;
|
|
|
|
--background: #0f0f0f;
|
|
|
|
--outside: #1f1f1f;
|
|
|
|
--post: #161616;
|
|
|
|
--highlighted: #333;
|
|
|
|
--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;
|
|
|
|
--highlighted: white;
|
|
|
|
--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;
|
|
|
|
--highlighted: white;
|
|
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* General */
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
::selection {
|
2021-01-11 15:15:34 +13:00
|
|
|
color: var(--foreground);
|
2021-01-01 12:54:13 +13:00
|
|
|
background: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-01-09 18:57:36 +13: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 15:42:46 +13:00
|
|
|
margin: 0;
|
2021-01-07 07:51:13 +13:00
|
|
|
color: var(--text);
|
2020-10-26 09:25:59 +13:00
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
2020-12-20 16:54:46 +13:00
|
|
|
body {
|
|
|
|
background: var(--background);
|
2021-01-04 16:44:44 +13:00
|
|
|
font-size: 15px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2020-12-21 14:45:26 +13:00
|
|
|
nav {
|
2021-01-18 10:24:44 +13:00
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "logo searchbox code";
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
justify-content: space-between;
|
2021-01-01 12:54:13 +13:00
|
|
|
align-items: center;
|
2021-01-18 10:24:44 +13:00
|
|
|
|
2020-12-22 18:39:55 +13:00
|
|
|
color: var(--accent);
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--outside);
|
2021-01-18 10:24:44 +13:00
|
|
|
box-shadow: var(--shadow);
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
font-size: 20px;
|
2021-01-18 10:24:44 +13:00
|
|
|
|
|
|
|
z-index: 1;
|
|
|
|
top: 0;
|
|
|
|
padding: 5px 15px;
|
2021-01-01 13:45:10 +13:00
|
|
|
min-height: 40px;
|
2021-01-08 07:46:00 +13:00
|
|
|
width: calc(100% - 30px);
|
2021-01-18 10:24:44 +13:00
|
|
|
position: fixed;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-07 07:51:13 +13:00
|
|
|
nav * { color: var(--text); }
|
2021-01-18 10:24:44 +13:00
|
|
|
nav #reddit, #code { color: var(--accent); }
|
|
|
|
nav #logo { grid-area: logo; }
|
|
|
|
nav #code { grid-area: code; }
|
2021-01-18 11:49:36 +13:00
|
|
|
nav #version { opacity: 50%; }
|
2020-11-23 13:29:05 +13:00
|
|
|
|
2021-01-06 15:16:32 +13:00
|
|
|
#settings_link {
|
|
|
|
font-size: 18px;
|
|
|
|
margin-left: 20px;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
main {
|
2020-12-24 19:16:04 +13:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-01 17:21:56 +13:00
|
|
|
max-width: 1000px;
|
2020-12-24 19:16:04 +13:00
|
|
|
padding: 10px 20px;
|
2021-01-08 07:46:00 +13:00
|
|
|
margin: 60px auto 20px auto
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.wide main {
|
|
|
|
max-width: calc(100% - 40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wide #column_one {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#column_one {
|
|
|
|
max-width: 750px;
|
|
|
|
border-radius: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-01-01 17:21:56 +13:00
|
|
|
|
2020-11-20 10:49:32 +13:00
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-09 17:55:40 +13:00
|
|
|
margin-top: 20px;
|
2020-11-20 10:49:32 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
footer > a {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
hr {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2021-01-05 16:43:35 +13:00
|
|
|
transition: 0.2s all;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
a:hover {
|
2020-10-26 09:25:59 +13:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2021-01-18 12:51:03 +13:00
|
|
|
svg {
|
|
|
|
stroke: var(--text);
|
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
img[src=""] {
|
|
|
|
display: none;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2020-12-24 19:16:04 +13:00
|
|
|
aside {
|
|
|
|
flex-grow: 1;
|
2021-01-04 16:44:44 +13:00
|
|
|
margin: 20px 20px 0 10px;
|
2020-12-29 15:42:46 +13:00
|
|
|
max-width: 350px;
|
2020-12-24 19:16:04 +13:00
|
|
|
}
|
|
|
|
|
2021-01-06 15:04:49 +13:00
|
|
|
.post, .panel {
|
2021-01-04 16:44:44 +13:00
|
|
|
border: 1px solid var(--highlighted);
|
|
|
|
}
|
|
|
|
|
2021-01-05 16:26:41 +13:00
|
|
|
.dot {
|
|
|
|
font-size: 12px;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2020-12-24 19:16:04 +13:00
|
|
|
/* User & Subreddit */
|
2020-10-26 09:25:59 +13:00
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
#user, #subreddit, #sidebar {
|
|
|
|
margin: 40px auto 0 auto;
|
2020-10-26 09:25:59 +13:00
|
|
|
display: flex;
|
2020-12-24 19:16:04 +13:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2020-12-29 15:42:46 +13:00
|
|
|
height: max-content;
|
|
|
|
background: var(--outside);
|
|
|
|
border-radius: 5px;
|
2021-01-02 19:21:43 +13:00
|
|
|
overflow: hidden;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 17:21:56 +13:00
|
|
|
#user *, #subreddit * { text-align: center; }
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
#user, #sub_meta, #sidebar_contents { padding: 20px; }
|
2021-01-02 19:21:43 +13:00
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
#sidebar, #sidebar_contents { margin-top: 10px; }
|
|
|
|
#sidebar_label { padding: 10px; }
|
2020-12-29 15:42:46 +13:00
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#user_icon, #sub_icon {
|
2020-10-26 09:25:59 +13:00
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
2020-12-24 19:16:04 +13:00
|
|
|
border: 2px solid var(--accent);
|
2020-10-26 09:25:59 +13:00
|
|
|
border-radius: 100%;
|
2020-12-24 19:16:04 +13:00
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#user_title, #sub_title {
|
2021-01-01 17:21:56 +13:00
|
|
|
margin: 0 20px;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2020-11-23 13:29:05 +13:00
|
|
|
}
|
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#user_description, #sub_description {
|
2021-01-01 17:21:56 +13:00
|
|
|
margin: 0 20px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
#user_name, #user_description:not(:empty), #user_icon
|
|
|
|
#sub_name, #sub_icon, #sub_description:not(:empty) {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2021-01-01 17:21:56 +13:00
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#user_details, #sub_details {
|
2020-12-24 19:16:04 +13:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
grid-column-gap: 20px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
#user_details > label, #sub_details > label {
|
2020-12-24 19:16:04 +13:00
|
|
|
color: var(--accent);
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-02 19:21:43 +13:00
|
|
|
/* Wiki Pages */
|
|
|
|
|
|
|
|
#wiki {
|
|
|
|
background: var(--foreground);
|
|
|
|
padding: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#top {
|
|
|
|
background: var(--highlighted);
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#top > * {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
2021-01-04 16:44:44 +13:00
|
|
|
height: 35px;
|
|
|
|
line-height: 35px;
|
2021-01-02 19:21:43 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
#top > div {
|
2021-01-07 07:51:13 +13:00
|
|
|
border-bottom: 2px solid var(--text);
|
2021-01-02 19:21:43 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
/* Sorting and Search */
|
2020-10-26 09:25:59 +13:00
|
|
|
|
2021-01-18 13:20:17 +13:00
|
|
|
select, #search, #sort_options, #inside, #searchbox > *, #sort_submit {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
2021-01-13 04:47:39 +13:00
|
|
|
.search_label {
|
2021-01-13 16:52:02 +13:00
|
|
|
max-width: 300px;
|
2021-01-13 04:47:39 +13:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
select {
|
2020-12-21 18:49:31 +13:00
|
|
|
background: var(--outside);
|
2021-01-05 16:43:35 +13:00
|
|
|
transition: 0.2s all;
|
2021-01-01 12:54:13 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
select, #search {
|
2021-01-04 16:44:44 +13:00
|
|
|
border: none;
|
2020-12-29 15:42:46 +13:00
|
|
|
padding: 0 15px;
|
2021-01-18 13:20:17 +13:00
|
|
|
|
2020-12-21 18:49:31 +13:00
|
|
|
appearance: none;
|
2021-01-09 09:26:29 +13:00
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
2021-01-01 12:54:13 +13:00
|
|
|
border-radius: 5px 0px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchbox {
|
2021-01-18 10:24:44 +13:00
|
|
|
grid-area: searchbox;
|
2021-01-01 12:54:13 +13:00
|
|
|
display: flex;
|
2021-01-07 07:51:13 +13:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-11 15:15:34 +13:00
|
|
|
border-radius: 5px;
|
2021-01-01 12:54:13 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 13:20:17 +13:00
|
|
|
#searchbox > *, #sort_submit { background: var(--highlighted); }
|
2021-01-01 12:54:13 +13: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;
|
2020-12-21 18:49:31 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
#restrict_sr { margin-right: 5px; }
|
|
|
|
|
2021-01-18 12:51:03 +13:00
|
|
|
input[type="submit"], button.submit {
|
2021-01-01 12:54:13 +13:00
|
|
|
border: 0;
|
|
|
|
border-radius: 0px 5px 5px 0px;
|
|
|
|
}
|
|
|
|
|
2021-01-18 13:03:14 +13:00
|
|
|
button.submit {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
select:hover { background: var(--foreground); }
|
2021-01-18 12:51:03 +13:00
|
|
|
|
|
|
|
input[type="submit"]:hover, button.submit:hover {
|
|
|
|
transition: 0.2s all;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
2021-01-01 12:54:13 +13:00
|
|
|
|
2020-12-30 14:11:47 +13:00
|
|
|
#timeframe {
|
2021-01-04 16:44:44 +13:00
|
|
|
margin: 0 2px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sort_options + #timeframe:not(#search_sort > #timeframe) {
|
2021-01-01 12:54:13 +13:00
|
|
|
margin-left: 10px;
|
2021-01-04 16:44:44 +13:00
|
|
|
border-radius: 5px 0px 0px 5px;
|
2020-12-30 14:11:47 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
#search_sort {
|
2020-12-21 18:49:31 +13:00
|
|
|
background: var(--highlighted);
|
2021-01-01 12:54:13 +13:00
|
|
|
border-radius: 5px;
|
2021-01-01 13:45:10 +13:00
|
|
|
overflow: auto;
|
2021-01-01 12:54:13 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
#search_sort > #search {
|
2020-12-29 15:42:46 +13:00
|
|
|
border: 0;
|
2021-01-01 12:54:13 +13:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
#search_sort > *, #searchbox > * { font-size: 15px; }
|
|
|
|
|
2021-01-01 12:54:13 +13: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 15:42:46 +13:00
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
#sort_options, footer > a {
|
|
|
|
border-radius: 5px;
|
2021-01-07 07:51:13 +13:00
|
|
|
box-shadow: var(--shadow);
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--outside);
|
2021-01-01 12:54:13 +13:00
|
|
|
display: flex;
|
2021-01-01 13:45:10 +13:00
|
|
|
overflow: auto;
|
2021-01-01 12:54:13 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
#sort_options > a, footer > a {
|
2021-01-11 15:15:34 +13:00
|
|
|
color: var(--text);
|
2020-10-26 09:25:59 +13:00
|
|
|
padding: 10px 20px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2021-01-05 16:43:35 +13:00
|
|
|
transition: 0.2s all;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
#sort_options > a.selected {
|
2020-12-22 18:39:55 +13:00
|
|
|
background: var(--accent);
|
2021-01-11 15:15:34 +13:00
|
|
|
color: var(--foreground);
|
2020-11-23 13:29:05 +13:00
|
|
|
}
|
|
|
|
|
2021-01-01 12:54:13 +13:00
|
|
|
#sort_options > a:not(.selected):hover {
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--foreground);
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-15 07:22:50 +13:00
|
|
|
#search_subreddits {
|
|
|
|
border-radius: 5px;
|
|
|
|
background: var(--post);
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
transition: 0.2s all;
|
|
|
|
border: 1px solid var(--highlighted);
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_subreddit {
|
|
|
|
padding: 16px 20px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
/* Post */
|
|
|
|
|
2021-01-16 23:00:15 +13:00
|
|
|
.sep {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-09 12:08:58 +13:00
|
|
|
.thread {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
.post {
|
|
|
|
border-radius: 5px;
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--post);
|
2021-01-07 07:51:13 +13:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-18 08:39:57 +13:00
|
|
|
display: grid;
|
|
|
|
transition: 0.2s background-color;
|
|
|
|
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
|
|
|
|
"post_score post_footer post_thumbnail" auto
|
|
|
|
/ minmax(50px, auto) 1fr fit-content(min(20%, 152px));
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
.post:not(:last-child) { margin-bottom: 10px; }
|
|
|
|
|
2020-12-24 19:16:04 +13:00
|
|
|
.post.highlighted {
|
2020-12-29 15:42:46 +13:00
|
|
|
margin: 20px 0;
|
2020-12-24 19:16:04 +13:00
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
.post:hover {
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--foreground);
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.post_score {
|
|
|
|
padding-top: 20px;
|
|
|
|
color: var(--accent);
|
|
|
|
grid-area: post_score;
|
2020-10-26 09:25:59 +13:00
|
|
|
text-align: center;
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--foreground);
|
2020-12-29 15:42:46 +13:00
|
|
|
border-radius: 5px 0 0 5px;
|
2021-01-18 08:39:57 +13:00
|
|
|
transition: 0.2s background-color;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.post:hover > .post_score {
|
|
|
|
background: var(--highlighted);
|
2021-01-04 10:06:49 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.post_score .label {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-04 10:06:49 +13:00
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.post_header {
|
|
|
|
margin: 20px 20px 5px 20px;
|
|
|
|
grid-area: post_header;
|
2021-01-04 10:06:49 +13:00
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
.post_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-12-08 08:20:24 +13:00
|
|
|
.post_title {
|
2021-01-04 16:44:44 +13:00
|
|
|
font-size: 16px;
|
2021-01-01 12:54:13 +13:00
|
|
|
line-height: 1.5;
|
2021-01-18 08:39:57 +13:00
|
|
|
margin: 5px 20px;
|
|
|
|
grid-area: post_title;
|
2020-12-08 08:20:24 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13: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 16:26:41 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.emoji {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
display: inline-block;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
vertical-align: middle;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13: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-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2020-12-01 17:33:55 +13:00
|
|
|
.post_media {
|
2021-01-18 08:39:57 +13:00
|
|
|
max-width: calc(100% - 40px);
|
2020-10-26 09:25:59 +13:00
|
|
|
align-self: center;
|
2021-01-05 18:17:19 +13:00
|
|
|
margin-top: 15px;
|
2021-01-18 08:39:57 +13:00
|
|
|
margin: 5px auto;
|
|
|
|
height: auto;
|
|
|
|
grid-area: post_media;
|
|
|
|
background-color: var(--highlighted);
|
|
|
|
}
|
|
|
|
|
|
|
|
#post_url {
|
|
|
|
color: var(--accent);
|
|
|
|
margin: 5px 20px;
|
|
|
|
grid-area: post_media;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
2021-01-18 08:39:57 +13:00
|
|
|
margin: 5px 20px;
|
|
|
|
grid-area: post_body;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.post_footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
opacity: 0.5;
|
|
|
|
font-size: 14px;
|
|
|
|
grid-area: post_footer;
|
|
|
|
margin: 5px 20px 20px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 17:36:06 +13:00
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
.post_thumbnail {
|
2021-01-04 16:44:44 +13:00
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid var(--foreground);
|
2021-01-12 11:08:12 +13:00
|
|
|
display: grid;
|
|
|
|
overflow: hidden;
|
2021-01-15 09:45:43 +13:00
|
|
|
background-color: black;
|
2021-01-18 08:39:57 +13:00
|
|
|
grid-area: post_thumbnail;
|
|
|
|
margin: 5px;
|
2021-01-12 11:08:12 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_thumbnail img {
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
width: 100%;
|
2021-01-18 08:39:57 +13:00
|
|
|
height: auto;
|
2021-01-12 11:08:12 +13:00
|
|
|
object-fit: cover;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
|
|
|
}
|
|
|
|
|
2021-01-15 09:45:43 +13:00
|
|
|
.post_thumbnail.no_thumbnail {
|
2021-01-18 08:39:57 +13:00
|
|
|
background-color: var(--highlighted);
|
2021-01-15 09:45:43 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_thumbnail svg {
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
2021-01-18 08:39:57 +13:00
|
|
|
max-width: 100%;
|
2021-01-15 09:45:43 +13:00
|
|
|
}
|
|
|
|
|
2021-01-12 11:08:12 +13:00
|
|
|
.post_thumbnail span {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
2021-01-15 09:45:43 +13:00
|
|
|
background-color: rgba(0,0,0,0.8);
|
2021-01-12 11:08:12 +13:00
|
|
|
color: white;
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
padding: 5px;
|
|
|
|
align-self: end;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
.stickied {
|
2021-01-11 10:08:36 +13:00
|
|
|
--accent: var(--green);
|
|
|
|
border: 1px solid var(--green);
|
2021-01-04 16:44:44 +13:00
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
/* Comment */
|
|
|
|
|
|
|
|
.comment {
|
2021-01-04 16:44:44 +13:00
|
|
|
margin: 10px 0;
|
2020-10-26 09:25:59 +13: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 15:42:46 +13:00
|
|
|
padding: 5px 0;
|
2020-12-20 16:54:46 +13:00
|
|
|
align-items: center;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
.comment_title { font-size: 20px; }
|
|
|
|
.comment_link { text-decoration: underline; }
|
|
|
|
.comment_author { opacity: 0.9; }
|
2020-12-20 16:54:46 +13:00
|
|
|
|
2020-12-21 08:29:23 +13:00
|
|
|
.author_flair {
|
|
|
|
background: var(--highlighted);
|
2021-01-07 07:51:13 +13:00
|
|
|
color: var(--text);
|
2020-12-21 08:29:23 +13:00
|
|
|
padding: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-10-26 09:25:59 +13:00
|
|
|
.comment_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_score {
|
2020-12-22 18:39:55 +13:00
|
|
|
color: var(--accent);
|
2020-12-20 16:54:46 +13:00
|
|
|
background: var(--foreground);
|
|
|
|
min-width: 40px;
|
|
|
|
border-radius: 5px;
|
2020-12-29 15:42:46 +13:00
|
|
|
padding: 10px 0;
|
|
|
|
font-size: 16px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_right {
|
2020-10-26 15:05:09 +13:00
|
|
|
word-wrap: anywhere;
|
2021-01-08 07:49:00 +13:00
|
|
|
padding: 10px 0 10px 5px;
|
2020-10-26 09:25:59 +13:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
2020-12-20 16:54:46 +13:00
|
|
|
.comment_data > * {
|
2021-01-05 16:26:41 +13:00
|
|
|
margin-right: 5px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_image {
|
|
|
|
max-width: 500px;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 10px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body > p:not(:first-child) {
|
2020-12-22 18:39:55 +13:00
|
|
|
margin-top: 20px;
|
2020-10-26 09:25:59 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body a {
|
|
|
|
text-decoration: underline;
|
2020-12-22 18:39:55 +13:00
|
|
|
color: var(--accent);
|
2020-10-26 15:55:00 +13:00
|
|
|
}
|
|
|
|
|
2020-12-22 14:17:40 +13:00
|
|
|
.deeper_replies {
|
2020-12-22 18:39:55 +13:00
|
|
|
color: var(--accent);
|
|
|
|
margin-left: 15px;
|
2020-12-22 14:17:40 +13:00
|
|
|
}
|
|
|
|
|
2020-12-20 16:54:46 +13:00
|
|
|
::marker {
|
2020-12-22 18:39:55 +13:00
|
|
|
color: var(--accent);
|
2020-12-20 16:54:46 +13:00
|
|
|
}
|
|
|
|
|
2020-12-21 18:49:31 +13:00
|
|
|
.replies > .comment {
|
|
|
|
margin-left: -20px;
|
2020-12-22 14:17:40 +13:00
|
|
|
padding: 5px;
|
2020-12-20 16:54:46 +13:00
|
|
|
}
|
|
|
|
|
2021-01-17 08:40:32 +13:00
|
|
|
.created {
|
2021-01-05 16:26:41 +13:00
|
|
|
opacity: 0.5;
|
2020-12-20 16:54:46 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.line {
|
|
|
|
width: 2px;
|
|
|
|
height: 100%;
|
|
|
|
background: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2021-01-17 12:02:24 +13: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 15:04:49 +13:00
|
|
|
/* Layouts */
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact .post:not(.highlighted) {
|
2021-01-06 15:04:49 +13:00
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact .post:first-of-type {
|
2021-01-06 15:16:32 +13:00
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact .post:last-of-type {
|
2021-01-06 15:16:32 +13:00
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-01-18 13:20:17 +13:00
|
|
|
.compact .post.highlighted { border-radius: 5px; }
|
|
|
|
.compact .post:not(:last-of-type):not(.highlighted):not(.stickied) { border-bottom: 0; }
|
2021-01-06 15:04:49 +13:00
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.compact .post_score {
|
|
|
|
padding-top: 15px;
|
2021-01-06 15:04:49 +13:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact .post_header {
|
2021-01-18 08:39:57 +13:00
|
|
|
margin: 15px 15px 2.5px 15px;
|
2021-01-06 15:04:49 +13:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.compact .post_title, .compact #post_url, .compact .post_body {
|
|
|
|
margin: 2.5px 15px;
|
2021-01-06 15:04:49 +13:00
|
|
|
}
|
|
|
|
|
2021-01-18 08:39:57 +13:00
|
|
|
.compact .post_media {
|
|
|
|
max-width: calc(100% - 30px);
|
|
|
|
margin: 2.5px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compact .post_footer {
|
|
|
|
margin: 5px 15px 15px 15px;
|
2021-01-06 15:04:49 +13:00
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact .post_thumbnail {
|
2021-01-12 11:08:12 +13:00
|
|
|
width: 75px;
|
|
|
|
height: 75px;
|
2021-01-06 15:04:49 +13:00
|
|
|
}
|
|
|
|
|
2021-01-11 10:08:36 +13:00
|
|
|
.compact footer {
|
2021-01-06 15:16:32 +13:00
|
|
|
margin-top: 20px;
|
2021-01-06 15:04:49 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Settings */
|
|
|
|
|
|
|
|
#settings {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-01-09 17:55:40 +13:00
|
|
|
#settings_note {
|
|
|
|
font-size: 14px;
|
|
|
|
max-width: 300px;
|
|
|
|
margin-top: 10px;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
2021-01-06 15:04:49 +13:00
|
|
|
#prefs {
|
|
|
|
display: flex;
|
2021-01-08 05:38:05 +13:00
|
|
|
flex-direction: column;
|
2021-01-06 15:04:49 +13:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 20px;
|
|
|
|
background: var(--post);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
2021-01-08 05:38:05 +13:00
|
|
|
#prefs > div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2021-01-09 17:55:40 +13:00
|
|
|
height: 35px;
|
2021-01-08 05:38:05 +13:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prefs > div:not(:last-of-type) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#prefs select {
|
2021-01-06 15:04:49 +13:00
|
|
|
border-radius: 5px;
|
2021-01-08 05:38:05 +13:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-06 15:04:49 +13:00
|
|
|
margin-left: 20px;
|
2021-01-11 15:15:34 +13:00
|
|
|
background: var(--foreground);
|
2021-01-06 15:04:49 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
#save {
|
|
|
|
background: var(--highlighted);
|
|
|
|
padding: 10px 15px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
2021-01-09 09:26:29 +13:00
|
|
|
input[type="submit"] {
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
2020-12-29 15:42:46 +13:00
|
|
|
/* Markdown */
|
|
|
|
|
|
|
|
.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-04 16:44:44 +13:00
|
|
|
padding-left: 6px;
|
|
|
|
margin: 4px 0 4px 5px;
|
2020-12-29 15:42:46 +13:00
|
|
|
border-left: 4px solid var(--highlighted);
|
|
|
|
}
|
|
|
|
|
2021-01-09 18:57:36 +13:00
|
|
|
.md a, .md a * {
|
2020-12-29 15:42:46 +13:00
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
|
2021-01-09 18:57:36 +13:00
|
|
|
.md .md-spoiler-text {
|
|
|
|
background: var(--highlighted);
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.md .md-spoiler-text:hover {
|
|
|
|
background: var(--foreground);
|
|
|
|
color: var(--text);
|
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
.md li { margin: 10px 0; }
|
2021-01-02 19:21:43 +13:00
|
|
|
.toc_child { list-style: none; }
|
2020-12-20 19:25:00 +13:00
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
.md pre {
|
2020-12-20 19:25:00 +13:00
|
|
|
background: var(--outside);
|
|
|
|
padding: 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
border-radius: 5px;
|
2021-01-07 07:51:13 +13:00
|
|
|
box-shadow: var(--shadow);
|
2021-01-13 06:53:10 +13:00
|
|
|
overflow: auto;
|
2020-12-20 19:25:00 +13:00
|
|
|
}
|
|
|
|
|
2021-01-04 16:44:44 +13:00
|
|
|
.md table {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
.md code {
|
2020-12-20 19:25:00 +13:00
|
|
|
font-family: monospace;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2020-12-29 15:42:46 +13:00
|
|
|
.md code:not(.md pre > code) { background: var(--highlighted); }
|
|
|
|
|
2020-10-26 15:55:00 +13:00
|
|
|
/* Tables */
|
|
|
|
|
|
|
|
table {
|
2020-12-20 16:54:46 +13:00
|
|
|
border: 3px var(--highlighted) solid;
|
2020-12-22 18:39:55 +13:00
|
|
|
border-spacing: 0;
|
2020-10-26 15:55:00 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
2020-12-20 16:54:46 +13:00
|
|
|
border: 1px var(--highlighted) solid;
|
2020-12-22 18:39:55 +13:00
|
|
|
padding: 10px;
|
2020-12-06 17:54:43 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
.post {
|
2021-01-18 08:39:57 +13:00
|
|
|
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
|
|
|
|
"post_score post_footer post_thumbnail" auto
|
|
|
|
/ auto 1fr fit-content(min(20%, 152px));
|
2020-12-06 17:54:43 +13:00
|
|
|
}
|
2021-01-18 08:39:57 +13:00
|
|
|
|
|
|
|
.post_score {
|
|
|
|
background-color: unset;
|
|
|
|
margin: 5px 0px 20px 20px;
|
|
|
|
padding: 0;
|
2021-01-05 16:26:41 +13:00
|
|
|
font-size: 14px;
|
2020-12-06 17:54:43 +13:00
|
|
|
}
|
2021-01-18 08:39:57 +13:00
|
|
|
|
|
|
|
.compact .post_score {
|
|
|
|
background-color: unset;
|
|
|
|
margin: 2.5px 0px 15px 15px;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 14px;
|
2021-01-05 16:43:35 +13:00
|
|
|
}
|
2021-01-18 08:39:57 +13:00
|
|
|
|
2021-01-18 13:20:17 +13:00
|
|
|
.post_score::before { content: "↑" }
|
|
|
|
.post:hover > .post_score { background: unset; }
|
2020-12-06 17:54:43 +13:00
|
|
|
|
2021-01-18 13:20:17 +13:00
|
|
|
.post_header { font-size: 14px; }
|
|
|
|
.post_footer { margin-left: 15px; }
|
2020-12-06 17:54:43 +13:00
|
|
|
|
2020-12-21 17:52:15 +13:00
|
|
|
.replies > .comment {
|
|
|
|
margin-left: -25px;
|
2020-12-29 15:42:46 +13:00
|
|
|
padding: 5px 0;
|
2020-12-21 17:52:15 +13:00
|
|
|
}
|
|
|
|
|
2021-01-17 08:49:49 +13:00
|
|
|
.comment_left {
|
|
|
|
min-width: 45px;
|
|
|
|
padding: 5px 0px;
|
2020-12-06 17:54:43 +13:00
|
|
|
}
|
2021-01-17 08:49:49 +13:00
|
|
|
|
|
|
|
.comment_author { margin-left: 10px; }
|
|
|
|
.comment_score { min-width: 35px; }
|
|
|
|
.comment_data::marker { font-size: 18px; }
|
|
|
|
.created { width: 100%; }
|
2020-12-24 19:16:04 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 800px) {
|
2021-01-03 17:50:23 +13:00
|
|
|
main {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
padding: 10px;
|
2021-01-08 07:46:00 +13:00
|
|
|
margin: 100px 0 10px 0;
|
2021-01-11 15:48:08 +13:00
|
|
|
max-width: 100%;
|
2021-01-03 17:50:23 +13:00
|
|
|
}
|
2021-01-04 16:44:44 +13:00
|
|
|
|
2021-01-03 17:50:23 +13:00
|
|
|
nav {
|
2021-01-18 10:24:44 +13:00
|
|
|
grid-template-areas: 'logo code' 'searchbox searchbox';
|
2021-01-03 19:40:22 +13:00
|
|
|
padding: 10px;
|
2021-01-08 07:46:00 +13:00
|
|
|
width: calc(100% - 20px);
|
2021-01-03 17:50:23 +13:00
|
|
|
}
|
2020-12-24 19:16:04 +13:00
|
|
|
|
2021-01-01 17:21:56 +13:00
|
|
|
aside, #subreddit, #user {
|
|
|
|
margin: 0;
|
2020-12-29 15:42:46 +13:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-01-01 13:45:10 +13:00
|
|
|
#user, #sidebar { margin: 20px 0; }
|
|
|
|
#logo { margin: 5px auto; }
|
|
|
|
#searchbox { width: 100%; }
|
2021-01-02 04:46:36 +13:00
|
|
|
}
|