273 lines
No EOL
3.9 KiB
CSS
273 lines
No EOL
3.9 KiB
CSS
@font-face {
|
|
font-family: 'Classic Console Neue';
|
|
src: local('Classic Console Neue'), local('ClassicConsoleNeue'),
|
|
url('clacon2.woff2') format('woff2')
|
|
}
|
|
|
|
/* CSS Reset */
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: left;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
/* HTML5 tag defaults. */
|
|
header, footer, aside, nav, article
|
|
{
|
|
display: block;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
font-size: 1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Classic Console Neue';
|
|
padding: 1em;
|
|
font-size: 1.4em;
|
|
line-height: 1.2em;
|
|
text-align: left;
|
|
background: #090A0E;
|
|
color: #bbb;
|
|
height: 100vh;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
perspective: 2px;
|
|
margin: auto;
|
|
max-width: 40em;
|
|
}
|
|
|
|
ul, ul li {
|
|
margin:0;
|
|
padding:0;
|
|
list-style:none
|
|
}
|
|
|
|
ul li::before {
|
|
content: '*\00a0';
|
|
}
|
|
|
|
/* Use a thin border around all images. */
|
|
img
|
|
{
|
|
border: 1px solid;
|
|
max-width: 40em;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Navigation bar. */
|
|
nav
|
|
{
|
|
padding-bottom: 1ex;
|
|
margin-bottom: 4em;
|
|
}
|
|
|
|
nav::after {
|
|
clear:left;
|
|
}
|
|
|
|
nav ul
|
|
{
|
|
padding: 0;
|
|
margin-left: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
nav ul li
|
|
{
|
|
display: inline;
|
|
float: left;
|
|
margin-right: .4em; /* How far between items. */
|
|
margin-top: .3em;
|
|
}
|
|
|
|
nav li::before {
|
|
content: none;
|
|
}
|
|
|
|
nav ul li a
|
|
{
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
/*
|
|
* Use a border around tables, but don't draw lines around individual
|
|
* cells.
|
|
*/
|
|
table
|
|
{
|
|
border-style: solid;
|
|
border-collapse: collapse;
|
|
border-width: thin;
|
|
font-size: 100%;
|
|
}
|
|
|
|
th, td
|
|
{
|
|
border-style: solid;
|
|
border-width: thin;
|
|
}
|
|
|
|
a {
|
|
background-color: #bbb;
|
|
color:#090A0E;
|
|
padding: 0.2em 0.3em 0em 0.3em;
|
|
}
|
|
|
|
a.translation {
|
|
background-color: #333;
|
|
}
|
|
|
|
/* for unvisited links: blue */
|
|
a:link
|
|
{
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* for visited links: purple */
|
|
a:visited
|
|
{
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* when mouse is over link or the link is active*/
|
|
a:hover, a:active
|
|
{
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Very clean ruler with no shadows. */
|
|
hr
|
|
{
|
|
border: none;
|
|
}
|
|
|
|
@media screen and (min-width: 941px) {
|
|
hr::after {
|
|
content: '--------------------------------------------------------------------------------';
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 940px) {
|
|
hr {
|
|
border-top: 2px dashed #bbb;
|
|
}
|
|
}
|
|
|
|
.hentry::after {
|
|
content: '\00a0'
|
|
}
|
|
|
|
abbr {
|
|
color: #555;
|
|
display: inline;
|
|
text-decoration: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.hentry .entry-summary p {
|
|
margin: 0;
|
|
}
|
|
|
|
.hentry h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.post-info abbr {
|
|
float: none;
|
|
}
|
|
|
|
.author {
|
|
font-style: normal;
|
|
padding: 0;
|
|
}
|
|
|
|
.post-info {
|
|
color: #555;
|
|
}
|
|
|
|
.author a {
|
|
padding: 0;
|
|
background: none;
|
|
color: #555;
|
|
}
|
|
|
|
@keyframes cursor-blink {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
#root {
|
|
display: block;
|
|
margin-top: 2em;
|
|
}
|
|
|
|
[contenteditable="true"]:active,
|
|
[contenteditable="true"]:focus{
|
|
border:none;
|
|
outline:none;
|
|
caret-color: transparent;
|
|
}
|
|
|
|
[contenteditable="true"]:active:after,
|
|
[contenteditable="true"]:focus:after {
|
|
content: "\02588";
|
|
animation: cursor-blink 1.5s steps(2) infinite;
|
|
}
|
|
|
|
.para {
|
|
border: 1px solid;
|
|
max-width: 40em;
|
|
display: block;
|
|
background-attachment: fixed;
|
|
background-position: center;
|
|
background-size: contain;
|
|
}
|
|
|
|
iframe {
|
|
border: 1px solid;
|
|
aspect-ratio: 16 / 9;
|
|
width: 100%;
|
|
}
|
|
|
|
blockquote {
|
|
border: 1px solid;
|
|
margin: 0;
|
|
padding: 0 1em;
|
|
background: #222;
|
|
-webkit-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
-ms-hyphens: auto;
|
|
hyphens: auto;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
em, strong {
|
|
font-style: normal;
|
|
color: white;
|
|
}
|
|
|
|
.overlay {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 0;
|
|
overflow-x: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vignette {
|
|
background-image: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
|
|
}
|
|
|
|
.scanline {
|
|
background-image: linear-gradient(0deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.33) 25%, rgba(0,0,0,0.33) 50%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.33) 75%, rgba(0,0,0,0.33) 100%);
|
|
background-size: 4px 4px;
|
|
} |