nasg/templates/style-dark.css
Peter Molnar 074e80289c - simplifications
- re-added future support
- fix for exists of category
- new footer
- footnote display fixes
2018-07-25 13:24:31 +01:00

583 lines
9.4 KiB
CSS

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
transition: all 0.2s;
padding: 0;
margin: 0;
}
html,
.content-footer,
.content-header {
position: relative;
background-color: #111;
color: #bbb;
}
html, body {
min-height: 100%;
font-family: "Liberation Sans", sans-serif;
color: #ccc;
background-color: #222;
font-size: 102%;
}
hr {
border: none;
border-top: 1px solid #777;
margin: 1em 0;
clear:both;
}
a {
color: #5193D4;
border-bottom: 1px solid transparent;
text-decoration: none;
}
a:hover {
color: #71B3F4;
border-bottom: 1px solid #71B3F4;
}
ul,
ol {
margin-left: 2em;
}
dd {
margin-left: 1em;
}
dt {
font-weight: bold;
margin: 1em 0;
}
li {
margin: 0.3em 0;
}
p {
margin: 1.2em 0;
line-height: 1.3em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 1em 0 0.6em 0;
padding: 0.3em 0;
line-height: 1.2em;
}
h1 {
font-size: 1.6em;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.2em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 1em;
}
h6 {
font-size: 1em;
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
td,
th {
padding: 0.3em;
border: 1px solid #111;
text-align:left;
}
th {
font-weight: bold;
background-color: #222;
}
tr:nth-child(odd) {
background-color: #333;
}
tr:nth-child(even) {
background-color: #444;
}
blockquote {
margin: 0.6em;
padding-left: 0.6em;
border-left: 3px solid #999;
color: #999;
}
input {
border: none;
border-bottom: 3px solid #999;
background-color: transparent;
color: #ccc;
}
input:focus,
input:hover {
border-bottom: 3px solid #fff;
color: #fff;
}
code,
pre,
q {
font-family: "Courier New", "Courier", monospace;
font-size: 0.94em;
}
code,
pre {
color: limegreen;
background-color: #222;
border: 1px solid #666;
direction: ltr;
text-align: left;
tab-size: 2;
}
pre code {
border: none;
}
pre {
overflow: auto;
padding: 0.6em;
}
code {
padding: 0.1em;
}
.codehilite .hll { background-color: #222222 }
.codehilite { background: #000000; color: #cccccc }
.codehilite .c { color: #000080 }
.codehilite .err { color: #cccccc; border: 1px solid #FF0000 }
.codehilite .esc { color: #cccccc }
.codehilite .g { color: #cccccc }
.codehilite .k { color: #cdcd00 }
.codehilite .l { color: #cccccc }
.codehilite .n { color: #cccccc }
.codehilite .o { color: #3399cc }
.codehilite .x { color: #cccccc }
.codehilite .p { color: #cccccc }
.codehilite .ch { color: #000080 }
.codehilite .cm { color: #000080 }
.codehilite .cp { color: #000080 }
.codehilite .cpf { color: #000080 }
.codehilite .c1 { color: #000080 }
.codehilite .cs { color: #cd0000; font-weight: bold }
.codehilite .gd { color: #cd0000 }
.codehilite .ge { color: #cccccc; font-style: italic }
.codehilite .gr { color: #FF0000 }
.codehilite .gh { color: #000080; font-weight: bold }
.codehilite .gi { color: #00cd00 }
.codehilite .go { color: #888888 }
.codehilite .gp { color: #000080; font-weight: bold }
.codehilite .gs { color: #cccccc; font-weight: bold }
.codehilite .gu { color: #800080; font-weight: bold }
.codehilite .gt { color: #0044DD }
.codehilite .kc { color: #cdcd00 }
.codehilite .kd { color: #00cd00 }
.codehilite .kn { color: #cd00cd }
.codehilite .kp { color: #cdcd00 }
.codehilite .kr { color: #cdcd00 }
.codehilite .kt { color: #00cd00 }
.codehilite .ld { color: #cccccc }
.codehilite .m { color: #cd00cd }
.codehilite .s { color: #cd0000 }
.codehilite .na { color: #cccccc }
.codehilite .nb { color: #cd00cd }
.codehilite .nc { color: #00cdcd }
.codehilite .no { color: #cccccc }
.codehilite .nd { color: #cccccc }
.codehilite .ni { color: #cccccc }
.codehilite .ne { color: #666699; font-weight: bold }
.codehilite .nf { color: #cccccc }
.codehilite .nl { color: #cccccc }
.codehilite .nn { color: #cccccc }
.codehilite .nx { color: #cccccc }
.codehilite .py { color: #cccccc }
.codehilite .nt { color: #cccccc }
.codehilite .nv { color: #00cdcd }
.codehilite .ow { color: #cdcd00 }
.codehilite .w { color: #cccccc }
.codehilite .mb { color: #cd00cd }
.codehilite .mf { color: #cd00cd }
.codehilite .mh { color: #cd00cd }
.codehilite .mi { color: #cd00cd }
.codehilite .mo { color: #cd00cd }
.codehilite .sa { color: #cd0000 }
.codehilite .sb { color: #cd0000 }
.codehilite .sc { color: #cd0000 }
.codehilite .dl { color: #cd0000 }
.codehilite .sd { color: #cd0000 }
.codehilite .s2 { color: #cd0000 }
.codehilite .se { color: #cd0000 }
.codehilite .sh { color: #cd0000 }
.codehilite .si { color: #cd0000 }
.codehilite .sx { color: #cd0000 }
.codehilite .sr { color: #cd0000 }
.codehilite .s1 { color: #cd0000 }
.codehilite .ss { color: #cd0000 }
.codehilite .bp { color: #cd00cd }
.codehilite .fm { color: #cccccc }
.codehilite .vc { color: #00cdcd }
.codehilite .vg { color: #00cdcd }
.codehilite .vi { color: #00cdcd }
.codehilite .vm { color: #00cdcd }
.codehilite .il { color: #cd00cd }
.limit,
.content-body {
max-width: 86ch;
margin: 0 auto;
padding: 0.6em;
}
.icon {
transform: rotate(0deg);
width: 16px;
height: 16px;
display: inline-block;
fill: currentColor;
overflow: visible;
vertical-align:text-top;
margin: 0 0.1em;
}
.content-header {
font-size: 1.1em;
text-align:center;
padding: 0 0 1em 0;
}
.content-navigation ul {
list-style-type: none;
margin: 0;
}
.content-navigation ul li {
display: inline-block;
padding-right: 0.6em;
}
.content-header a {
font-weight: bold;
border-bottom: 3px solid transparent !important;;
color: #ccc !important;;
}
.content-header a:hover {
border-bottom: 3px solid #fefefe !important;;
}
.content-navigation ul li a.active {
border-bottom: 3px solid #ccc !important;
}
.content-navigation ul li a svg {
display:block;
margin: 0.1em auto;
}
.search-form label {
display: none;
}
.search-form {
margin: 0.6em;
}
.search-form .search-field {
width: 10em;
}
.contrast {
position: absolute;
top:0.6em;
right: 0.6em;
margin: 0;
padding: 0;
}
.contrast.active {
transform: rotate(180deg);
}
@media all and (min-width: 56em) {
.content-header {
display: flex;
justify-content: space-between;
padding: 0.6em 0.3em;
}
.content-navigation ul li a {
padding-bottom: 0.1em;
}
.content-navigation ul li a svg {
display:inline-block;
}
.search-form {
margin: 0.3em 2em 0 auto;
}
.contrast {
top:1em;
}
}
figure {
position:relative;
overflow: hidden;
margin: 2em 0;
}
figure figcaption {
padding: 0.3em 0;
text-align: center;
}
.adaptimg {
display: block;
max-height: 98vh;
max-width: 100%;
width:auto;
height:auto;
margin: 0 auto;
padding: 0;
border: 1px solid #000;
}
.h-feed figcaption {
display: none;
}
.exif {
font-size: 0.8em;
margin: 0.3em 0;
}
.exif dt {
display: none;
}
.exif dd {
display: inline-block;
margin: 0 0.6em 0 0;
padding: 0.3em 0;
}
.exif .icon {
width: 1em;
}
.footnote-ref {
border: 0;
white-space: nowrap;
margin-left: 0.2em;
}
.footnote-ref::before {
content: '[';
}
.footnote-ref::after {
content: ']';
}
.footnote ol li p {
margin: 0;
padding: 0;
}
.footnote ol li a {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
max-width: 80%;
}
.footnote ol li a[href^="#"] {
margin-left: 0.6em;
max-width: 20%;
font-size: 0.6em;
}
.footnote ol li a[href^="#"]:after {
content: "back to text";
margin-left: 0.2em;
color: #666;
}
.footnote ol li a[href^="#"]:hover:after {
color: #ccc;
}
.twothird {
display: inline-block;
width: 65%;
vertical-align:text-top;
}
.onethird {
display: inline-block;
width: 33%;
vertical-align:text-top;
}
.content-footer {
margin-top: 2em;
padding: 1em 0;
color: #999;
}
.content-footer h2 {
display: none;
color: #999;
}
.content-footer a {
color: #999;
}
.content-footer a:hover {
color: #fff;
}
.content-footer dl {
position: relative;
}
.content-footer dt {
display: block;
}
.content-footer dd {
display: block;
margin: -2.3em 0 0 4em;
}
.content-footer img {
width: 1em;
}
body svg,
body script {
display: none;
}
.p-author img {
height: 1em;
width: auto;
}
.reactions dt {
display: none;
}
.reactions ul {
list-style-type: none;
margin: 0;
}
.h-feed h2,
.h-entry.singular .e-content h2 {
border-bottom: 2px solid #999;
}
.h-feed h3,
.h-entry.singular .e-content h3 {
border-bottom: 1px dotted #777;
}
.h-feed > h1 {
display: none;
}
.h-feed h3 {
font-size: 1.1em;
}
.h-entry.singular h1 a {
color: #ccc;
}
.pagination {
margin: 2em 0 0 0;
font-size: 1.4em;
}
.pagination ul {
list-style-type: none;
text-align: center;
}
.pagination li {
display: inline-block;
padding: 0.3em 0.6em;
}
.pagination .current {
color: #999;
}
.follow {
display: block;
text-align: right;
}
.donation ul {
list-style-type: none;
margin: 0;
}
.donation li {
padding: 0.3em;
}
.donation li a {
color: #999;
border-bottom: 3px solid #933 !important;
}
.donation li a:hover {
color: #fff;
border-bottom: 3px solid #c66 !important;
}
.webring {
padding: 2em 0 0 0;
text-align: center;
}