297 lines
4.9 KiB
CSS
297 lines
4.9 KiB
CSS
@charset "utf-8";
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:4e00,700|Noto+Serif:400,400i,700,700i&subset=latin-ext');
|
|
|
|
/*** HTML Reset ***/
|
|
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
|
|
|
|
/*** Colors ***/
|
|
|
|
html,
|
|
body {
|
|
background: #fff;
|
|
color: #252827;
|
|
font-family: 'Noto Serif', serif;
|
|
font-size: 15px;
|
|
line-height: 21px;
|
|
}
|
|
|
|
a {
|
|
color: #226FCB;
|
|
text-decoration: none;
|
|
}
|
|
|
|
pre {
|
|
font-family: monaco, Consolas, Lucida Console, monospace;
|
|
padding: 8px;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
font-size: 14px;
|
|
background-color: #272822;
|
|
color: #f8f8f2;
|
|
overflow: scroll;
|
|
}
|
|
|
|
code {
|
|
font-family: monaco, Consolas, Lucida Console, monospace;
|
|
color: #FF3833;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/*** Sidebar / Header ***/
|
|
|
|
.sidebar, .content {
|
|
margin: 1em;
|
|
font-family: 'Noto Sans', sans-serif;
|
|
}
|
|
|
|
.sidebar h1 {
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
font-family: 'Noto Sans', sans-serif;
|
|
}
|
|
|
|
.sidebar h1 span {
|
|
color: #7BB7FE;
|
|
}
|
|
|
|
.sidebar #stack {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar nav ul {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.sidebar nav ul li {
|
|
display: inline-block;
|
|
}
|
|
|
|
.sidebar nav ul li::before {
|
|
content: "• ";
|
|
}
|
|
|
|
.sidebar nav ul li:first-child:before {
|
|
content: none;
|
|
}
|
|
|
|
@media (min-width: 48em) {
|
|
.sidebar, .content {
|
|
max-width: 48em;
|
|
margin: 1em auto;
|
|
}
|
|
|
|
.sidebar h1 {
|
|
font-size: 48px;
|
|
line-height: 64px;
|
|
}
|
|
}
|
|
|
|
/*** Content / Post ***/
|
|
|
|
.content h1.title,
|
|
h1.list-title {
|
|
font-size: 24px;
|
|
line-height: 28px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.content p.post-date {
|
|
font-style: italic;
|
|
}
|
|
|
|
.content h2, .content h3, .content h4, .content h5, .content h6 {
|
|
font-size: 18px;
|
|
line-height: 21px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.post p {
|
|
text-align: justify;
|
|
}
|
|
|
|
.posts h2 a {
|
|
color: #252827;
|
|
}
|
|
|
|
/*** HTML Elements ***/
|
|
|
|
p,
|
|
ul,
|
|
ol,
|
|
pre,
|
|
blockquote {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: square;
|
|
margin-left: 27px;
|
|
}
|
|
|
|
ol {
|
|
list-style: decimal;
|
|
margin-left: 27px;
|
|
}
|
|
|
|
small {
|
|
font-size: 12px;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h3 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h4 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
h5 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 900;
|
|
}
|
|
|
|
em {
|
|
font-style: italic;
|
|
}
|
|
|
|
blockquote {
|
|
display: block;
|
|
margin-left: 27px;
|
|
padding-left: 13px;
|
|
border-left: 3px solid #226FCB;
|
|
}
|
|
|
|
hr {
|
|
border: none;
|
|
border-bottom: 1px solid #BCBCBC;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
|
|
/*** Recommended ***/
|
|
|
|
span.recommended {
|
|
font-size: 0.8em;
|
|
background-color: #FF9900;
|
|
border-radius: 0.5em;
|
|
padding: 0 0.5em;
|
|
}
|
|
|
|
nav li span.recommended {
|
|
background-color: rgba(255, 153, 0, 0.62);
|
|
}
|
|
|
|
|
|
/*** Keyboard keys ***/
|
|
|
|
kbd {
|
|
padding: 2px 4px;
|
|
font-size: 90%;
|
|
color: #fff;
|
|
background-color: #424242;
|
|
border-radius: 3px;
|
|
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
kbd kbd {
|
|
padding: 0;
|
|
font-size: 100%;
|
|
font-weight: 700;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
|
|
/*** Image zoom ***/
|
|
|
|
article img {
|
|
max-width: 100%;
|
|
cursor: pointer;
|
|
border: 2px solid #000;
|
|
}
|
|
|
|
article img.zoomed {
|
|
position: fixed;
|
|
top: 5vh;
|
|
bottom: 5vh;
|
|
left: 5vw;
|
|
right: 5vw;
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
margin: auto;
|
|
border: 4px solid #000
|
|
}
|
|
|
|
img.img-right {
|
|
margin: 0 2em;
|
|
width: 33%;
|
|
float: right;
|
|
}
|
|
|
|
|
|
/*** About box below post ***/
|
|
|
|
.about {
|
|
border-top: 1px solid #B3B3B3;
|
|
padding-top: 15px;
|
|
}
|
|
|
|
/*** Footer ***/
|
|
|
|
.footer {
|
|
border-top: 1px solid #B3B3B3;
|
|
padding-top: 15px;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer #crypto-donations {
|
|
font-size: 11px;
|
|
}
|
|
|
|
@media (min-width: 48em) {
|
|
.footer {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.footer #crypto-donations {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
/*** Video ***/
|
|
|
|
.video-player {
|
|
position: relative;
|
|
padding-bottom: 56.25%;
|
|
padding-top: 30px;
|
|
height: 0;
|
|
overflow: hidden;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
|
|
/*** Alert ***/
|
|
|
|
.alert {
|
|
background-color: #ffc;
|
|
padding: 13px;
|
|
margin-bottom: 27px;
|
|
font-family: "Nota Sans", sans-serif;
|
|
box-shadow: 0px 0px 2px 0px rgba(171, 171, 171, 0.55);
|
|
}
|