:root {
color-scheme: light dark;
}
::marker {
color: #000;
}
@media (max-width: 65em) {
html {
font-size: 3vw;
background-color: black;
color: grey;
font-family: var(--postFont,sans-serif);
}
input[type="text"] {
font-size: 1.5rem;
}
.communitySidebar {
display: block;
}
}
@media (min-width:65em) {
html {
font-size: 1.3vw;
background-color: black;
color: grey;
font-family: var(--postFont,sans-serif);
}
}
body {
margin: 8px;
font-family: sans-serif;
padding: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.24);
}
.mainHeader {
margin: -8px -8px 0 -8px;
padding: 8px;
border-bottom: 1px solid rgba(0,0,0,.24);
box-shadow: 0 1px 3px rgba(0,0,0,.24);
background-color: #fa8181;
padding: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.24);
border-radius: 15px;
}
.mainHeader:after {
content: "";
clear: both;
display: block;
}
.mainHeader > .left {
float: left;
}
.mainHeader > .right {
float: right;
}
.mainHeader a {
text-decoration: none;
color: black;
}
.mainHeader a:hover {
text-decoration: underline;
}
.mainHeader .actionList.left > * {
margin-right: 1rem;
}
.actionList > * {
margin-right: .5rem;
}
.actionList.small {
font-size: .8rem;
}
.actionList.small > a {
color: #444;
}
.siteName {
font-weight: bold;
font-size: 1.2rem;
margin-right: 1rem;
margin-left: 1.4rem;
}
.leftLinksMobile {
position: absolute;
display: inline-block;
margin-right: 1rem;
line-height: 1.5rem;
left: 0;
}
.leftLinksMobile > summary {
margin-left: 8px;
list-style: none;
}
.leftLinksMobile > div {
background-color: #340000;
padding: .5rem;
}
.leftLinksMobile > div > * {
display: block;
}
.errorBox, .infoBox {
padding: .5rem;
display: inline-block;
margin-top: .5rem;
margin-bottom: .5rem;
}
.errorBox {
background-color: #340000;
}
.infoBox {
background-color: #340000;
}
.communitySidebar {
float: right;
width: 300px;
}
.communityBaseInfo > h2 {
margin-bottom: 0;
}
.notification-item .body {
margin-left: 1rem;
}
.notification-item.unread {
border-left: 5px solid #FDD835;
padding-left: 5px;
}
.sortOptions, .timeframeOptions {
margin-top: 1rem;
}
.sortOptions > *, .timeframeOptions > * {
margin-right: .5rem;
}
.preview {
margin-top: 1rem;
border: 1px dashed black;
}
.icon {
height: 1.2rem;
display: inline;
vertical-align: text-bottom;
}
.iconbutton {
background: none;
border: none;
padding: 0;
cursor: pointer;
}
.postContent {
border-radius: .5rem;
padding: .5rem;
margin-bottom: .5rem;
}
.votebox {
float: left;
margin-right: .5rem;
}
.comment > .content {
overflow-x: auto;
margin-bottom: 1rem;
}
.commentContent {
margin-top: .5rem;
margin-bottom: .5rem;
}
.commentList {
margin-top: .5rem;
list-style-type: none;
}
.commentList.topLevel {
padding-left: 0;
}
.sticky > .titleLine > a {
color: #558B2F;
font-weight: bold;
}
.titleLine {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
padding-right: .5rem;
overflow-y: hidden;
padding-top: 1rem;
}
.titleLine > a {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
margin-right: .5rem;
}
form.inline {
display: inline-block;
}
textarea {
width: 90%;
height: 7rem;
background-color: #0f0f0f;
margin: 1rem;
font-size: 1rem;
}
p {
margin-top: 0;
margin-bottom: 16px;
}
.contentView {
font-family: sans-serif;
color: grey;
}
code {
color:green;
}
.communitySidebar, .leftLinks {
display: none;
}
.flaggedContent {
margin-left: 2rem;
}
.pollResults {
min-width: 300px;
}
.pollResults tr {
position: relative;
}
.pollResults tr > td {
padding-left: .5rem;
padding-right: .5rem;
}
.pollResults tr > .count {
width: 3rem;
text-align: right;
font-weight: bold;
}
.pollResults tr .background {
background-color: #340000;
border-radius: .5rem;
position: absolute;
height: 100%;
z-index: -1;
left: 0;
}
.pollResults tr.selected .background {
background-color: #00BCD4;
}
#pollEnableCheckbox:not(:checked) ~ .pollArea {
display: none;
}
.pollArea {
margin-left: 1rem;
}
.bigPostTitle > .icon {
margin-right: .5rem;
}
@media (min-width: 768px) {
.communityDetailsMobile, .leftLinksMobile {
display: none !important;
}
.communitySidebar, .leftLinks {
display: inline-block;
}
.siteName {
margin-left: 0;
}
}
@media (prefers-color-scheme: dark) {
html {
background-color: #000000;
color: grey;
}
a {
color: #f00000;
}
a:visited {
color: #b90000;
}
.mainHeader, .leftLinksMobile > div {
background-color: #7d0000;
}
.mainHeader a {
color: lightgray;
}
.actionList.small > a {
color: #999;
}
.darkInvert {
filter: invert();
}
}
sj_zero@lotide.fbxl.net 1 year ago
I upgraded recently and decided to start from the newest css file. Figured I'd post my results. You can see what it looks like on https://lotide.fbxl.net/