nasg/templates/style-dark.css
Peter Molnar bff9513eaf v4.0a
2018-07-20 16:45:42 +01:00

554 lines
11 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 } /* Comment */
.codehilite .err { color: #cccccc; border: 1px solid #FF0000 } /* Error */
.codehilite .esc { color: #cccccc } /* Escape */
.codehilite .g { color: #cccccc } /* Generic */
.codehilite .k { color: #cdcd00 } /* Keyword */
.codehilite .l { color: #cccccc } /* Literal */
.codehilite .n { color: #cccccc } /* Name */
.codehilite .o { color: #3399cc } /* Operator */
.codehilite .x { color: #cccccc } /* Other */
.codehilite .p { color: #cccccc } /* Punctuation */
.codehilite .ch { color: #000080 } /* Comment.Hashbang */
.codehilite .cm { color: #000080 } /* Comment.Multiline */
.codehilite .cp { color: #000080 } /* Comment.Preproc */
.codehilite .cpf { color: #000080 } /* Comment.PreprocFile */
.codehilite .c1 { color: #000080 } /* Comment.Single */
.codehilite .cs { color: #cd0000; font-weight: bold } /* Comment.Special */
.codehilite .gd { color: #cd0000 } /* Generic.Deleted */
.codehilite .ge { color: #cccccc; font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #FF0000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #00cd00 } /* Generic.Inserted */
.codehilite .go { color: #888888 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { color: #cccccc; font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #cdcd00 } /* Keyword.Constant */
.codehilite .kd { color: #00cd00 } /* Keyword.Declaration */
.codehilite .kn { color: #cd00cd } /* Keyword.Namespace */
.codehilite .kp { color: #cdcd00 } /* Keyword.Pseudo */
.codehilite .kr { color: #cdcd00 } /* Keyword.Reserved */
.codehilite .kt { color: #00cd00 } /* Keyword.Type */
.codehilite .ld { color: #cccccc } /* Literal.Date */
.codehilite .m { color: #cd00cd } /* Literal.Number */
.codehilite .s { color: #cd0000 } /* Literal.String */
.codehilite .na { color: #cccccc } /* Name.Attribute */
.codehilite .nb { color: #cd00cd } /* Name.Builtin */
.codehilite .nc { color: #00cdcd } /* Name.Class */
.codehilite .no { color: #cccccc } /* Name.Constant */
.codehilite .nd { color: #cccccc } /* Name.Decorator */
.codehilite .ni { color: #cccccc } /* Name.Entity */
.codehilite .ne { color: #666699; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #cccccc } /* Name.Function */
.codehilite .nl { color: #cccccc } /* Name.Label */
.codehilite .nn { color: #cccccc } /* Name.Namespace */
.codehilite .nx { color: #cccccc } /* Name.Other */
.codehilite .py { color: #cccccc } /* Name.Property */
.codehilite .nt { color: #cccccc } /* Name.Tag */
.codehilite .nv { color: #00cdcd } /* Name.Variable */
.codehilite .ow { color: #cdcd00 } /* Operator.Word */
.codehilite .w { color: #cccccc } /* Text.Whitespace */
.codehilite .mb { color: #cd00cd } /* Literal.Number.Bin */
.codehilite .mf { color: #cd00cd } /* Literal.Number.Float */
.codehilite .mh { color: #cd00cd } /* Literal.Number.Hex */
.codehilite .mi { color: #cd00cd } /* Literal.Number.Integer */
.codehilite .mo { color: #cd00cd } /* Literal.Number.Oct */
.codehilite .sa { color: #cd0000 } /* Literal.String.Affix */
.codehilite .sb { color: #cd0000 } /* Literal.String.Backtick */
.codehilite .sc { color: #cd0000 } /* Literal.String.Char */
.codehilite .dl { color: #cd0000 } /* Literal.String.Delimiter */
.codehilite .sd { color: #cd0000 } /* Literal.String.Doc */
.codehilite .s2 { color: #cd0000 } /* Literal.String.Double */
.codehilite .se { color: #cd0000 } /* Literal.String.Escape */
.codehilite .sh { color: #cd0000 } /* Literal.String.Heredoc */
.codehilite .si { color: #cd0000 } /* Literal.String.Interpol */
.codehilite .sx { color: #cd0000 } /* Literal.String.Other */
.codehilite .sr { color: #cd0000 } /* Literal.String.Regex */
.codehilite .s1 { color: #cd0000 } /* Literal.String.Single */
.codehilite .ss { color: #cd0000 } /* Literal.String.Symbol */
.codehilite .bp { color: #cd00cd } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #cccccc } /* Name.Function.Magic */
.codehilite .vc { color: #00cdcd } /* Name.Variable.Class */
.codehilite .vg { color: #00cdcd } /* Name.Variable.Global */
.codehilite .vi { color: #00cdcd } /* Name.Variable.Instance */
.codehilite .vm { color: #00cdcd } /* Name.Variable.Magic */
.codehilite .il { color: #cd00cd } /* Literal.Number.Integer.Long */
.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;
}
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;
}
.footnoteRef,
.footnoteRef:hover {
border: 0;
white-space: nowrap;
margin-left: 0.2em;
}
.footnotes ol li p {
margin: 0;
}
.footnotes ol li a {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
max-width: 80%;
}
.footnotes ol li a[href^="#"] {
margin-left: 0.6em;
max-width: 20%;
font-size: 0.6em;
}
.footnotes ol li a[href^="#"]:after {
content: "back to text";
margin-left: 0.2em;
color: #666;
}
.footnotes ol li a[href^="#"]:hover:after {
color: #ccc;
}
.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 * {
display: inline-block;
padding: 0;
margin: 0;
line-height: 1.6em;
}
.content-footer dd {
margin-right: 1em;
}
.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;
}