2020-10-25 20:25:59 +00:00
|
|
|
/* General */
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
:root {
|
|
|
|
--background: #0F0F0F;
|
|
|
|
--foreground: #222;
|
|
|
|
--outside: #1F1F1F;
|
|
|
|
--post: #161616;
|
|
|
|
--highlighted: #333;
|
|
|
|
--black-contrast: 0 1px 3px rgba(0,0,0,0.5);
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
* {
|
|
|
|
transition: 0.2s all;
|
|
|
|
margin: 0px;
|
|
|
|
color: white;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
body {
|
|
|
|
background: var(--background);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
color: aqua;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--outside);
|
2020-10-25 20:25:59 +00:00
|
|
|
padding: 15px;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
2020-11-23 00:29:05 +00:00
|
|
|
#lib, #github {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
main {
|
|
|
|
max-width: 750px;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-top: 25px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
}
|
|
|
|
|
2020-11-19 21:49:32 +00:00
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:not(.post_right):hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#about {
|
|
|
|
background: #151515;
|
|
|
|
}
|
|
|
|
|
2020-12-06 05:29:25 +00:00
|
|
|
#version {
|
|
|
|
color: white;
|
|
|
|
opacity: 25%;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
/* Subreddit */
|
|
|
|
|
|
|
|
.subreddit {
|
|
|
|
max-width: 750px;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
padding-bottom: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subreddit_name {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subreddit_right {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subreddit_icon {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
border-radius: 100%;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2020-11-23 00:29:05 +00:00
|
|
|
#stats {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
/* User */
|
|
|
|
|
|
|
|
.user {
|
|
|
|
max-width: 750px;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user_right {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user_icon {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
border-radius: 100%;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sorting */
|
|
|
|
|
|
|
|
#sort {
|
|
|
|
max-width: 750px;
|
|
|
|
margin: 20px -10px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: start;
|
|
|
|
padding: 0px 10px;
|
|
|
|
}
|
|
|
|
|
2020-11-19 21:49:32 +00:00
|
|
|
#sort > div, footer > a {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--outside);
|
2020-10-25 20:25:59 +00:00
|
|
|
color: lightgrey;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-11-23 00:29:05 +00:00
|
|
|
#sort > div.selected {
|
|
|
|
background: aqua;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
#sort > div:hover {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Post */
|
|
|
|
|
|
|
|
.post {
|
|
|
|
border-radius: 5px;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--post);
|
|
|
|
box-shadow: var(--black-contrast);
|
2020-10-25 20:25:59 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post:hover {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post:hover > .post_left {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--highlighted);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_left, .post_right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-11-18 00:56:37 +00:00
|
|
|
overflow-wrap: anywhere;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_left {
|
|
|
|
text-align: center;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-10-25 20:25:59 +00:00
|
|
|
border-radius: 5px 0px 0px 5px;
|
|
|
|
min-width: 50px;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-12-07 19:20:24 +00:00
|
|
|
.post_title {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post_score {
|
|
|
|
margin-top: 1em;
|
|
|
|
color: aqua;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_right {
|
|
|
|
padding: 20px 25px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_right > * {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_right > p {
|
|
|
|
opacity: 0.75;
|
2020-12-06 04:54:43 +00:00
|
|
|
font-size: 16px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-12-01 04:33:55 +00:00
|
|
|
.post_media {
|
2020-12-06 04:54:43 +00:00
|
|
|
max-width: 90%;
|
2020-10-25 20:25:59 +00:00
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
2020-12-01 04:33:55 +00:00
|
|
|
.post_media[src=""] {
|
2020-10-25 20:25:59 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 10px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_body > p:not(:first-child) {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
|
2020-12-08 19:31:01 +00:00
|
|
|
.post_body a {
|
2020-10-25 20:25:59 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
color: aqua;
|
|
|
|
}
|
|
|
|
|
2020-12-12 04:36:06 +00:00
|
|
|
#post_url {
|
|
|
|
color: aqua;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.post_thumbnail {
|
|
|
|
object-fit: cover;
|
|
|
|
width: auto;
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 15px;
|
2020-12-06 04:54:43 +00:00
|
|
|
max-width: 20%;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post_thumbnail[src=""] {
|
2020-12-06 04:54:43 +00:00
|
|
|
display: none;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
2020-11-17 02:49:08 +00:00
|
|
|
small {
|
2020-12-06 04:54:43 +00:00
|
|
|
background: aqua;
|
|
|
|
color: black;
|
|
|
|
padding: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
2020-11-17 02:49:08 +00:00
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
/* Comment */
|
|
|
|
|
|
|
|
.comment {
|
2020-12-20 03:54:46 +00:00
|
|
|
margin-top: 1em;
|
2020-10-25 20:25:59 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
display: flex;
|
2020-12-20 03:54:46 +00:00
|
|
|
/* border: 2px solid var(--foreground); */
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment:hover {
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--post);
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_left, .comment_right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_left {
|
|
|
|
text-align: center;
|
|
|
|
min-width: 50px;
|
|
|
|
padding: 5px;
|
2020-12-20 03:54:46 +00:00
|
|
|
align-items: center;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_title {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
.comment_author {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
2020-10-25 20:25:59 +00:00
|
|
|
.comment_upvote {
|
2020-11-23 19:33:43 +00:00
|
|
|
margin-top: 0.5em;
|
|
|
|
border-radius: 5px 5px 0px 0px;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
2020-11-23 19:33:43 +00:00
|
|
|
width: 40px;
|
|
|
|
padding: 10px 0px 0px 0px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_subreddit {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_score {
|
|
|
|
color: aqua;
|
2020-12-20 03:54:46 +00:00
|
|
|
background: var(--foreground);
|
|
|
|
min-width: 40px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 10px 0px;
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment_right {
|
2020-10-26 02:05:09 +00:00
|
|
|
word-wrap: anywhere;
|
2020-12-20 03:54:46 +00:00
|
|
|
padding: 10px 25px 10px 5px;
|
2020-10-25 20:25:59 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
.comment_data > * {
|
2020-10-25 20:25:59 +00:00
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_image {
|
|
|
|
max-width: 500px;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_image[src=""] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body {
|
|
|
|
opacity: 0.9;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 10px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body > p:not(:first-child) {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment_body a {
|
|
|
|
text-decoration: underline;
|
|
|
|
color: aqua;
|
2020-10-26 02:55:00 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 03:54:46 +00:00
|
|
|
::marker {
|
|
|
|
color: aqua;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.datetime {
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line {
|
|
|
|
width: 2px;
|
|
|
|
height: 100%;
|
|
|
|
background: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2020-11-23 19:33:43 +00:00
|
|
|
.post.comment {
|
|
|
|
background: #000;
|
2020-12-20 03:54:46 +00:00
|
|
|
border: 2px solid var(--foreground);
|
2020-11-23 19:33:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post.comment > .post_left {
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
|
2020-10-26 02:55:00 +00:00
|
|
|
/* Tables */
|
|
|
|
|
|
|
|
table {
|
2020-12-20 03:54:46 +00:00
|
|
|
border: 3px var(--highlighted) solid;
|
2020-10-26 02:55:00 +00:00
|
|
|
border-spacing: 0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
2020-12-20 03:54:46 +00:00
|
|
|
border: 1px var(--highlighted) solid;
|
2020-10-26 02:55:00 +00:00
|
|
|
padding: 0.5em;
|
2020-12-06 04:54:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
.post {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_left {
|
|
|
|
border-radius: 0px 0px 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_right {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_score {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post_thumbnail {
|
|
|
|
max-width: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.datetime {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-10-25 20:25:59 +00:00
|
|
|
}
|