nasg/templates/style.css

585 lines
8.6 KiB
CSS
Raw Normal View History

2017-08-17 12:33:54 +01:00
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2018-06-16 18:00:43 +01:00
transition: all 0.2s;
padding: 0;
2018-06-16 18:00:43 +01:00
margin: 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
html,
.content-footer,
.content-header {
position: relative;
background-color: #111;
color: #bbb;
2017-05-23 11:21:10 +01:00
}
html, body {
min-height: 100%;
2018-06-16 17:53:42 +01:00
font-family: "Liberation Sans", "Helvetica Neue", "Roboto", "Helvetica", sans-serif;
color: #ccc;
background-color: #222;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
hr {
border: none;
border-top: 1px solid #777;
margin: 1em 0;
clear:both;
2018-06-16 17:53:42 +01:00
}
2017-05-23 11:21:10 +01:00
a {
2018-06-16 18:00:43 +01:00
color: #5193D4;
text-decoration:none;
2017-05-23 11:21:10 +01:00
}
a:hover {
2018-06-16 18:00:43 +01:00
color: #71B3F4;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
ul,
ol {
margin-left: 2em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
dd {
margin-left: 1em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
dt {
font-weight: bold;
margin: 1em 0;
2017-05-23 11:21:10 +01:00
}
li {
2018-06-16 18:00:43 +01:00
margin: 0.3em 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
p {
margin: 1.2em 0;
line-height: 1.3em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 1em 0 0.6em 0;
padding: 0.3em 0;
line-height: 1.2em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
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;
2017-05-23 11:21:10 +01:00
}
table {
border-collapse: collapse;
border-spacing: 0;
2018-06-16 17:53:42 +01:00
width: 100%;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
td,
th {
2018-06-16 17:53:42 +01:00
padding: 0.3em;
border: 1px solid #111;
2018-06-16 18:00:43 +01:00
text-align:left;
2017-08-17 12:33:54 +01:00
}
th {
font-weight: bold;
2018-06-16 18:00:43 +01:00
background-color: #222;
2017-08-17 12:33:54 +01:00
}
2018-06-16 17:53:42 +01:00
tr:nth-child(odd) {
background-color: #333;
}
tr:nth-child(even) {
background-color: #444;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
blockquote {
margin: 0.6em;
padding-left: 0.6em;
border-left: 3px solid #999;
color: #999;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
input {
border: none;
border-bottom: 3px solid #999;
background-color: transparent;
color: #ccc;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
input:focus,
input:hover {
border-bottom: 3px solid #fff;
color: #fff;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
code,
pre,
q {
font-family: "Courier New", "Courier", monospace;
2018-06-16 18:00:43 +01:00
font-size: 0.94em;
2018-06-16 17:53:42 +01:00
}
2017-05-23 11:21:10 +01:00
code,
pre {
2018-06-16 17:53:42 +01:00
color: limegreen;
background-color: #222;
border: 1px solid #666;
direction: ltr;
text-align: left;
tab-size: 2;
2018-06-16 18:00:43 +01:00
}
pre code {
border: none;
2017-05-23 11:21:10 +01:00
}
pre {
overflow: auto;
2018-06-16 18:00:43 +01:00
padding: 0.6em;
2017-05-23 11:21:10 +01:00
}
code {
2018-06-16 17:53:42 +01:00
padding: 0.1em;
}
2018-06-16 18:00:43 +01:00
.sourceCode .re { } /* RegionMarkerTok */
.sourceCode .dv,
.sourceCode .bn,
.sourceCode .fl { color: #D33682; } /* DecValTok (decimal value), BaseNTok, FloatTok */
.sourceCode .kw { color: #268BD2; } /* KeyWordTok */
.sourceCode .dt { color: #268BD2; } /* DataTypeTok */
.sourceCode .ch { color: #DC322F; } /* CharTok */
.sourceCode .st { color: #2AA198; } /* StringTok */
.sourceCode .co { color: #93A1A1; } /* CommentTok */
.sourceCode .ot { color: #A57800; } /* OtherTok */
.sourceCode .fu { color: #268BD2; } /* FunctionTok */
.sourceCode .al { color: #CB4B16; font-weight: bold; } /* AlertTok */
.sourceCode .er { color: #D30102; font-weight: bold; } /* ErrorTok */
2018-06-16 17:53:42 +01:00
.limit,
.content-body {
max-width: 72ch;
margin: 0 auto;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.icon {
transform: rotate(0deg);
width: 16px;
height: 16px;
display: inline-block;
2018-06-16 18:00:43 +01:00
fill: currentColor;
overflow: visible;
vertical-align:text-top;
margin: 0 0.1em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.content-navigation {
font-size: 1.1em;
text-align:center;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul {
list-style-type: none;
margin: 0;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li {
2018-06-16 18:00:43 +01:00
display: inline-block;
padding-right: 0.6em;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a {
font-weight: bold;
border-bottom: 3px solid transparent;
2018-06-16 18:00:43 +01:00
color: #ccc;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a svg {
display:block;
2018-06-16 18:00:43 +01:00
margin: 0.1em auto;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a.active {
border-bottom: 3px solid #ccc;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a:hover {
border-bottom: 3px solid #fefefe;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.search-form label {
display: none;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.search-form {
margin-top: 0.6em;
text-align: center;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.search-form .search-field {
width: 10em;
2018-06-16 17:53:42 +01:00
}
2017-05-23 11:21:10 +01:00
2018-06-16 18:00:43 +01:00
@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;
}
2017-05-23 11:21:10 +01:00
2018-06-16 18:00:43 +01:00
.search-form {
margin: 0 0 0 auto;
}
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
figure {
position:relative;
overflow: hidden;
}
2018-06-16 18:00:43 +01:00
figure figcaption {
padding: 0.3em 0;
text-align: center;
}
2018-06-16 18:00:43 +01:00
.adaptimg {
display: block;
max-height: 98vh;
max-width: 100%;
width:auto;
height:auto;
margin: 0 auto;
padding: 0;
border: 1px solid #000;
}
2018-06-16 18:00:43 +01:00
.h-feed figcaption {
display: none;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.exif {
font-size: 0.8em;
margin: 0.3em 0;
}
2018-06-16 18:00:43 +01:00
.exif dt {
display: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.exif dd {
display: inline-block;
margin: 0 0.6em 0 0;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.exif .icon {
2018-06-16 17:53:42 +01:00
width: 1em;
}
2018-06-16 18:00:43 +01:00
.footnoteRef,
.footnoteRef:hover {
border: 0;
white-space: nowrap;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.footnotes ol li a {
2018-06-16 17:53:42 +01:00
display: inline-block;
2018-06-16 18:00:43 +01:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
max-width: 80%;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.footnotes ol li a[href^="#"] {
margin-left: 0.6em;
max-width: 20%;
font-size: 0.6em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.footnotes ol li a[href^="#"]:after {
content: "back to text";
margin-left: 0.2em;
color: #666;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.footnotes ol li a[href^="#"]:hover:after {
color: #ccc;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.content-footer {
margin-top: 2em;
padding: 1em 0;
color: #999;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.content-footer h2 {
display: none;
color: #999;
}
2017-05-23 11:21:10 +01:00
2018-06-16 18:00:43 +01:00
.content-footer a {
color: #999;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.content-footer a:hover {
color: #fff;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
2018-06-16 18:00:43 +01:00
.content-footer dl * {
display: inline-block;
2018-06-16 18:00:43 +01:00
padding: 0;
margin: 0;
line-height: 1.6em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.content-footer dd {
margin-right: 1em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.content-footer img {
width: 1em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
body svg,
body script {
display: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.p-author img {
height: 1em;
width: auto;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.donation ul {
2018-06-16 17:53:42 +01:00
list-style-type: none;
2018-06-16 18:00:43 +01:00
margin: 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.donation li {
padding: 0.3em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.donation li a {
color: #999;
border-bottom: 3px solid #933;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.donation li a:hover {
color: #fff;
border-bottom: 3px solid #c66;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.reactions dt {
display: none;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.reactions ul {
list-style-type: none;
margin: 0;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
2018-06-16 18:00:43 +01:00
.h-feed .h-entry {
margin-left: 1em;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.h-feed h2,
.h-entry.singular .e-content h2 {
border-bottom: 2px solid #999;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.h-feed h3,
.h-entry.singular .e-content h3 {
border-bottom: 1px dotted #777;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.h-feed > h1 {
display: none;
2017-06-02 11:20:47 +01:00
}
2017-06-03 12:07:38 +01:00
2018-06-16 18:00:43 +01:00
.h-feed h3 {
font-size: 1.1em;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.h-entry.singular h1 a {
color: #ccc;
2017-06-02 11:20:47 +01:00
}
2018-06-16 18:00:43 +01:00
.pagination {
margin: 2em 0 0 0;
font-size: 1.3em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.pagination ul {
text-align:center;
list-style-type: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.pagination li {
display:inline-block;
2018-06-16 17:53:42 +01:00
}
2018-06-16 18:00:43 +01:00
.pagination a,
.pagination span {
padding: 0.3em;
margin: 0.3em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.pagination a {
border-bottom: 3px solid #5193D4;
2017-05-23 11:21:10 +01:00
}
2018-06-16 18:00:43 +01:00
.follow {
display: block;
text-align: right;
2018-06-16 17:53:42 +01:00
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
@media print {
* {
2018-06-16 17:53:42 +01:00
background-color: #fff !important;
color: #222;
}
html, body {
2018-06-16 17:53:42 +01:00
font-size: 11pt !important;
text-shadow: unset !important;
2018-06-16 17:53:42 +01:00
font-family: Helvetica, sans-serif !important;
}
@page {
2018-06-16 17:53:42 +01:00
margin: 0.6in 0.5in;
}
.limit,
.content-body {
max-width: 100% !important;
margin: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
2018-06-16 17:53:42 +01:00
h3,
a,
.footnotes ol li a,
.h-feed .h-entry,
code,
pre {
border: none;
}
2018-06-16 17:53:42 +01:00
p, li, blockquote, figure, .footnotes {
page-break-inside: avoid !important;
}
2018-06-16 17:53:42 +01:00
a {
color: #000;
}
2018-06-16 17:53:42 +01:00
td, th {
border: 1pt solid #666;
}
2018-06-16 17:53:42 +01:00
.content-note,
.content-header,
.content-footer,
video,
audio,
.footnotes ol li a[href^="#"],
2018-06-16 17:53:42 +01:00
.footnotes ol li a[href^="#"]:after,
.exif svg,
.donation,
.noprint {
display:none;
}
.footnotes ol li a {
display: block;
overflow: visible;
white-space: normal;
}
2018-06-16 17:53:42 +01:00
code, pre {
max-width: 96%;
color: #222;
word-break: break-all;
word-wrap: break-word;
2018-06-16 17:53:42 +01:00
white-space: pre-wrap;
overflow:initial;
page-break-inside: enabled;
font-family: "Courier", "Courier New", monospace !important;
}
pre {
border: 1pt dotted #666;
padding: 0.6em;
}
code.sourceCode span { color: black; }
code.sourceCode span.co { color: darkgray; }
code.sourceCode span.ex { color: darkorange; }
code.sourceCode span.fu { color: darkorange; }
code.sourceCode span.kw { color: darkcyan; }
code.sourceCode span.st { color: magenta; }
code.sourceCode span.va { color: darkturquoise; }
figcaption {
font-size: 0.9em;
}
.adaptimg {
max-height: 35vh;
max-width: 90vw;
outline: none;
border: 1px solid #000;
}
.h-feed .h-entry {
page-break-after:always;
}
2017-05-23 11:21:10 +01:00
}