teddit/static/css/styles.css

1694 lines
32 KiB
CSS
Raw Permalink Normal View History

2020-11-17 21:44:32 +01:00
:root {
2021-01-10 15:07:38 +01:00
--sm-font: 0.666rem;
--lightgray: #f5f5f5;
--whitebg: #ffffff;
--linkcolor: #0645ad;
--lightlinkcolor: #406bb3;
--graytext: #6f6f6f;
2020-11-17 21:44:32 +01:00
}
* {
2021-01-10 15:07:38 +01:00
padding: 0;
margin: 0;
font-family: sans-serif;
2020-11-17 21:44:32 +01:00
}
2020-11-17 21:44:32 +01:00
a {
2021-01-10 15:07:38 +01:00
color: var(--linkcolor);
text-decoration: none;
2020-11-17 21:44:32 +01:00
}
a:hover, a:focus {
2021-01-10 15:07:38 +01:00
color: var(--linkcolor);
text-decoration: underline;
2020-11-17 21:44:32 +01:00
}
.green {
2021-01-10 15:07:38 +01:00
color: green;
2020-11-17 21:44:32 +01:00
}
.word-break {
2021-01-10 15:07:38 +01:00
overflow-wrap: anywhere;
2020-11-17 21:44:32 +01:00
}
.top-links {
2021-01-10 15:07:38 +01:00
width: 100%;
float: left;
overflow: hidden;
2021-01-17 17:44:57 +01:00
position: relative;
2020-11-17 21:44:32 +01:00
}
.upvotes .arrow, .score .arrow {
2021-01-10 15:07:38 +01:00
background: url(/css/sprite.png);
background-position: -84px -1654px;
background-repeat: no-repeat;
margin: 2px 0 2px 0;
2021-01-10 15:07:38 +01:00
width: 100%;
height: 14px;
display: block;
width: 15px;
margin-left: auto;
margin-right: auto;
outline: none;
2020-11-17 21:44:32 +01:00
}
.upvotes .arrow.down, .score .arrow.down {
2021-01-10 15:07:38 +01:00
background-position: -42px -1654px;
background-repeat: no-repeat;
2020-11-17 21:44:32 +01:00
}
#topbar {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
nav {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
background: #170019;
2020-11-17 21:44:32 +01:00
}
nav .settings {
2021-01-10 15:07:38 +01:00
float: right;
padding-right: 20px;
padding-top: 10px;
font-size: 0.81rem;
2020-12-30 21:36:49 +01:00
}
nav .settings a {
2021-01-10 15:07:38 +01:00
font-size: 0.81rem;
margin-left: 18px;
2020-11-17 21:44:32 +01:00
}
nav .settings .icon-container {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
nav a {
2021-01-10 15:07:38 +01:00
color: white;
2020-11-17 21:44:32 +01:00
}
nav .nav-item.left {
2021-01-10 15:07:38 +01:00
float: left;
padding: 10px;
2020-11-17 21:44:32 +01:00
}
nav .nav-item.left a {
2021-01-10 15:07:38 +01:00
font-size: 15px;
font-weight: initial;
2020-11-17 21:44:32 +01:00
}
2021-01-20 16:43:02 +01:00
nav .nav-item.left img {
width: 20px;
vertical-align: bottom;
margin: 0 7px 0 0;
2021-01-20 16:43:02 +01:00
}
2020-12-30 21:36:49 +01:00
nav .nav-item.left a:hover
nav .nav-item.left a:focus {
2021-01-10 15:07:38 +01:00
color: white;
2020-11-17 21:44:32 +01:00
}
2020-12-30 21:36:49 +01:00
nav a:hover,
nav a:focus {
2021-01-10 15:07:38 +01:00
color: white;
text-decoration: underline;
2020-11-17 21:44:32 +01:00
}
.top-links a {
2021-01-10 15:07:38 +01:00
padding-right: 6px;
font-size: 0.76rem;
color: black;
background: #e8e8e8;
color: #040404;
text-transform: uppercase;
2020-11-17 21:44:32 +01:00
}
#intro {
2021-01-10 15:07:38 +01:00
float: left;
2021-01-22 19:05:06 +01:00
width: calc(100% - 40px);
2021-01-10 15:07:38 +01:00
margin-bottom: 25px;
margin-left: 20px;
2020-11-17 21:44:32 +01:00
}
.container {
2021-01-10 15:07:38 +01:00
margin: 0 auto;
min-height: 100vh;
padding-top: 90px;
2020-11-17 21:44:32 +01:00
}
.container .content {
2021-01-10 15:07:38 +01:00
max-width: 600px;
width: 100%;
margin: 0 auto;
margin-top: 0;
2021-01-10 15:07:38 +01:00
margin-top: 10px;
padding: 10px 15px;
border: 1px solid black;
2020-11-17 21:44:32 +01:00
}
.container .content h1 {
2021-01-10 15:07:38 +01:00
padding-bottom: 20px;
padding-top: 11px;
2020-11-17 21:44:32 +01:00
}
.container .content h2 {
2021-01-10 15:07:38 +01:00
padding-top: 30px;
padding-bottom: 10px;
2020-11-17 21:44:32 +01:00
}
.container .content p {
2021-01-10 15:07:38 +01:00
line-height: 1.4;
padding-bottom: 5px;
2020-11-17 21:44:32 +01:00
}
2020-11-21 13:50:12 +01:00
form legend {
border-bottom: 1px solid #e3e3e3;
margin-bottom: 10px;
padding-bottom: 10px;
2021-01-08 21:39:46 +01:00
margin-top: 40px;
font-weight: bold;
}
form legend:first-child {
margin-top: 0;
2020-11-21 13:50:12 +01:00
}
2020-12-24 22:13:08 +01:00
form .setting {
margin: 10px 0;
2021-01-10 15:07:38 +01:00
width: 100%;
2020-12-24 22:13:08 +01:00
}
.export-import-form input {
margin: 10px 0px 10px 0px;
}
.bottom-prefs {
margin: 60px 0px 0px 0px;
}
.container .content small.notice {
2021-01-10 15:07:38 +01:00
padding-top: 20px;
padding-bottom: 5px;
display: inline-block;
2020-11-21 13:50:12 +01:00
}
2020-11-17 21:44:32 +01:00
.container .content p.version {
2021-01-10 15:07:38 +01:00
text-align: right;
color: #4f4f4f;
2020-11-17 21:44:32 +01:00
}
.container .content ul {
2021-01-10 15:07:38 +01:00
padding-left: 25px;
2020-11-17 21:44:32 +01:00
}
.content .bottom {
2021-01-10 15:07:38 +01:00
text-align: center;
padding-top: 40px;
2020-11-17 21:44:32 +01:00
}
header {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
padding-top: 15px;
margin-bottom: 21px;
margin-top: 2px;
background: gainsboro;
2020-11-17 21:44:32 +01:00
}
header a {
2021-01-10 15:07:38 +01:00
color: black;
font-size: 0.8rem;
float: left;
vertical-align: bottom;
2020-11-17 21:44:32 +01:00
}
header a.main {
2021-01-10 15:07:38 +01:00
margin-left: 12px;
2020-11-17 21:44:32 +01:00
}
2021-01-29 19:41:32 +01:00
header h3.username {
margin: 0px 15px 0px 0px;
}
2020-11-17 21:44:32 +01:00
header .bottom {
2021-01-10 15:07:38 +01:00
float: left;
overflow: hidden;
padding-top: 7px;
padding-left: 19px;
2020-11-17 21:44:32 +01:00
}
header a.subreddit {
2021-01-10 15:07:38 +01:00
text-transform: uppercase;
font-size: 0.7rem;
margin-right: 12px;
2020-11-17 21:44:32 +01:00
}
2020-12-05 14:18:07 +01:00
header a.subreddit h2 {
2021-01-10 15:07:38 +01:00
overflow-wrap: anywhere;
2020-12-05 14:18:07 +01:00
}
2020-11-17 21:44:32 +01:00
header .tabmenu {
2021-01-10 15:07:38 +01:00
float: left;
overflow: hidden;
list-style: none;
padding: 0;
margin: 0;
2020-11-17 21:44:32 +01:00
}
header .tabmenu li {
2021-01-10 15:07:38 +01:00
float: left;
width: auto;
overflow: hidden;
padding: 0;
margin: 0;
2020-11-17 21:44:32 +01:00
}
header .tabmenu li a {
2021-01-10 15:07:38 +01:00
padding: 2px 8px 2px 8px;
background: #5a5a5a;
color: white;
margin-right: 8px;
2020-11-17 21:44:32 +01:00
}
header .tabmenu li.active a {
2021-01-10 15:07:38 +01:00
background: black;
2020-11-17 21:44:32 +01:00
}
2021-01-04 12:43:14 +01:00
.view-more-links {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
2021-01-04 12:43:14 +01:00
.view-more-links a {
2021-01-10 15:07:38 +01:00
margin-left: 20px;
padding: 1px 4px;
background: #eee;
border: 1px solid #ddd;
border-radius: 3px;
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
2020-12-04 18:10:33 +01:00
.green {
2021-01-10 15:07:38 +01:00
color: green !important;
2020-12-04 18:10:33 +01:00
}
2020-12-23 15:52:51 +01:00
.tag {
display: inline-block;
border: 1px solid;
padding: 0 4px;
margin: 2px 6px 0 0;
2020-12-23 15:52:51 +01:00
border-radius: 3px;
font-size: 0.68rem;
}
.tag.nsfw {
border-color: #d10023;
color: #d10023;
}
2020-12-28 00:16:45 +01:00
.nsfw-warning {
text-align: center;
float: left;
width: 100%;
margin: 40px 0;
2020-12-28 00:16:45 +01:00
}
.nsfw-warning span {
font-size: 3rem;
background: #ff575b;
border-radius: 130px;
display: inline-block;
padding: 39px 20px 39px 20px;
color: white;
}
.nsfw-warning h2 {
margin: 20px 0;
2020-12-28 00:16:45 +01:00
}
.nsfw-warning a {
margin: 20px;
display: inline-block;
background: #4f86b5;
color: white;
padding: 16px;
}
2020-11-21 13:50:12 +01:00
input[type="submit"],
.btn {
2021-01-10 15:07:38 +01:00
padding: 3px;
margin-top: 7px;
margin-right: 10px;
border-radius: 0;
2021-01-10 15:07:38 +01:00
border: 1px solid #a5a5a5;
background: white;
color: #464646;
font-size: 13px;
2020-11-21 13:50:12 +01:00
}
input[type="submit"]:focus,
input[type="submit"]:hover,
.btn:focus,
.btn:hover {
2021-01-10 15:07:38 +01:00
background: #4c4c4c;
color: white;
cursor: pointer;
text-decoration: none;
2020-11-21 13:50:12 +01:00
}
2021-03-28 16:35:45 +02:00
.reddit-error {
text-align: center;
float: left;
width: 100%;
padding: 37px 0px 20px 0px;
}
2020-12-28 21:45:17 +01:00
footer {
padding: 10px;
margin: 2.5% 0 0;
2021-01-10 15:07:38 +01:00
background: #e1e1e1;
float: left;
width: calc(100% - 20px);
text-align: center;
2020-12-28 21:45:17 +01:00
}
footer a {
2021-01-10 15:07:38 +01:00
color: #646464;
font-size: 0.85rem;
text-decoration: underline;
2020-12-28 21:45:17 +01:00
}
2020-11-21 13:50:12 +01:00
/* SUBREDDIT LINKS */
2020-11-17 21:44:32 +01:00
#links {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
#links.sr {
2021-01-10 15:07:38 +01:00
float: left;
width: 75%;
min-height: 100vh;
2020-11-17 21:44:32 +01:00
}
#links details {
2021-01-10 15:07:38 +01:00
float: left;
width: auto;
cursor: pointer;
margin-bottom: 20px;
margin-left: 20px;
2020-11-17 21:44:32 +01:00
}
#links details ul li.active a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
#links details li.active a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
#links details ul {
2021-01-10 15:07:38 +01:00
padding-left: 30px;
margin-bottom: 20px;
2020-11-17 21:44:32 +01:00
}
#links .link {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
margin-bottom: 16px;
2020-11-17 21:44:32 +01:00
}
#links .link .upvotes {
2021-01-10 15:07:38 +01:00
float: left;
width: 60px;
text-align: center;
color: #c6c6c6;
font-weight: bold;
font-size: small;
2020-11-17 21:44:32 +01:00
}
#links .link .image .no-image, #user .entry .image .no-image {
2021-01-10 15:07:38 +01:00
float: left;
font-size: 0;
margin-bottom: 2px;
margin-right: 5px;
margin-top: 0;
margin-left: 0;
overflow: hidden;
width: 70px;
background-image: url(/css/sprite.png);
background-position: 0 -1267px;
2021-01-10 15:07:38 +01:00
background-repeat: no-repeat;
height: 50px;
2020-11-17 21:44:32 +01:00
}
#links .link .image {
2021-01-10 15:07:38 +01:00
width: 80px;
max-height: 80px;
float: left;
text-align: center;
2021-09-04 14:35:49 +02:00
position: relative;
}
#links .link .image .duration {
left: 0;
background: gray;
position: absolute;
background-color: rgba(0,0,0,0.6);
color: white;
bottom: 0px;
font-size: var(--sm-font);
width: 100%;
text-align: center;
2020-11-17 21:44:32 +01:00
}
#links .link .image img {
2021-01-10 15:07:38 +01:00
width: auto;
height: auto;
max-width: 80px;
max-height: 80px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry {
2021-01-10 15:07:38 +01:00
float: left;
width: calc(100% - 148px);
margin-left: 8px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .title span {
2021-01-10 15:07:38 +01:00
color: #757575;
font-size: x-small;
display: inline-block;
padding-left: 13px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .title a {
2021-01-10 15:07:38 +01:00
font-size: 0.8rem;
2021-01-17 21:37:46 +01:00
overflow-wrap: anywhere;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .title a:hover {
2021-01-10 15:07:38 +01:00
text-decoration: none;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .title a h2 {
2021-01-10 15:07:38 +01:00
display: initial;
font-size: 16px;
color: var(--linkcolor);
font-size: medium;
font-weight: normal;
2020-11-17 21:44:32 +01:00
}
2021-01-01 00:02:06 +01:00
#links .link .entry .title a:visited h2 {
2021-01-10 15:07:38 +01:00
color: #6f6f6f;
2021-01-01 00:02:06 +01:00
}
2020-11-17 21:44:32 +01:00
#links .link .entry .meta {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
color: #757575;
font-size: x-small;
margin-top: 2px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .meta a {
2021-01-10 15:07:38 +01:00
color: var(--lightlinkcolor);
padding-left: 3px;
padding-right: 3px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .meta .deleted {
2021-01-10 15:07:38 +01:00
margin-left: 0 !important;
padding-left: 5px;
padding-right: 3px;
}
2020-11-17 21:44:32 +01:00
#links .link .entry .meta p {
2021-01-10 15:07:38 +01:00
float: inherit;
overflow-wrap: anywhere;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .meta p.submitted span {
2021-01-10 15:07:38 +01:00
margin-left: 4px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .meta .submitted a {
2021-01-10 15:07:38 +01:00
text-decoration: none;
padding-left: 5px;
2020-11-17 21:44:32 +01:00
}
2020-12-23 15:52:51 +01:00
#links .link .entry .meta .links {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
margin-top: 1px;
2020-11-17 21:44:32 +01:00
}
2020-12-23 15:52:51 +01:00
#links .link .entry .meta .links a {
2021-01-10 15:07:38 +01:00
padding: 0;
color: #888;
font-weight: bold;
2021-02-06 20:17:36 +01:00
margin: 0px 15px 0px 0px;
2020-11-17 21:44:32 +01:00
}
#links .link .entry .meta a:hover {
2021-01-10 15:07:38 +01:00
text-decoration: underline;
2020-11-17 21:44:32 +01:00
}
#links.search .link .meta {
2021-01-10 15:07:38 +01:00
font-size: small;
2020-11-17 21:44:32 +01:00
}
#links.search .link .meta a {
2021-01-10 15:07:38 +01:00
margin-right: 6px;
margin-left: 6px;
2020-11-17 21:44:32 +01:00
}
#links.search .link .meta a.comments {
margin-left: 0;
2020-11-17 21:44:32 +01:00
}
2021-01-19 17:36:31 +01:00
#links .link .entry .meta .links .selftext a {
color: var(--linkcolor);
font-weight: initial;
}
#links .link .entry .selftext {
unicode-bidi: isolate;
background-color: #fafafa;
border: 1px solid #369;
border-radius: 7px;
padding: 5px 10px;
margin: 10px auto 5px 0;
font-size: 0.84rem;
max-width: 60em;
word-wrap: break-word;
float: left;
width: calc(100% - 100px);
2021-01-19 17:27:54 +01:00
margin-right: 11000px;
overflow: hidden;
2021-01-19 17:36:31 +01:00
cursor: initial;
}
#links .link .entry details {
margin: 0 10px 0 0;
font-size: 0.7rem;
}
#links .link .entry details[open] {
width: 100%;
}
#links .link .entry details summary {
font-size: 0.833rem;
list-style-type: none;
padding: 4px;
}
#links .link .entry details > summary::-webkit-details-marker {
display: none;
}
#links .link .entry details summary:hover {
text-decoration: underline;
cursor: pointer;
}
#links .link .entry details .line {
width: 16px;
margin-top: 3px;
background: #979797;
border: 1px solid #b3b0b0;
}
#links .link .entry details .line:first-child {
margin-top: 0;
}
#links .link .entry details.preview-container img {
max-height: 600px !important;
}
2020-11-21 13:50:12 +01:00
/* COMMENTS */
2020-11-17 21:44:32 +01:00
.comment {
2021-01-10 15:07:38 +01:00
font-size: 0.83rem;
clear: left;
2020-11-17 21:44:32 +01:00
}
.comment summary {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
.comment .meta {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
.comment .meta p {
2021-01-10 15:07:38 +01:00
float: left;
padding-right: 8px;
color: var(--graytext);
2020-11-17 21:44:32 +01:00
}
.comment .meta p.author a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
margin-left: 10px;
2020-11-17 21:44:32 +01:00
}
.comment .meta .created a {
2021-01-10 15:07:38 +01:00
color: var(--graytext);
2020-11-17 21:44:32 +01:00
}
.comment .meta span.controversial {
2021-01-10 15:07:38 +01:00
font-size: var(--sm-font);
display:inline-block;
vertical-align: baseline;
position: relative;
top: -0.4em;
}
2020-11-17 21:44:32 +01:00
.comment .body {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
padding-top: 20px;
padding-bottom: 20px;
2020-11-17 21:44:32 +01:00
}
.comment details {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
padding-top: 15px;
2020-11-17 21:44:32 +01:00
}
.comment .comment:first-child {
2021-01-10 15:07:38 +01:00
width: calc(100% - 30px);
2020-11-17 21:44:32 +01:00
}
2020-12-05 14:21:05 +01:00
.comment {
2021-01-10 15:07:38 +01:00
padding-left: 30px;
width: auto;
overflow: hidden;
background: var(--whitebg);
2020-12-05 14:21:05 +01:00
}
2021-05-24 20:39:28 +02:00
.commententry .comment {
padding-left: 0;
}
2020-11-17 21:44:32 +01:00
.comment details summary {
2021-01-10 15:07:38 +01:00
float: left;
font-size: 0.833rem;
list-style-type: none;
color: #313131;
}
.comment details > summary::-webkit-details-marker {
2021-01-10 15:07:38 +01:00
display: none;
}
.comment details > summary::before {
2021-01-10 15:07:38 +01:00
content: '[+]';
font-size: 0.9rem;
padding-right: 10px;
}
.comment details[open] > summary::before {
2021-01-10 15:07:38 +01:00
content: '[]';
padding-right: 5px;
2020-11-17 21:44:32 +01:00
}
.comment details summary:hover {
2021-01-10 15:07:38 +01:00
text-decoration: underline;
cursor: pointer;
2020-11-17 21:44:32 +01:00
}
.comment details summary a,.comment details summary p {
2021-01-10 15:07:38 +01:00
display: none;
2020-11-17 21:44:32 +01:00
}
.comment details:not([open]) summary a, .comment details:not([open]) summary p {
2021-01-10 15:07:38 +01:00
display: initial;
opacity: 0.5;
2020-11-17 21:44:32 +01:00
}
.comment details summary:hover {
2021-01-10 15:07:38 +01:00
text-decoration: underline;
cursor: pointer;
}
.comment details summary a,.comment details summary p {
2021-01-10 15:07:38 +01:00
display: none;
}
.comment details:not([open]) summary a, .comment details:not([open]) summary p {
2021-01-10 15:07:38 +01:00
display: initial;
opacity: 0.5;
2020-11-17 21:44:32 +01:00
}
.comment .body blockquote {
2021-01-10 15:07:38 +01:00
border-left: 2px solid #D6D5CF;
display: block;
background-color: #EEE;
margin: 5px 5px !important;
padding: 5px;
color: #333;
font-style: italic;
2020-11-17 21:44:32 +01:00
}
.comment .md {
2021-01-10 15:07:38 +01:00
max-width: 60em;
2020-11-17 21:44:32 +01:00
}
.even-depth {
2021-01-10 15:07:38 +01:00
background: var(--whitebg);
2020-12-05 14:21:05 +01:00
}
.odd-depth {
2021-01-10 15:07:38 +01:00
background: var(--lightgray);
2020-12-05 14:21:05 +01:00
}
.comment .comment {
2021-01-10 15:07:38 +01:00
border-left: 1px solid #dcdcdc;
margin-top: 10px;
2020-12-05 14:21:05 +01:00
}
.infobar {
2021-01-10 15:07:38 +01:00
background-color: #f6e69f;
margin: 5px 305px 5px 11px;
padding: 5px 10px;
float: left;
width: calc(100% - 50px);
2020-11-17 21:44:32 +01:00
}
.infobar.blue {
2021-01-10 15:07:38 +01:00
background: #eff8ff;
border: 1px solid #93abc2;
2020-12-27 18:56:27 +01:00
}
.infobar.explore {
margin-bottom: 15px;
}
.explore#links .link {
padding-left: 10%;
}
.explore#links .link .sub-button {
float: left;
margin: 7px 0;
width: 90px;
}
.explore#links .link .content {
float: left;
width: calc(100% - 120px);
}
2021-01-17 17:44:57 +01:00
.explore#links .link .description {
font-size: 0.86rem;
}
#sr-more-link {
color: black;
background-color: #f0f0f0;
position: absolute;
right: 0;
top: 0;
padding: 0 15px 0 15px;
margin: 3px 0;
2021-01-17 17:44:57 +01:00
font-weight: bold;
}
/* POST */
#post {
min-height: 100vh;
}
#post .info {
float: left;
width: 100%;
}
2021-02-06 20:17:36 +01:00
#post .info .links a {
font-size: var(--sm-font);
}
2021-02-06 20:35:28 +01:00
#post .info .links a {
float: initial;
}
2020-11-17 21:44:32 +01:00
#post header {
padding-top: 0;
2020-11-17 21:44:32 +01:00
}
#post header div {
padding: 20px 0 20px 20px;
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
#post header div a {
2021-01-10 15:07:38 +01:00
color: #222;
text-decoration: underline;
font-size: 1rem;
2020-11-17 21:44:32 +01:00
}
#post .score, #user .upvotes {
2021-01-10 15:07:38 +01:00
float: left;
width: 60px;
text-align: center;
color: #c6c6c6;
font-weight: bold;
font-size: small;
2020-11-17 21:44:32 +01:00
}
#post .ratio {
font-size: 0.6rem;
display: block;
padding: 4px 0px 5px 0px;
}
2020-11-17 21:44:32 +01:00
#post .title {
2021-01-10 15:07:38 +01:00
float: left;
width: calc(100% - 60px);
2020-11-17 21:44:32 +01:00
}
#post .title a {
2021-01-10 15:07:38 +01:00
font-size: var(--sm-font);
color: var(--linkcolor);
float: left;
2020-11-17 21:44:32 +01:00
}
2020-12-04 22:33:40 +01:00
#post .title .domain {
2021-01-10 15:07:38 +01:00
color: gray;
font-size: 12px;
margin-left: 10px;
2020-12-04 22:33:40 +01:00
}
2020-11-17 21:44:32 +01:00
#post .submitted {
2021-01-10 15:07:38 +01:00
font-size: small;
color: #686868;
2020-11-17 21:44:32 +01:00
}
2021-02-06 20:35:28 +01:00
#post .submitted a {
float: initial;
}
#post .submitted a,
#post .submitted span {
2021-01-10 15:07:38 +01:00
margin-left: 5px;
2020-11-17 21:44:32 +01:00
}
#post .comments {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
2020-12-18 18:54:05 +01:00
#post .comments-info {
2021-01-10 15:07:38 +01:00
float: left;
width: calc(100% - 30px);
margin: 10px 0 10px 30px;
2020-12-18 18:54:05 +01:00
}
2020-12-23 12:41:10 +01:00
#post .comments-sort details {
2021-01-10 15:07:38 +01:00
float: left;
width: auto;
cursor: pointer;
margin-bottom: 10px;
2020-12-23 12:41:10 +01:00
}
#post .comments-sort details ul li.active a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-12-23 12:41:10 +01:00
}
#post .comments-sort details li.active a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-12-23 12:41:10 +01:00
}
#post .comments-sort details {
2021-01-10 15:07:38 +01:00
font-size: 0.8rem;
2020-12-23 12:41:10 +01:00
}
#post .comments-sort details ul {
2021-01-10 15:07:38 +01:00
margin-left: 20px;
2020-12-23 12:41:10 +01:00
}
2020-11-22 14:09:43 +01:00
#post .comment .meta p.stickied {
2021-01-10 15:07:38 +01:00
color: green;
2020-11-22 14:09:43 +01:00
}
#post .comment .meta p.author a,
#post .comment .meta p.author span {
2021-01-10 15:07:38 +01:00
font-weight: initial;
margin-left: 10px;
2020-11-17 21:44:32 +01:00
}
#post .comment .meta p.author a.submitter {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
#post .comment .body {
padding-top: 0;
2021-01-10 15:07:38 +01:00
padding-bottom: 13px;
2020-11-17 21:44:32 +01:00
}
#post .usertext-body {
2021-01-10 15:07:38 +01:00
unicode-bidi: isolate;
font-size: small;
background-color: #fafafa;
border: 1px solid #369;
border-radius: 7px;
padding: 5px 10px;
margin: 10px auto 5px 60px;
font-size: 0.84rem;
max-width: 60em;
word-wrap: break-word;
float: left;
width: calc(100% - 100px);
2020-11-17 21:44:32 +01:00
}
#post .comment .load-more-comments {
2021-01-10 15:07:38 +01:00
float: left;
margin-bottom: 11px;
margin-top: 11px;
font-weight: bold;
font-size: 11px;
2020-11-17 21:44:32 +01:00
}
#post .image {
2021-01-10 15:07:38 +01:00
padding-left: 60px;
max-width: 100%;
2020-11-17 21:44:32 +01:00
}
#post .image img, #post .video video {
2021-01-10 15:07:38 +01:00
max-height: 700px;
max-width: 100%;
2020-11-17 21:44:32 +01:00
}
#post .video {
2021-01-10 15:07:38 +01:00
float: left;
width: calc(100% - 60px);
margin-left: 60px;
max-width: 100%;
max-height: 100%;
2020-11-17 21:44:32 +01:00
}
#post .video .title a {
2021-01-10 15:07:38 +01:00
font-size: 1rem;
2020-11-17 21:44:32 +01:00
}
#post .youtube-info {
2021-01-10 15:07:38 +01:00
font-size: 9px;
2020-11-17 21:44:32 +01:00
}
#post .crosspost {
2021-01-10 15:07:38 +01:00
overflow: hidden;
background: var(--whitebg);
border: 1px solid #C6C6C6;
border-radius: 4px;
max-width: 600px;
margin-left: 60px;
2020-11-17 21:44:32 +01:00
}
#post .crosspost .title {
2021-01-10 15:07:38 +01:00
width: 100%;
margin: 15px;
margin-bottom: 0;
2020-11-17 21:44:32 +01:00
}
#post .crosspost .num_comments {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
font-size: small;
margin-left: 15px;
margin-bottom: 15px;
2020-11-17 21:44:32 +01:00
}
#post .crosspost .submitted,#post .crosspost .to {
2021-01-10 15:07:38 +01:00
float: left;
width: auto;
margin-right: ;
font-size: small;
color: #686868;
2020-11-17 21:44:32 +01:00
}
#post .crosspost .submitted a,#post .crosspost .to a {
2021-01-10 15:07:38 +01:00
margin-right: 6px;
margin-left: 6px;
font-size: small;
2020-11-17 21:44:32 +01:00
}
#post .gallery {
2021-01-10 15:07:38 +01:00
float: left;
margin: 10px auto auto 60px;
2020-11-17 21:44:32 +01:00
}
#post .gallery .item {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
#post .gallery .item div {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
padding-bottom: 0;
2020-11-17 21:44:32 +01:00
}
#post .gallery .item a {
2021-01-10 15:07:38 +01:00
float: left;
overflow: hidden;
2020-11-17 21:44:32 +01:00
}
#post .gallery .item a.source-link {
2021-01-10 15:07:38 +01:00
margin-top: -5px;
2020-11-17 21:44:32 +01:00
}
#post .gallery .item small {
2021-01-10 15:07:38 +01:00
font-size: 10px;
2020-11-17 21:44:32 +01:00
}
#post .source-url {
2021-01-10 15:07:38 +01:00
overflow-wrap: anywhere;
}
2021-03-21 22:59:10 +01:00
#post .usertext-body .poll {
padding: 20px;
2021-03-21 23:04:54 +01:00
border: 1px solid #369;
2021-03-21 22:59:10 +01:00
margin: 10px 0px 20px 0px;
float: left;
width: calc(100% - 20%);
position: relative;
}
#post .usertext-body .poll .option {
float: left;
width: 100%;
position: relative;
margin: 0px 0px 15px 0px;
}
#post .usertext-body .poll .option .vote_count {
float: left;
width: 20%;
position: relative;
z-index: 22;
padding: 10px;
}
#post .usertext-body .poll .option .text {
position: relative;
width: 80%;
z-index: 22;
display: initial;
padding: 10px 0px 0px 0px;
line-height: initial;
display: block;
}
#post .usertext-body .poll .option .background {
position: absolute;
background: #7171718c;
height: 100%;
float: left;
width: 100%;
position: absolute;
z-index: 1;
}
#post .usertext-body .poll .votes {
font-size: 1rem;
padding: 10px 0px 10px 0px;
}
2020-11-21 13:50:12 +01:00
/* USER */
2020-11-17 21:44:32 +01:00
#user .entries {
2021-01-10 15:07:38 +01:00
float: left;
width: 80%;
min-height: 100vh;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry {
2021-01-10 15:07:38 +01:00
padding-left: 5px;
padding-top: 10px;
padding-bottom: 15px;
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry:first-child {
padding-top: 0;
2020-11-17 21:44:32 +01:00
}
#user .info {
2021-01-10 15:07:38 +01:00
float: right;
width: 20%;
text-align: center;
2020-11-17 21:44:32 +01:00
}
2021-03-22 19:28:27 +01:00
#user .info img {
max-width: 50%;
max-height: 190px;
}
2020-11-25 16:56:18 +01:00
#user .info h1 {
2021-01-10 15:07:38 +01:00
font-size: 1.1rem;
overflow-wrap: anywhere;
2020-11-25 16:56:18 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta .title,
#user .entries .commententry .meta .author,
#user .entries .commententry .meta .subreddit,
#user .entries .commententry .meta .flair {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta a {
2021-01-10 15:07:38 +01:00
margin-right: 5px;
margin-left: 5px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title a {
margin-left: 0;
2021-01-10 15:07:38 +01:00
font-size: 0.86rem;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta .author,#user .entries .commententry .meta .subreddit {
2021-01-10 15:07:38 +01:00
font-size: 11px;
margin-top: 3px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta .author a {
2021-01-10 15:07:38 +01:00
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry details {
2021-01-10 15:07:38 +01:00
padding-top: 2px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry details a.context,
#user .commententry details a.comments {
2021-01-10 15:07:38 +01:00
float: left;
2021-01-05 20:06:18 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry .meta p.ups,#user .commententry .meta p.created {
2021-01-10 15:07:38 +01:00
font-size: var(--sm-font);
padding-right: 5px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta .created a {
2021-01-10 15:07:38 +01:00
color: var(--graytext);
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry.t3 .title .meta {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry.t3 .title a {
2021-01-10 15:07:38 +01:00
margin-bottom: 3px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry.t3 .upvotes {
2021-01-10 15:07:38 +01:00
float: left;
width: 60px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry.t3 .image {
2021-01-10 15:07:38 +01:00
float: left;
width: 80px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry.t3 .title {
2021-01-10 15:07:38 +01:00
width: calc(100% - 200px);
float: left;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .commententry .meta .author {
margin-top: 0;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry .meta p {
padding-right: 0;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry .body {
2021-01-10 15:07:38 +01:00
padding-top: 4px;
padding-bottom: 0;
2020-11-17 21:44:32 +01:00
}
#user .info .user-stat span {
2021-01-10 15:07:38 +01:00
font-weight: bold;
font-size: 1.1rem;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry details summary {
2021-01-10 15:07:38 +01:00
font-size: var(--sm-font);
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry details summary p {
2021-01-10 15:07:38 +01:00
margin-right: 5px;
margin-left: 5px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .commententry details summary a {
2021-01-10 15:07:38 +01:00
margin-left: 5px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .image,#user .entries .commententry .upvotes,#user .entries .commententry .title,#user .entries .commententry .meta {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .image {
margin-left: 0;
2021-01-10 15:07:38 +01:00
margin-right: 8px;
position: relative;
2020-11-17 21:44:32 +01:00
}
2021-05-24 21:18:50 +02:00
#user .entries .link .image a span {
2021-01-10 15:07:38 +01:00
bottom: 0;
background: #0000005e;
left: 0;
width: 100%;
text-align: center;
color: white;
font-size: var(--sm-font);
margin-bottom: 4px;
2020-11-17 21:44:32 +01:00
}
2021-09-04 14:35:49 +02:00
#user .entries .link .image a span {
bottom: 0;
background: #0000005e;
left: 0;
width: 100%;
text-align: center;
color: white;
font-size: var(--sm-font);
}
2021-05-24 21:18:50 +02:00
#user .entries .link .image img {
2021-01-10 15:07:38 +01:00
max-width: 80px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title a {
2021-01-10 15:07:38 +01:00
float: left;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title .meta {
2021-01-10 15:07:38 +01:00
width: 100%;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title .meta a {
2021-01-10 15:07:38 +01:00
float: initial;
font-weight: bold;
font-size: var(--sm-font);
margin-left: 5px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title .meta a.subreddit {
2021-01-10 15:07:38 +01:00
font-weight: unset;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title .meta .submitted {
2021-01-10 15:07:38 +01:00
font-size: var(--sm-font);
color: var(--graytext);
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .meta .title {
2021-01-10 15:07:38 +01:00
margin-left: 20px;
2020-11-17 21:44:32 +01:00
}
#user #links {
2021-01-10 15:07:38 +01:00
border-bottom: 1px dotted gray;
padding-bottom: 5px;
margin-bottom: 30px;
margin-top: 30px;
2020-11-17 21:44:32 +01:00
}
#user #links details {
2021-01-10 15:07:38 +01:00
margin-left: 25px;
font-size: 0.8rem;
2020-11-17 21:44:32 +01:00
}
#user #links details ul {
2021-01-10 15:07:38 +01:00
margin-left: 20px;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry a.comments, #user .entries .commententry a.context {
2021-01-10 15:07:38 +01:00
color: gray;
font-size: var(--sm-font);
font-weight: bold;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry .title .meta a.comments {
margin-left: 0;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry a.comments.t1,#user .entries .commententry a.context {
margin-top: 0;
2020-11-17 21:44:32 +01:00
}
2021-05-24 20:39:28 +02:00
#user .entries .commententry a.context {
2021-01-10 15:07:38 +01:00
margin-right: 10px;
2020-11-17 21:44:32 +01:00
}
2020-12-21 12:27:31 +01:00
/* FLAIR */
2020-12-21 12:33:43 +01:00
.flair,
#links .link .entry .title span.flair,
#post .info .title span.flair {
2020-12-21 12:27:31 +01:00
display: inline-block;
border-radius: 4px;
color: #404040;
background-color: #e8e8e8;
font-size: x-small;
margin-left: 10px;
padding: 0 2px;
}
#post .comments .flair,
#user .comment .meta .flair {
2021-01-10 15:07:38 +01:00
margin-left: 0 !important;
2020-12-21 12:27:31 +01:00
}
#links .link .entry .meta p.submitted .flair,
#user .comment .meta .flair,
#user .entries p.submitted .flair {
2021-01-10 15:07:38 +01:00
margin-right: 4px;
2020-12-21 12:27:31 +01:00
}
.flair .emoji {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
height: 16px;
width: 16px;
vertical-align: middle;
}
2020-11-29 21:52:26 +01:00
/* SIDEBAR */
#sidebar {
box-sizing: border-box;
2021-01-10 15:07:38 +01:00
float: left;
width: 25%;
padding-left: 20px;
2020-11-29 21:52:26 +01:00
}
#sidebar .content {
2021-01-10 15:07:38 +01:00
float: left;
font-size: smaller;
padding-right: 15px;
2021-01-17 21:37:46 +01:00
width: calc(100% - 15px);
2020-11-29 21:52:26 +01:00
}
2021-01-08 21:39:46 +01:00
.subreddit-listing {
margin: 8px 0;
2021-01-10 15:07:38 +01:00
list-style: none;
2021-01-08 21:39:46 +01:00
}
.subreddit-listing li {
margin: 15px 0;
2021-01-08 21:39:46 +01:00
}
#sidebar .mod-list {
float: left;
width: auto;
margin-top: 25px;
}
#sidebar .mod-list ul {
padding: 7px 0px 0px 20px;
}
#sidebar .mod-list li a {
float: left;
}
2020-11-29 21:52:26 +01:00
#sidebar .content .description {
2021-01-10 15:07:38 +01:00
margin-top: 38px;
2020-11-29 21:52:26 +01:00
}
2021-01-08 21:39:46 +01:00
a.sub-to-subreddit {
color: #f9f9f9;
background: #007900;
font-size: var(--sm-font);
padding: 6px 8px 6px 8px;
margin: 0 5px 0 0;
2021-01-08 21:39:46 +01:00
}
a.sub-to-subreddit:hover,
a.sub-to-subreddit:focus {
color: white !important;
}
a.sub-to-subreddit.gray {
background: gray;
}
.subscribe {
margin: 0 0px 30px 0;
2021-01-08 21:39:46 +01:00
width: 100%;
float: left;
}
2020-11-21 13:50:12 +01:00
/* SEARCH */
2020-11-17 21:44:32 +01:00
#search {
2021-01-10 15:07:38 +01:00
margin-bottom: 50px;
float: left;
width: calc(25% - 60px);
2020-11-17 21:44:32 +01:00
}
#search.sr {
2021-01-10 15:07:38 +01:00
width: calc(100% - 60px);
margin-top: 0;
2020-11-17 21:44:32 +01:00
}
2020-12-01 18:56:54 +01:00
#search.sr.search-page {
2021-01-10 15:07:38 +01:00
width: auto;
margin-left: 20px;
margin-top: 40px;
2020-12-01 18:56:54 +01:00
}
#search.explore {
width: calc(100% - 60px);
margin-left: 20px;
margin-bottom: 15px;
}
2020-11-17 21:44:32 +01:00
#search form {
2021-01-10 15:07:38 +01:00
max-width: 600px;
2020-11-17 21:44:32 +01:00
}
#search form div {
2021-01-10 15:07:38 +01:00
float: left;
width: 100%;
margin-top: 5px;
margin-bottom: 5px;
2020-11-17 21:44:32 +01:00
}
#search form input[type="text"] {
2021-01-10 15:07:38 +01:00
width: 100%;
2020-11-17 21:44:32 +01:00
}
#search form label {
2021-01-10 15:07:38 +01:00
float: left;
overflow-wrap: anywhere;
2020-11-17 21:44:32 +01:00
}
#search form label input {
2021-01-10 15:07:38 +01:00
float: left;
margin-right: 10px;
2020-11-17 21:44:32 +01:00
}
#search input[type="text"] {
2021-01-10 15:07:38 +01:00
padding: 4px;
border: 1px solid #a5a5a5;
border-radius: 0;
2021-01-10 15:07:38 +01:00
margin-bottom: 11px;
2020-11-17 21:44:32 +01:00
}
/* SUGGESTED SUBREDDITS ON SEARCH PAGES */
.suggested-subreddits {
margin: 0px 0px 30px 1%;
}
.suggested-subreddits h3 {
border-bottom: 1px solid #7d7d7d;
max-width: 820px;
margin: 0px 0px 16px 10px;
padding: 0px 0px 5px 0px;
font-size: 0.9rem;
}
.suggested-subreddits .sub-button {
margin: 0px 0px 7px 0px;
}
.suggested-subreddits .description {
font-size: 0.8rem;
}
2020-11-21 13:50:12 +01:00
/* REDDIT STYLES */
2020-11-17 21:44:32 +01:00
.md .md-spoiler-text {
2021-01-10 15:07:38 +01:00
border-radius:2px;
transition:background ease-out 1s;
2020-11-17 21:44:32 +01:00
}
.md .md-spoiler-text>* {
2021-01-10 15:07:38 +01:00
transition:opacity ease-out 1s;
2020-11-17 21:44:32 +01:00
}
.md .md-spoiler-text:not(.revealed) {
2021-01-10 15:07:38 +01:00
background:#4f4f4f;
cursor:pointer;
color:transparent;
2020-11-17 21:44:32 +01:00
}
.md .md-spoiler-text:not(.revealed)>* {
2021-01-10 15:07:38 +01:00
opacity:0;
2020-11-17 21:44:32 +01:00
}
.md .md-spoiler-text.revealed {
2021-01-10 15:07:38 +01:00
background:rgba(79,79,79,0.1);
2020-11-17 21:44:32 +01:00
}
.spoiler-text-tooltip {
2021-01-10 15:07:38 +01:00
border-radius:4px;
font-size:11px;
line-height:16px;
pointer-events:none;
2020-11-17 21:44:32 +01:00
}
.spoiler-text-tooltip.hover-bubble {
2021-01-10 15:07:38 +01:00
padding:3px 6px;
2020-11-17 21:44:32 +01:00
}
.md-container-small,.md-container {
2021-01-10 15:07:38 +01:00
unicode-bidi:isolate;
font-size:small;
2020-11-17 21:44:32 +01:00
}
.md {
2021-01-10 15:07:38 +01:00
color:#222222;
max-width:60em;
overflow-wrap:break-word;
word-wrap:break-word
2020-11-17 21:44:32 +01:00
}
.md .-headers,.md h1,.md h2,.md h3,.md h4,.md h5,.md h6 {
2021-01-10 15:07:38 +01:00
border:0;
color:inherit;
-webkit-font-smoothing:antialiased;
2020-11-17 21:44:32 +01:00
}
.md .-headers code,.md h1 code,.md h2 code,.md h3 code,.md h4 code,.md h5 code,.md h6 code {
2021-01-10 15:07:38 +01:00
font-size:inherit;
2020-11-17 21:44:32 +01:00
}
.md blockquote,.md del {
2021-01-10 15:07:38 +01:00
color:#4f4f4f;
2020-11-17 21:44:32 +01:00
}
.md a {
2021-01-10 15:07:38 +01:00
color: var(--linkcolor);
text-decoration:none;
2020-11-17 21:44:32 +01:00
}
.md a del {
2021-01-10 15:07:38 +01:00
color:inherit;
2020-11-17 21:44:32 +01:00
}
.md h6 {
2021-01-10 15:07:38 +01:00
text-decoration:underline;
2020-11-17 21:44:32 +01:00
}
.md em {
2021-01-10 15:07:38 +01:00
font-style:italic;
font-weight:inherit;
2020-11-17 21:44:32 +01:00
}
.md th,.md strong,.md .-headers,.md h1,.md h2,.md h3,.md h4,.md h5,.md h6 {
2021-01-10 15:07:38 +01:00
font-weight:600;
font-style:inherit;
2020-11-17 21:44:32 +01:00
}
.md h2,.md h4 {
2021-01-10 15:07:38 +01:00
font-weight:500;
2020-11-17 21:44:32 +01:00
}
.md,.md h6 {
2021-01-10 15:07:38 +01:00
font-weight:400;
2020-11-17 21:44:32 +01:00
}
.md * {
2021-01-10 15:07:38 +01:00
margin-left:0;
margin-right:0;
2020-11-17 21:44:32 +01:00
}
.md tr,.md code,.md .-cells,.md .-lists,.md .-blocks,.md .-headers,.md h1,.md h2,.md h3,.md h4,.md h5,.md h6,.md th,.md td,.md ul,.md ol,.md .-lists,.md pre,.md blockquote,.md table,.md p,.md ul,.md ol {
2021-01-10 15:07:38 +01:00
margin:0;
padding:0;
2020-11-17 21:44:32 +01:00
}
.md hr {
2021-01-10 15:07:38 +01:00
border:0;
color:transparent;
background:#c5c1ad;
height:2px;
padding:0;
2020-11-17 21:44:32 +01:00
}
.md blockquote {
2021-01-10 15:07:38 +01:00
border-left:2px solid #c5c1ad;
2020-11-17 21:44:32 +01:00
}
.md code,.md pre {
2021-01-10 15:07:38 +01:00
border:1px solid #e6e6de;
background-color:#fcfcfb;
border-radius:2px;
2020-11-17 21:44:32 +01:00
}
.md code {
2021-01-10 15:07:38 +01:00
margin:0 2px;
white-space:nowrap;
word-break:normal;
2020-11-17 21:44:32 +01:00
}
.md p code {
2021-01-10 15:07:38 +01:00
line-height:1em;
2020-11-17 21:44:32 +01:00
}
.md pre {
2021-01-10 15:07:38 +01:00
overflow:auto;
2020-11-17 21:44:32 +01:00
}
.md pre code {
2021-01-10 15:07:38 +01:00
white-space:pre;
background-color:transparent;
border:0;
display:block;
padding:0!important;
2020-11-17 21:44:32 +01:00
}
.md td,.md th {
2021-01-10 15:07:38 +01:00
border:1px solid #e5e3da;
text-align:left;
2020-11-17 21:44:32 +01:00
}
.md td[align=center],.md th[align=center] {
2021-01-10 15:07:38 +01:00
text-align:center;
2020-11-17 21:44:32 +01:00
}
.md td[align=right],.md th[align=right] {
2021-01-10 15:07:38 +01:00
text-align:right;
2020-11-17 21:44:32 +01:00
}
.md img {
2021-01-10 15:07:38 +01:00
max-width:100%;
2020-11-17 21:44:32 +01:00
}
.md ul {
2021-01-10 15:07:38 +01:00
list-style-type:disc;
2020-11-17 21:44:32 +01:00
}
.md ol {
2021-01-10 15:07:38 +01:00
list-style-type:decimal;
2020-11-17 21:44:32 +01:00
}
.md blockquote {
2021-01-10 15:07:38 +01:00
padding:0 8px;
margin-left:5px;
2020-11-17 21:44:32 +01:00
}
.md code {
2021-01-10 15:07:38 +01:00
padding:0 4px;
2020-11-17 21:44:32 +01:00
}
.md pre,.md .-cells,.md th,.md td {
2021-01-10 15:07:38 +01:00
padding:4px 9px;
2020-11-17 21:44:32 +01:00
}
.md .-lists,.md ul,.md ol {
2021-01-10 15:07:38 +01:00
padding-left:40px;
2020-11-17 21:44:32 +01:00
}
.md sup {
2021-01-10 15:07:38 +01:00
font-size:0.86em;
line-height:0;
2020-11-17 21:44:32 +01:00
}
code {
2021-01-10 15:07:38 +01:00
font-family:monospace,monospace;
2020-11-17 21:44:32 +01:00
}
.md {
2021-01-10 15:07:38 +01:00
font-size:1.0769230769230769em;
2020-11-17 21:44:32 +01:00
}
.md h1,.md h2 {
2021-01-10 15:07:38 +01:00
font-size:1.2857142857142858em;
line-height:1.3888888888888888em;
margin-top:0.8333333333333334em;
margin-bottom:0.8333333333333334em
2020-11-17 21:44:32 +01:00
}
.md h3,.md h4 {
2021-01-10 15:07:38 +01:00
font-size:1.1428571428571428em;
line-height:1.25em;
margin-top:0.625em;
margin-bottom:0.625em
2020-11-17 21:44:32 +01:00
}
.md h5,.md h6 {
2021-01-10 15:07:38 +01:00
font-size:1em;
line-height:1.4285714285714286em;
margin-top:0.7142857142857143em;
margin-bottom:0.35714285714285715em;
2020-11-17 21:44:32 +01:00
}
.md .-blocks,.md .-lists,.md pre,.md blockquote,.md table,.md p,.md ul,.md ol {
2021-01-10 15:07:38 +01:00
margin-top:0.35714285714285715em;
margin-bottom:0.35714285714285715em;
2020-11-17 21:44:32 +01:00
}
.md textarea,.md .-text,.md p,.md pre>code,.md th,.md td,.md li {
2021-01-10 15:07:38 +01:00
font-size:1em;
line-height:1.4285714285714286em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md,.side .md {
2021-01-10 15:07:38 +01:00
font-size:0.9230769230769231em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md h1,.side .md h1,.md-container-small .md h2,.side .md h2 {
2021-01-10 15:07:38 +01:00
font-size:1.5em;
line-height:1.3888888888888888em;
margin-top:0.5555555555555556em;
margin-bottom:0.5555555555555556em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md h3,.side .md h3,.md-container-small .md h4,.side .md h4 {
2021-01-10 15:07:38 +01:00
font-size:1.3333333333333333em;
line-height:1.25em;
margin-top:0.625em;
margin-bottom:0.625em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md h5,.side .md h5,.md-container-small .md h6,.side .md h6 {
2021-01-10 15:07:38 +01:00
font-size:1.1666666666666667em;
line-height:1.4285714285714286em;
margin-top:0.7142857142857143em;
margin-bottom:0.35714285714285715em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md .-blocks,.side .md .-blocks,.md-container-small .md .-lists,.side .md .-lists,.md-container-small .md pre,.side .md pre,.md-container-small .md blockquote,.side .md blockquote,.md-container-small .md table,.side .md table,.md-container-small .md p,.side .md p,.md-container-small .md ul,.side .md ul,.md-container-small .md ol,.side .md ol {
2021-01-10 15:07:38 +01:00
margin-top:0.4166666666666667em;
margin-bottom:0.4166666666666667em;
2020-11-17 21:44:32 +01:00
}
.md-container-small .md .-text,.side .md .-text,.md-container-small .md p,.side .md p,.md-container-small .md pre>code,.side .md pre>code,.md-container-small .md th,.side .md th,.md-container-small .md td,.side .md td,.md-container-small .md li,.side .md li {
2021-01-10 15:07:38 +01:00
font-size:1em;
line-height:1.25em;
2020-11-17 21:44:32 +01:00
}
2021-01-05 02:41:57 +01:00
/* REDDIT WIKI STYLES */
.wiki-content {
margin:15px;
float: left;
width: calc(100% - 30px);
font-size: 0.8rem;
}
.wiki-content .pagelisting {
font-size:1.2em;
font-weight:bold;
color:black;
padding-left:25px
}
.wiki-content .pagelisting ul {
list-style:disc;
padding:2px;
padding-left:10px
}
.wiki-content .description {
padding-bottom:5px
}
.wiki-content .description h2 {
color:#222
}
2021-04-11 12:10:19 +02:00
.wiki-content ul.wikipagelisting {
padding: 0px 0px 0px 30px;
}
2021-01-05 02:41:57 +01:00
.wiki-content .wikirevisionlisting .generic-table {
width:100%
}
.wiki-content .wikirevisionlisting table tr td {
padding-right:15px
}
.wiki-content .wikirevisionlisting .revision.deleted {
opacity:.5;
text-decoration:line-through
}
.wiki-content .wikirevisionlisting .revision.hidden {
opacity:.5
}
.wiki-content .wikirevisionlisting .revision.hidden td {
opacity:inherit
}
.wiki-content .wiki.md {
max-width:none
}
.wiki-content .wiki>.toc>ul {
float:right;
padding:11px 22px;
margin:0 0 11px 22px;
border:1px solid #8D9CAA;
list-style:none;
max-width:300px
}
.wiki-content .wiki>.toc>ul ul {
margin:4px 0;
padding-left:22px;
border-left:1px dotted #cce;
list-style:none
}
.wiki-content .wiki>.toc>ul li {
margin:0
}
.wiki-content .fancy-settings .toggle {
display:inline-block;
padding-right:15px
}
.wiki-content #wiki_revision_reason {
padding:2px;
margin-left:0;
width:100%
}
.wiki-content .wiki_button {
padding:2px
}
.wiki-content .throbber {
margin-bottom:-5px
}
.wiki-content .discussionlink {
display:inline-block;
margin-left:15px;
padding-right:50px;
margin-top:5px
}
.wiki-content .discussionlink a {
padding-left:15px
}
.wiki-content .markhelp {
max-width:500px;
font-size:1.2em;
padding:4px;
margin:5px 0
}
2020-11-21 13:50:12 +01:00
/* Fix spoiler texts not showing without JS */
2020-11-17 21:44:32 +01:00
.md .md-spoiler-text:not(.revealed):active,.md .md-spoiler-text:not(.revealed):focus,.md .md-spoiler-text:not(.revealed):hover {
2021-01-10 15:07:38 +01:00
color: black;
background: #fff0;
transition: none;
2020-11-17 21:44:32 +01:00
}
.md .md-spoiler-text:not(.revealed):active *,
.md .md-spoiler-text:not(.revealed):focus *,
.md .md-spoiler-text:not(.revealed):hover * {
opacity: 1;
}
2021-01-09 13:29:57 +01:00
@media only screen and (max-width: 768px) {
#user .info {
2021-01-10 15:07:38 +01:00
float: right;
width: 100%;
text-align: center;
margin: 0 0px 20px 0;
2021-01-09 13:29:57 +01:00
}
#user .entries {
2021-01-10 15:07:38 +01:00
float: left;
width: calc(100% - 20px);
min-height: 100vh;
2021-01-09 13:29:57 +01:00
}
2021-01-19 17:27:54 +01:00
#links .link .entry .selftext {
width: calc(100% - 10%);
}
2021-01-09 13:29:57 +01:00
}
2020-11-17 21:44:32 +01:00
@media only screen and (max-width: 600px) {
#sidebar {
width: 100%;
2020-11-28 09:55:18 +01:00
}
#sidebar .content {
padding-left: 20px;
padding-right: 20px;
}
2021-01-17 21:37:46 +01:00
#sidebar .content {
float: left;
font-size: smaller;
padding-right: 15px;
width: calc(100% - 60px);
}
#search {
margin-left: 20px;
margin-top: 30px;
}
#search.sr {
margin-top: 30px;
2021-01-10 15:07:38 +01:00
}
#links.sr {
width: calc(100% - 10px);
}
#search form {
width: 240px;
}
2020-12-04 22:33:40 +01:00
.comment {
padding-left: 2.5%;
}
.comment details > summary::before {
2021-01-10 15:07:38 +01:00
content: '[ + ]';
font-size: 1.25rem;
}
.comment details[open] > summary::before {
2021-01-10 15:07:38 +01:00
content: '[ ]';
font-size: 1.25rem;
}
.comment details summary {
margin-right: 20px;
margin-bottom: 10px;
}
.comment summary::-webkit-details-marker {
font-size: 1.25rem
2021-01-10 15:07:38 +01:00
}
#post .usertext-body {
margin-left: 2.5%;
margin-right: 2.5%;
width: calc(100% - 10%);
}
#post .image {
padding: 2.5%;
}
#post .video {
margin: 5px 2.5%;
width: 95%;
}
#post .video .title {
width: 100%;
}
#post .video-holder a img {
width: 100%;
}
.info .submitted {
margin: auto auto 2.5% 2.5%;
}
#post .crosspost {
margin: auto 2.5%;
}
a.sub-to-subreddit {
padding: 8px 10px 8px 10px;
}
.explore#links .link {
padding-left: 5px;
}
.explore#links .link .sub-button {
margin: 7px 0;
width: 90px;
}
.explore#links .link .entry {
width: calc(100% - 20px);
}
#links .link .entry details[open] .preview {
width: 100vw;
transform: translateX(-150px);
}
#links .link .entry .selftext {
width: calc(100vw - 40px);
transform: translateX(-150px);
margin-left: 10px;
}
2020-11-17 21:44:32 +01:00
}