400 lines
6.5 KiB
CSS
400 lines
6.5 KiB
CSS
body {
|
|
margin: auto;
|
|
padding-top: 0;
|
|
padding-bottom: 2em;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
max-width: 720px;
|
|
font-family: Consolas, monaco, monospace;
|
|
font-size: 16px;
|
|
}
|
|
|
|
p {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
p.site-title {
|
|
margin-bottom: 0;
|
|
font-size: 140%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
p.site-subtitle {
|
|
font-size: small;
|
|
font-style: none;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1.35rem 0;
|
|
position: relative;
|
|
padding-left: 2ch;
|
|
overflow: hidden;
|
|
color: #808080;
|
|
font-style: italic;
|
|
}
|
|
blockquote p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
blockquote p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
blockquote em {
|
|
font-style: normal;
|
|
}
|
|
blockquote::after {
|
|
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
|
|
white-space: pre;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
code::before { content: '`'; }
|
|
code::after { content: '`';}
|
|
|
|
pre > code::before { content: ''; } /* Important when using Pygments */
|
|
pre > code::after { content: '';} /* Important when using Pygments */
|
|
|
|
pre::before { content: '```\A'; }
|
|
pre::after { content: '\A ```';}
|
|
|
|
em::before { content: '_'; }
|
|
em::after { content: '_';}
|
|
|
|
a::before { content: '['; }
|
|
a::after { content: ']';}
|
|
|
|
strong::before { content: '**'; }
|
|
strong::after { content: '**';}
|
|
|
|
h1::before { content: '# '; }
|
|
h2::before { content: '## '; }
|
|
h3::before { content: '### '; }
|
|
h4::before { content: '#### '; }
|
|
h5::before { content: '##### '; }
|
|
h6::before { content: '###### '; }
|
|
|
|
h1 {
|
|
font-size: 125%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 120%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 120%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 120%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
p.sticky {
|
|
font-size: small;
|
|
padding: 10px;
|
|
padding-left: 15px;
|
|
background-color: #ffe6e6;
|
|
border: 1px solid #ffcccc;
|
|
border-left: 10px solid #ffcccc;
|
|
}
|
|
|
|
a.sticky {
|
|
color: #800000;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
a.sticky:focus, a.sticky:hover {
|
|
color: black;
|
|
background-color: #ffb3b3;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
p.stickyyt {
|
|
font-size: small;
|
|
padding: 10px;
|
|
padding-left: 15px;
|
|
background-color: #e6eeff;
|
|
border: 1px solid #ccddff;
|
|
border-left: 10px solid #ccddff;
|
|
}
|
|
|
|
a.stickyyt {
|
|
color: #0044cc;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
a.stickyyt:focus, a.stickyyt:hover {
|
|
color: black;
|
|
background-color: #b3ccff;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
a {
|
|
color: #4f5a63;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
a:focus, a:hover {
|
|
color: black;
|
|
background-color: #f5f5f5;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
a.site-title, a.site-title:hover, a.site-title:focus {
|
|
color: black;
|
|
background-color: white;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
a.site-title::before { content: '';}
|
|
a.site-title::after { content: '.md';}
|
|
|
|
a.img {
|
|
border: 0;
|
|
}
|
|
|
|
a.img:hover {
|
|
background-color: white;
|
|
}
|
|
|
|
pre {
|
|
background-color: #EFEFEF !important;
|
|
white-space: pre-wrap;
|
|
padding: 5px;
|
|
padding-left: 15px;
|
|
border: 1px solid #E6E6E6;
|
|
border-left: 10px solid #E6E6E6;
|
|
white-space:pre-line;
|
|
white-space: pre-wrap;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
code {
|
|
background-color: #EFEFEF;
|
|
}
|
|
|
|
.list, article {
|
|
line-height: 1.4;
|
|
}
|
|
|
|
ul.nav {
|
|
padding: 0;
|
|
}
|
|
|
|
li.nav {
|
|
display: inline;
|
|
}
|
|
|
|
div.footer {
|
|
font-size: small;
|
|
}
|
|
|
|
ul.nav, div.header, div.footer-links {
|
|
text-align: center;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
a.img::before { content: ''; }
|
|
a.img::after { content: '';}
|
|
|
|
.yt {
|
|
position: relative;
|
|
padding-bottom: 56.25%; /* 16:9 */
|
|
padding-top: 25px;
|
|
height: 0;
|
|
}
|
|
|
|
.yt iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
hr {
|
|
border: 0.5px solid #D9D9D9;
|
|
}
|
|
|
|
li {
|
|
position: relative;
|
|
display: block;
|
|
padding-left: 34px;
|
|
padding-left: 3ch;
|
|
}
|
|
|
|
li:after {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 1em;
|
|
}
|
|
|
|
ul > li:after {
|
|
content: "*";
|
|
}
|
|
|
|
ol {
|
|
counter-reset: ol;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
ol > li:after {
|
|
content: counter(ol) ".";
|
|
counter-increment: ol;
|
|
}
|
|
|
|
input {
|
|
background-color: #EFEFEF;
|
|
border: 1px solid #E6E6E6;
|
|
padding: 5px;
|
|
}
|
|
|
|
nav.topmenu {
|
|
height: auto;
|
|
max-height:0;
|
|
overflow: hidden;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
nav.topmenu:hover {
|
|
height: auto;
|
|
transition: all 0.5s;
|
|
display: block;
|
|
}
|
|
|
|
#hamburg:checked + .hamburg + nav.topmenu {
|
|
max-height: 600px;
|
|
}
|
|
|
|
label.hamburg {
|
|
display: block;
|
|
background: black; width: 75px; height: 51px;
|
|
position: relative;
|
|
margin-left: auto; margin-right: auto;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
label.hamburg:hover {
|
|
background-color: #4d4d4d;
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
input#hamburg {display:none}
|
|
|
|
.line {
|
|
position: absolute;
|
|
left:10px;
|
|
height: 4px; width: 55px;
|
|
background: #fff; border-radius: 2px;
|
|
display: block;
|
|
transition: 0.5s;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.line:nth-child(1) { top: 12px; }
|
|
.line:nth-child(2) { top: 24px; }
|
|
.line:nth-child(3) { top: 36px; }
|
|
|
|
#hamburg:checked + .hamburg .line:nth-child(1){
|
|
transform: translateY(12px) rotate(-45deg);
|
|
}
|
|
|
|
#hamburg:checked + .hamburg .line:nth-child(2){
|
|
opacity:0;
|
|
}
|
|
|
|
#hamburg:checked + .hamburg .line:nth-child(3){
|
|
transform: translateY(-12px) rotate(45deg);
|
|
}
|
|
|
|
ul.navlist {
|
|
padding-left: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
li.navlist {
|
|
padding-left: 0;
|
|
margin: 0.5em;
|
|
line-height: 1.5;
|
|
list-style-type: none;
|
|
font-size: 120%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
ul.navlist > li.navlist:after {
|
|
content: "";
|
|
}
|
|
|
|
ul.navlistchild {
|
|
padding-left: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
li.navlistchild {
|
|
padding-left: 0;
|
|
margin: 0.5em;
|
|
line-height: 1.5;
|
|
list-style-type: none;
|
|
font-weight: normal;
|
|
font-size: small;
|
|
font-style: italic;
|
|
}
|
|
|
|
ul.navlistchild > li.navlistchild:after {
|
|
content: "";
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
label.hamburg {
|
|
display: block;
|
|
background: black; width: 60px; height: 50px;
|
|
position: relative;
|
|
margin-left: auto; margin-right: auto;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
label.hamburg:hover {
|
|
background-color: black;
|
|
}
|
|
|
|
.line {
|
|
position: absolute;
|
|
left:10px;
|
|
height: 3px; width: 40px;
|
|
background: #fff; border-radius: 2px;
|
|
display: block;
|
|
transition: 0.5s;
|
|
transform-origin: center;
|
|
}
|
|
} |