devroom.io/static/css/outerspace.css
2017-03-20 14:32:18 +01:00

292 lines
4.7 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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: Tahoma,Verdana,Segoe,sans-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;
}
.sidebar h1 {
font-size: 32px;
line-height: 1.5em;
}
.sidebar #stack {
font-family: monaco,Consolas,Lucida Console,monospace;
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 {
font: bold 36px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h2 {
font: bold 24px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h3 {
font: bold 20px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h4 {
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h5 {
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
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;
}