nasg/templates/style.css

416 lines
5.1 KiB
CSS
Raw Normal View History

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: "Ubuntu", "Roboto", "Segoe UI", "San Francisco", "Droid Sans", "Tahoma", "Helvetica Neue", "Lucida Grande", sans-serif;
2019-01-15 21:28:58 +00:00
margin: 0;
padding: 0;
line-height: 1.5em;
2019-08-12 10:49:51 +01:00
letter-spacing: 0.03em;
2019-01-05 11:56:12 +00:00
}
article, aside, footer, header, nav, section {
display:block;
}
html {
background-color: #111;
}
body {
color: #ddd;
background-color: #222;
2019-01-15 21:28:58 +00:00
}
dt {
font-weight: bold;
}
h2, h3, h4, h5, h6, hr,
2019-01-15 21:28:58 +00:00
dt {
margin: 2em 0 0.6em 0;
}
p {
2019-01-15 21:28:58 +00:00
margin: 1em 0;
}
h1 {
text-transform:uppercase;
2019-03-22 15:49:24 +00:00
text-align: center;
2019-06-19 13:19:20 +01:00
margin: 1em 0 2em 0;
2019-01-15 21:28:58 +00:00
}
hr {
border: none;
2019-01-15 21:28:58 +00:00
border-bottom: 1px dotted #999;
}
svg {
transform: rotate(0deg);
fill: currentColor;
vertical-align:middle;
2019-01-15 21:28:58 +00:00
}
body > svg {
display: none;
visibility: hidden;
}
a {
color: #f90;
text-decoration: none;
border-bottom: 1px none #f90;
}
a:hover {
2019-01-15 21:28:58 +00:00
color: #eee;
border-bottom: 1px solid #eee;
}
2019-01-15 21:28:58 +00:00
sup {
vertical-align: unset;
}
2019-01-15 21:28:58 +00:00
sup:before {
content: '[';
}
2019-01-15 21:28:58 +00:00
sup:after {
content: ']';
}
blockquote {
border-left: 3px solid #999;
margin: 2em 0 2em 1em;
padding: 0 0 0 1em;
color: #aaa;
}
input, button, label {
-webkit-appearance:none;
}
2019-01-15 21:28:58 +00:00
input {
width: 8em;
padding: 0.3em;
2019-01-15 21:28:58 +00:00
border: none;
background-color: #555;
2019-01-15 21:28:58 +00:00
color: #eee;
2019-06-19 13:19:20 +01:00
}
video,
figure img {
display: block;
max-height: 98vh;
max-width: 100%;
width:auto;
height:auto;
margin: 0 auto;
border: 1px solid #000;
}
2019-01-15 21:28:58 +00:00
figure {
margin: 2em 0;
}
2019-01-15 21:28:58 +00:00
figcaption {
text-align: center;
2018-11-15 14:06:35 +00:00
}
2019-06-19 13:19:20 +01:00
.exif {
2019-01-15 21:28:58 +00:00
margin-top: 1em;
color: #666;
}
2019-06-19 13:19:20 +01:00
.exif * {
2019-01-15 21:28:58 +00:00
display: inline-block;
}
2019-06-19 13:19:20 +01:00
.exif dt {
2019-01-15 21:28:58 +00:00
display: none;
}
2019-06-19 13:19:20 +01:00
.exif dd {
2019-01-15 21:28:58 +00:00
margin: 0 0.3em;
}
code, pre {
font-family: "Courier New", monospace;
color: #3c3;
border: 1px solid #666;
direction: ltr;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
overflow:initial;
}
pre {
padding: 0.6em;
position: relative;
2019-01-15 21:28:58 +00:00
margin: 1em 0;
}
code {
2019-01-15 21:28:58 +00:00
padding: 0.05em 0.2em;
}
pre > code {
border: none;
}
pre > code::before {
content: attr(lang);
float: right;
color: #999;
border-left: 1px solid #666;
border-bottom: 1px solid #666;
2019-01-15 21:28:58 +00:00
padding: 0 0.3em;
margin: -0.6em -0.6em 0 0;
}
table {
border-collapse: collapse;
width: 100%;
}
2019-01-15 21:28:58 +00:00
td, th {
padding: 0.3em;
border: 1px solid #777;
text-align:left;
}
th {
font-weight: bold;
}
th, tr:nth-child(even) {
background-color: rgba(255, 255, 255, .1);
}
2019-06-19 13:19:20 +01:00
#main ul {
2019-01-15 21:28:58 +00:00
margin-left: 2em;
}
2019-06-19 13:19:20 +01:00
#main ol {
margin-left: 2em;
}
2019-01-15 21:28:58 +00:00
li p {
margin: 0;
}
2019-01-15 21:28:58 +00:00
.footnotes hr:before {
content: 'Links';
color: #ccc;
2019-01-15 21:28:58 +00:00
font-weight: bold;
}
2019-06-19 13:19:20 +01:00
#comments .u-url,
.footnotes a {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: top;
2019-01-15 21:28:58 +00:00
max-width: 96%;
border-bottom: 1px solid rgba(255, 153, 0, 0);
}
.footnotes a:hover {
border-bottom: 1px solid #eee;
}
.footnote-back {
2019-01-15 21:28:58 +00:00
margin: 0 0 0 0.6em;
2019-01-15 21:28:03 +00:00
}
2019-06-19 13:19:20 +01:00
#pagination ol,
#header ul,
#footer ul {
list-style-type: none;
margin: 0;
}
2019-06-19 13:19:20 +01:00
#header li,
#footer li {
display: inline-block;
margin: 0 0.8em 0 0;
}
#header li {
font-weight: bold;
}
2019-06-19 13:19:20 +01:00
#footer p {
margin:0.3em;
}
2019-06-19 13:19:20 +01:00
#header a {
border-bottom: 3px none #eee;
padding-bottom: 0.1em;
}
2019-06-19 13:19:20 +01:00
#header a.active,
#header a:hover {
border-bottom-style: solid;
color: #eee;
}
.h-card img {
height: 1em;
}
2019-06-19 13:19:20 +01:00
#pagination {
text-align: center;
}
2019-06-19 13:19:20 +01:00
#pagination li {
display: inline-block;
padding: 0.3em 0.6em;
}
2019-06-19 13:19:20 +01:00
#pagination a {
border-bottom-style: solid;
}
#header {
padding: 0.6em 1em;
}
2019-06-19 13:19:20 +01:00
#header,
#footer {
background-color: #111;
}
2019-06-19 13:19:20 +01:00
#footer {
text-align: center;
padding: 1em;
2019-06-19 13:19:20 +01:00
}
#header > *,
2019-08-12 10:49:51 +01:00
#footer > *,
#pagination,
#main {
max-width: 58em;
2019-06-19 13:19:20 +01:00
margin: 0 auto;
}
.tip {
margin: 1em 0 0 0;
}
2019-06-19 13:19:20 +01:00
#pagination,
#main {
padding: 1em 0.3em;
}
2019-06-19 13:19:20 +01:00
#header #header-forms {
float: right;
}
2019-06-19 13:19:20 +01:00
#header form, #header > div > * {
display: inline-block;
}
2019-06-19 13:19:20 +01:00
#theme {
margin: 0 1em;
}
2019-06-19 13:19:20 +01:00
#theme input, input[type=submit] {
display: none;
}
2019-06-19 13:19:20 +01:00
#theme input + label {
color: #f90;
cursor: pointer;
border-bottom: 3px solid transparent;
padding-bottom: 0.1em;
margin-left:0.6em;
}
2019-06-19 13:19:20 +01:00
#theme input:hover + label,
#theme input:checked + label {
border-bottom: 3px solid #eee;
color: #eee;
}
2019-06-19 13:19:20 +01:00
.h-feed .exif {
display: none;
}
.entry-footer {
border-top: 1px dashed #999;
margin: 2em 0;
}
.h-feed .entry-footer {
display: none;
visibility: hidden;
}
.h-feed .h-entry {
padding: 1em;
margin:1em 0;
}
.h-feed .h-entry h3 {
margin:0;
}
2019-08-12 10:49:51 +01:00
#syndication {
display: block;
text-align: right;
2019-08-12 10:49:51 +01:00
}
@media all and (max-width: 51em) {
2019-06-19 13:19:20 +01:00
#header > * {
display: block;
2019-06-19 13:19:20 +01:00
text-align:center;
}
2019-06-19 13:19:20 +01:00
#header #header-forms {
display: block;
2019-06-19 13:19:20 +01:00
float:unset;
}
#search {
margin-top: 0.6em;
}
2019-06-19 13:19:20 +01:00
#header a {
display: block;
text-align: center;
margin-bottom: 0.6em;
}
2019-06-19 13:19:20 +01:00
#header a svg {
display: block;
margin: 0 auto;
}
2019-08-12 10:49:51 +01:00
}
@media all and (min-width: 70em) {
#main.photo {
max-width: 100%;
}
#main.photo {
display: flex;
flex-wrap: wrap;
align-items:stretch;
}
#main.photo article {
flex: 1 1 30em;
margin: 0.2em;
}
#main.photo article h3 {
text-align: center;
}
}