neocity/styles/main.css

143 lines
2.1 KiB
CSS

@charset "UTF-8";
.warning, .notice, .disclaimer {
padding: 2mm;
}
.warning::before, .notice::before, .disclaimer::before {
font-family: IcoFont;
margin-right: 2mm;
}
a[href^="mailto:"]::after, a[href^="https://en.wikipedia.org/"]::after, a[href^="http://"]::after, a[href^="https://"]::after {
font-family: IcoFont;
}
@font-face {
font-family: Merriweather;
src: url(/styles/fonts/Merriweather-Regular.woff);
font-display: swap;
}
@font-face {
font-family: IcoFont;
src: url(/styles/fonts/icofont.woff2), url(/styles/fonts/icofont.woff);
}
a {
color: #0e0;
text-decoration: none;
}
a[href^="http://"]::after, a[href^="https://"]::after {
content: " ";
}
a[href^="https://en.wikipedia.org/"]::after {
content: " ";
}
a[href^="mailto:"]::after {
content: " ";
}
body {
width: min(800px, calc(100% - 8px));
margin: auto;
overflow-x: auto;
background-color: #000;
color: #fff;
font-family: Merriweather, "Times New Roman", serif;
font-size: 12pt;
text-align: justify;
line-height: 1.4;
}
pre {
overflow-x: auto;
padding: 2mm;
}
pre, code {
background-color: #002;
}
h1, h2, h3, h4, h5, h6 {
color: #f80;
}
header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin-top: 1cm;
margin-bottom: 1cm;
font-size: 36pt;
}
.comparison {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
}
.comparison .compared {
border: 2px solid #777;
padding: 2mm;
}
.comparison .compared h6 {
margin: 0;
color: #ff0;
font-size: 12pt;
}
.disclaimer {
background-color: #700;
}
.disclaimer::before {
content: "";
}
.notice {
background-color: #007;
}
.notice::before {
content: "";
}
.qa li:nth-child(odd) {
color: #f0f;
font-weight: bold;
}
.qa li:nth-child(2n+3) {
padding-top: 3mm;
}
.quote figcaption {
text-align: right;
}
.warning {
background-color: #440;
}
.warning::before {
content: "";
}
.wip {
color: #777;
}
.wip::after {
content: " [WIP]";
}
.wip a {
color: #090;
}
.xigoi {
font-style: normal;
color: #f80;
}
#xigoi-logo {
width: 2cm;
height: 2cm;
}