304 lines
4.9 KiB
CSS
304 lines
4.9 KiB
CSS
@charset "utf-8";
|
||
|
||
/*** 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: #545454;
|
||
}
|
||
|
||
a {
|
||
color: #3581b8;
|
||
}
|
||
|
||
h1 a, h2 a, h3 a {
|
||
color: #1F2E4D; */
|
||
}
|
||
|
||
.sidebar {
|
||
color: rgba(255,255,255,0.66);
|
||
background:url('/img/bg.png') repeat;
|
||
box-shadow: 2px 0px 27px #666;
|
||
}
|
||
|
||
.sidebar a {
|
||
color: #fff;
|
||
}
|
||
|
||
.sidebar h1 a {
|
||
color: rgba(255,255,255,0.66);
|
||
}
|
||
|
||
.sidebar h1 a span {
|
||
color: rgba(255,255,255,0.33);
|
||
}
|
||
|
||
/*** Layout ***/
|
||
html, body {
|
||
font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, “Times New Roman”, serif;
|
||
font-size: 17px;
|
||
line-height: 27px;
|
||
}
|
||
|
||
pre, code {
|
||
font-family: monaco,Consolas,Lucida Console,monospace;
|
||
padding-left: 0;
|
||
margin-left: 0;
|
||
font-size: 14px;
|
||
}
|
||
|
||
/*** Sidebar **/
|
||
.sidebar {
|
||
padding: 2rem 1rem;
|
||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||
}
|
||
|
||
.sidebar h1 {
|
||
font-size: 32px;
|
||
line-height: 1.5em;
|
||
}
|
||
|
||
.sidebar #stack {
|
||
font-size: 13px;
|
||
line-height: 17px;
|
||
margin-bottom: 27px;
|
||
}
|
||
|
||
.sidebar img.avatar {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
.sidebar nav ul {
|
||
margin-left: 0;
|
||
list-style: none;
|
||
}
|
||
|
||
.sidebar nav li {
|
||
display: block;
|
||
}
|
||
|
||
@media (min-width: 48em) {
|
||
.sidebar {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
width: 18rem;
|
||
text-align: left;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 48em) {
|
||
.sidebar-sticky {
|
||
position: absolute;
|
||
right: 1rem;
|
||
bottom: 1rem;
|
||
left: 1rem;
|
||
}
|
||
}
|
||
|
||
|
||
/*** Content ***/
|
||
|
||
.content {
|
||
padding-top: 4rem;
|
||
padding-bottom: 4rem;
|
||
margin-left: 1rem;
|
||
margin-right: 1rem;
|
||
}
|
||
|
||
@media (min-width: 48em) {
|
||
.content {
|
||
max-width: 42rem;
|
||
margin-left: 21rem;
|
||
margin-right: 1rem;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 64em) {
|
||
.content {
|
||
margin-left: 22rem;
|
||
margin-right: 4rem;
|
||
}
|
||
}
|
||
|
||
/*** HTML Elements ***/
|
||
p, ul, ol, pre {
|
||
margin-bottom: 27px;
|
||
}
|
||
|
||
ul {
|
||
list-style-type: square;
|
||
margin-left: 27px;
|
||
}
|
||
|
||
ol {
|
||
list-style: decimal;
|
||
margin-left: 27px;
|
||
}
|
||
|
||
small {
|
||
font-size: 12px;
|
||
}
|
||
|
||
h1, h2, h3, h4, h5 {
|
||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
h1 {
|
||
font-size: 36px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
h2 {
|
||
font-size: 24px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
h3 {
|
||
font-size: 20px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
h4 {
|
||
font-size: 18px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
h5 {
|
||
font-size: 17px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
a {
|
||
text-decoration: none;
|
||
}
|
||
|
||
strong {
|
||
font-weight: 900;
|
||
}
|
||
|
||
em {
|
||
font-style: italic;
|
||
}
|
||
|
||
blockquote {
|
||
display: block;
|
||
margin-left: 27px;
|
||
padding-left: 13px;
|
||
border-left: 3px solid #f00;
|
||
}
|
||
|
||
hr {
|
||
border: none;
|
||
border-bottom: 1px solid #BCBCBC;
|
||
margin-bottom: 1em;
|
||
}
|
||
|
||
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);
|
||
}
|
||
|
||
/*
|
||
|
||
#posts h2 time {
|
||
color: #BCBCBC;
|
||
font-size: 0.6em;
|
||
}
|
||
|
||
#posts time:before {
|
||
content: "–";
|
||
margin-right: 0.2em;
|
||
}
|
||
|
||
#posts li h3 {
|
||
font-size: 1em;
|
||
}
|
||
*/
|
||
|
||
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;
|
||
}
|
||
|
||
article img {
|
||
max-width: 100%;
|
||
cursor: pointer;
|
||
}
|
||
|
||
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 {
|
||
border: 1px dashed #BCBCBC;
|
||
padding: 2em;
|
||
}
|
||
|
||
.about img.avatar {
|
||
width: 6.4em;
|
||
float: right;
|
||
margin: 0 2em;
|
||
border: 5px solid #fff;
|
||
border-radius: 50%;
|
||
}
|
||
|
||
.video-player {
|
||
position: relative;
|
||
padding-bottom: 56.25%;
|
||
padding-top: 30px;
|
||
height: 0;
|
||
overflow: hidden;
|
||
margin-bottom: 30px;
|
||
}
|
||
|
||
.alert {
|
||
background-color: #ffc;
|
||
padding: 13px;
|
||
margin-bottom: 27px;
|
||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||
box-shadow: 0px 0px 2px 0px rgba(171,171,171,0.55);
|
||
}
|