nasg/templates/style.css

811 lines
13 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;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
html, body, div, span,
h1, h2, h3, h4, h5, h6,
a, p, blockquote, pre, cite, code,
del, em, ins, strong, sub, sup, tt, b, u, i,
2017-05-23 11:21:10 +01:00
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
2018-06-16 17:53:42 +01:00
article, aside, details,
figure, figcaption, img,
footer, header, hgroup,
menu, nav, section, summary,
time, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
vertical-align: baseline;
2017-05-23 11:21:10 +01:00
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
2017-05-23 11:21:10 +01:00
}
html, body {
min-height: 100%;
2018-06-16 17:53:42 +01:00
font-size:20px;
line-height: 1.3em;
font-family: "Liberation Sans", "Helvetica Neue", "Roboto", "Helvetica", sans-serif;
font-weight: normal;
2018-06-16 17:53:42 +01:00
color: #ccc;
text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
2018-06-16 17:53:42 +01:00
background-color: #222;
2017-05-23 11:21:10 +01:00
}
html {
position: relative;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
html,
.content-header,
.content-footer {
background-color: #111;
color: #bbb;
}
2017-05-23 11:21:10 +01:00
a {
2018-06-16 17:53:42 +01:00
color: #eee;
text-decoration:none;
2017-05-23 11:21:10 +01:00
}
a:hover {
2018-06-16 17:53:42 +01:00
color: #fff;
2017-05-23 11:21:10 +01:00
}
b, strong {
font-weight:bold;
2017-05-23 11:21:10 +01:00
}
em {
font-style: italic;
2017-05-23 11:21:10 +01:00
}
p {
2018-06-16 17:53:42 +01:00
padding: 0.6em 0;
2017-05-23 11:21:10 +01:00
}
li {
2018-06-16 17:53:42 +01:00
margin-left: 1.3em;
2017-05-23 11:21:10 +01:00
}
ul li {
2018-06-16 17:53:42 +01:00
line-height: 1.6em;
2017-05-23 11:21:10 +01:00
}
li p {
margin:0;
padding: 0;
2017-05-23 11:21:10 +01:00
}
blockquote {
2018-06-16 17:53:42 +01:00
margin: 0.6em;
padding-left: 0.6em;
border-left: 4px solid #999;
color: #999;
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
}
2017-08-17 12:33:54 +01:00
td, th {
2018-06-16 17:53:42 +01:00
padding: 0.3em;
border: 1px solid #111;
text-align:left;
2017-08-17 12:33:54 +01:00
}
th {
font-weight: bold;
}
2018-06-16 17:53:42 +01:00
th,
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 17:53:42 +01:00
.content-header a,
.content-header a:hover,
.content-footer a,
.content-footer a:hover,
.footnoteRef a,
pre code,
.h-review h2,
input,
.reactions h2,
.replies h2,
.syndication h2,
hr {
border: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
hr {
display: block;
height: 1px;
border-top: 1px solid #444;
margin: 1em 0;
clear:both;
2017-05-23 11:21:10 +01:00
}
h1, h2, h3, h4, h5, h6, dt {
font-weight:bold;
clear:both;
2017-05-23 11:21:10 +01:00
}
h1, h2, h3, h4, h5, h6 {
2018-06-16 17:53:42 +01:00
margin: 1.3em 0 0.3em 0;
padding: 0 0 0.3em 0;
2017-05-23 11:21:10 +01:00
}
h1 {
2018-06-16 17:53:42 +01:00
font-size: 1.2em;
margin-top: 0;
2017-05-23 11:21:10 +01:00
}
h2 {
2018-06-16 17:53:42 +01:00
font-size: 1.1em;
border-bottom: 2px solid #999;
2017-05-23 11:21:10 +01:00
}
h3 {
2018-06-16 17:53:42 +01:00
font-size: 1em;
border-bottom: 1px dotted #777;
2017-05-23 11:21:10 +01:00
}
.icon {
2018-06-16 17:53:42 +01:00
transform: rotate(0deg);
width: 16px;
height: 16px;
display: inline-block;
fill: currentColor;
overflow: visible;
2018-06-16 17:53:42 +01:00
vertical-align:middle;
}
2018-06-16 17:53:42 +01:00
code,
pre,
q {
font-family: "Courier New", "Courier", monospace;
font-size: 0.9em;
}
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 17:53:42 +01:00
line-height: 1.1em;
2017-05-23 11:21:10 +01:00
}
pre {
overflow: auto;
2018-06-16 17:53:42 +01:00
padding: 0.3em;
2017-05-23 11:21:10 +01:00
}
code {
2018-06-16 17:53:42 +01:00
padding: 0.1em;
}
code.sourceCode span.al { color: limegreen; }
code.sourceCode span.at { color: limegreen; }
code.sourceCode span.bn { color: limegreen; }
code.sourceCode span.bu { color: limegreen; }
code.sourceCode span.cf { color: limegreen; }
code.sourceCode span.ch { color: limegreen; }
code.sourceCode span.co { color: gray; }
code.sourceCode span.dt { color: limegreen; }
code.sourceCode span.dv { color: limegreen; }
code.sourceCode span.er { color: limegreen; }
code.sourceCode span.ex { color: orange; }
code.sourceCode span.fl { color: limegreen; }
code.sourceCode span.fu { color: orange; }
code.sourceCode span.im { color: limegreen; }
code.sourceCode span.kw { color: cyan; }
code.sourceCode span.op { color: limegreen; }
code.sourceCode span.ot { color: limegreen; }
code.sourceCode span.pp { color: limegreen; }
code.sourceCode span.sc { color: limegreen; }
code.sourceCode span.ss { color: limegreen; }
code.sourceCode span.st { color: magenta; }
code.sourceCode span.va { color: turquoise; }
.limit,
.content-body {
max-width: 72ch;
margin: 0 auto;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.siteinfo {
line-height: 1.4em;
font-size: 0.9em;
padding: 1em;
font-style: italic;
color: #999;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.footnotes ol li {
margin-bottom: 0.3em;
2017-05-23 11:21:10 +01:00
}
.footnoteRef,
.footnoteRef:hover {
border: 0;
white-space: nowrap;
2017-05-23 11:21:10 +01:00
}
.footnoteRef sup {
vertical-align: baseline;
position: relative;
2018-06-16 17:53:42 +01:00
top: -0.3em;
font-size: 0.8em;
margin-right: 0.1em;
2017-05-23 11:21:10 +01:00
}
.footnoteRef sup:before,
.footnoteRef sup:after {
color: #33c;
2017-05-23 11:21:10 +01:00
}
.comments ol .u-repost-of,
.footnotes ol li a {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
max-width: 80%;
2017-05-23 11:21:10 +01:00
}
.footnotes ol li a[href^="#"] {
2018-06-16 17:53:42 +01:00
margin: 0 0 0 0.6em;
max-width: 20%;
2018-06-16 17:53:42 +01:00
font-size: 0.6em;
2017-05-23 11:21:10 +01:00
}
.footnotes ol li a[href^="#"]:after {
content: "back to text";
2018-06-16 17:53:42 +01:00
margin: 0 0 0 0.2em;
color: #666;
2017-05-23 11:21:10 +01:00
}
.footnotes ol li a[href^="#"]:hover:after {
2018-06-16 17:53:42 +01:00
color: #ccc;
2017-05-23 11:21:10 +01:00
}
.content-header a,
.content-footer a {
color: #cccccc;
2017-05-23 11:21:10 +01:00
}
.content-header a:hover,
.content-footer a:hover {
color: #fefefe;
2017-05-23 11:21:10 +01:00
}
.content-footer {
2018-06-16 17:53:42 +01:00
margin-top: 2em;
padding: 1.6em 0;
text-align: center;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer * {
color: #999;
display: inline-block;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer a {
color: #999;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer a:hover {
color: #eee;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer img {
width: 1em;
margin: 0 0.3em 0em 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer dl {
font-size: 0.86em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer dl dd,
.content-footer dl dt,{
display:inline-block;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.content-footer dl dd:after {
content: '\00B7';
margin: 0 0.3em;
}
2018-06-16 17:53:42 +01:00
.content-footer dl dd:last-of-type:after {
content: '';
display: none;
visibility: hidden;
}
input {
vertical-align:middle;
border-bottom: 3px solid #aaa;
background-color: transparent;
color: #ccc;
2018-06-16 17:53:42 +01:00
height: 1.6em;
width: 6em;
font-size: 0.8em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
input.search-submit {
width: 3em;
cursor: pointer;
2017-05-23 11:21:10 +01:00
}
input:focus,
2018-06-16 17:53:42 +01:00
input.search-submit:hover {
border-bottom: 3px solid #fff;
color: #fff;
2017-05-23 11:21:10 +01:00
}
.search-form {
display: block;
2018-06-16 17:53:42 +01:00
padding: 0.3em 0.1em;
text-align: center;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align:center;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li {
margin:0;
2018-06-16 17:53:42 +01:00
padding: 0.3em 0.3em 0.3em 0;
display: inline-block;
text-align: center;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a {
display:block;
2018-06-16 17:53:42 +01:00
padding:0 0.2em;
font-weight: bold;
border-bottom: 3px solid transparent;
text-align: center;
2018-06-16 17:53:42 +01:00
font-size: 0.7em;
2017-05-23 11:21:10 +01:00
}
.content-navigation ul li a svg {
display:block;
margin: 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 17:53:42 +01:00
.h-feed h2 {
margin-bottom: 1em;
}
2017-05-23 11:21:10 +01:00
2018-06-16 17:53:42 +01:00
.h-feed .h-entry {
margin: 0 1em;
}
2018-06-16 17:53:42 +01:00
.h-feed .h-entry h3 {
font-size: 0.9em;
}
2018-06-16 17:53:42 +01:00
.h-feed .h-entry .e-summary,
.h-feed .h-entry .e-content {
font-size: 0.8em;
}
2018-06-16 17:53:42 +01:00
.h-feed .h-entry .e-content {
margin-bottom: 3em;
}
2017-05-23 11:21:10 +01:00
2018-06-16 17:53:42 +01:00
.h-entry.singular {
padding: 0 0.6em;
font-size: 0.9em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.h-entry .e-content a,
.h-entry .e-summary a {
color:#5193D4;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.h-entry a:hover {
color:#71B3F4;
}
2018-06-16 17:53:42 +01:00
.h-entry.singular h1 {
margin: 2em 0 1em 0;
}
2018-06-16 17:53:42 +01:00
.h-entry.singular footer {
margin: 2em 0;
font-size: 0.9em;
}
2018-06-16 17:53:42 +01:00
.h-entry.singular footer p {
padding: 0.3em 0;
display: inline-block;
color: #aaa;
}
.h-entry.singular footer a {
color: #ccc;
}
2018-06-16 17:53:42 +01:00
.h-entry.singular footer a:hover {
color: #eee;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.h-entry.singular footer dd {
margin: 0 0 1em 0;
}
.h-entry.singular footer img {
width: 1em;
height: auto;
}
.donation ul,
.donation li {
list-style-type: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.donation li {
margin: 0.6em 0.6em 0.6em 0;
display: inline-block;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.donation p {
line-height: 1.2em;
}
.donation li a {
display: inline-block;
border: 1px dashed #933;
padding: 0.6em 1em;
background-color: #111;
width: 16em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.donation .method {
margin-left: 0.6em;
}
.donation li a:hover {
border: 1px solid #933;
color: #fff;
}
figure {
margin: 1em 0;
position:relative;
overflow: hidden;
}
figure figcaption {
padding: 0.3em 0;
text-align: center;
}
2017-05-23 11:21:10 +01:00
.exif {
2018-06-16 17:53:42 +01:00
font-size: 0.8em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
figcaption .alt,
figcaption .author,
.h-feed figcaption,
.content-footer h2,
.reactions dl dt,
.reactions dl ul time,
.hide,
.exif dt {
display: none;
visibility: hidden;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.exif dd {
display: inline-block;
2018-06-16 17:53:42 +01:00
margin: 0 0.6em 0 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.exif .icon {
margin: 0 0.2em;
width: 1em;
vertical-align:text-bottom;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.adaptimg {
display: block;
2018-06-16 17:53:42 +01:00
max-height: 98vh;
max-width: 100%;
width:auto;
height:auto;
margin: 0 auto;
padding: 0;
border: 1px solid #000;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.follow {
cursor:pointer;
display:block;
text-align:right;
margin: 0.6em 0;
font-size: 0.8em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.follow a,
.pagination a {
padding: 0 0 0.3em 0;
border-bottom: 3px solid #999;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.follow a:hover,
.pagination a:hover {
border-bottom-color: #fff;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.pagination ul {
text-align:center;
list-style-type: none;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.pagination li {
display:inline-block;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.pagination a,
.pagination span {
padding: 0.3em;
2017-06-02 11:20:47 +01:00
}
.w25,
.w33 {
display: inline-block;
height: auto;
2017-06-02 11:20:47 +01:00
}
.w33 {
width: 32%;
2017-06-02 11:20:47 +01:00
}
.w25 {
width: 24%;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
.search-section {
margin-bottom: 1em;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
.search-section summary {
border-bottom: 2px solid #999;
padding: 0.3em 0;
font-weight: bold;
}
.search-section li {
margin: 1em 0.6em;
}
.replies {
font-size: 0.9em;
}
.replies ol {
margin: 0 0 0 1em;
}
.replies li {
margin: 0 0 1em 0;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
.replies li .source {
display: block;
2017-06-02 11:20:47 +01:00
}
2017-06-03 12:07:38 +01:00
2018-06-16 17:53:42 +01:00
.reactions dl ul,
.reactions dl ul li {
list-style-type: none;
margin: 0;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
.h-review {
padding: 1em;
border: 2px dotted #999;
margin: 1em 0;
2017-06-02 11:20:47 +01:00
}
2018-06-16 17:53:42 +01:00
.h-review h2 {
margin: 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.h-review p {
line-height: 1.2em;
margin: 0;
padding: 0.3em 0;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.h-review .rating {
font-size: 0.9em;
}
.h-review .rating .best,
.h-review .rating .value {
color: #fff;
font-weight: bold;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
.license svg {
margin-right: 0.3em;
2017-05-23 11:21:10 +01:00
}
2018-06-16 17:53:42 +01:00
@media all and (min-width: 56em) {
.content-navigation ul li a {
font-size: 0.9em;
}
.content-navigation ul li a svg {
display:inline-block;
}
.search-form,
.content-navigation {
display:inline-block;
}
.search-form {
float:right;
margin: 0.1em;
}
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;
visibility: hidden;
}
.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.al { color: black; }
code.sourceCode span.at { color: black; }
code.sourceCode span.bn { color: black; }
code.sourceCode span.bu { color: black; }
code.sourceCode span.cf { color: black; }
code.sourceCode span.ch { color: black; }
code.sourceCode span.co { color: darkgray; }
code.sourceCode span.dt { color: black; }
code.sourceCode span.dv { color: black; }
code.sourceCode span.er { color: black; }
code.sourceCode span.ex { color: darkorange; }
code.sourceCode span.fl { color: black; }
code.sourceCode span.fu { color: darkorange; }
code.sourceCode span.im { color: black; }
code.sourceCode span.kw { color: darkcyan; }
code.sourceCode span.op { color: black; }
code.sourceCode span.ot { color: black; }
code.sourceCode span.pp { color: black; }
code.sourceCode span.sc { color: black; }
code.sourceCode span.ss { color: black; }
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
}