devroom.io/static/css/outerspace.css

315 lines
6.7 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: #545454;
}
a {
color: #3581b8;
}
h1 a, h2 a, h3 a {
color: #1F2E4D; */
}
.sidebar {
color: rgba(255,255,255,0.7);
background: url('/images/bg-80.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
box-shadow: 2px 0px 27px #666;
}
.sidebar a {
color: #fff;
}
.sidebar h1 a {
color: rgba(255,255,255,0.9);
}
.sidebar h1 a span {
color: rgba(255,255,255,0.6);
}
/*** Layout ***/
html, body {
font-family: 'Noto Serif', serif;
font-size: 17px;
line-height: 27px;
}
h1, h2, h3, h4, h5 {
font-family: 'Noto Sans', sans-serif;
line-height: 1.6;
}
pre, code {
font-family: monaco,Consolas,Lucida Console,monospace;
padding: 8px;
margin-left: 0;
margin-right: 0;
font-size: 14px;
background-color: #f7f7f7;
overflow: scroll;
}
/*** Sidebar **/
.sidebar {
padding: 2rem 1rem;
font-family: "Noto Sans", sans-serif;
}
.sidebar h1 {
font-size: 32px;
line-height: 1.5em;
}
.sidebar #stack {
font-size: 14px;
line-height: 17px;
margin-bottom: 27px;
}
.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: 0;
bottom: 0;
left: 0;
padding: 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-size: 36px;
font-weight: 700;
}
h2 {
font-size: 24px;
font-weight: 700;
}
h3 {
font-size: 20px;
font-weight: 700;
}
h4 {
font-size: 18px;
font-weight: 700;
}
h5 {
font-size: 17px;
font-weight: 700;
}
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);
}
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 .avatar {
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: "Nota Sans", sans-serif;
box-shadow: 0px 0px 2px 0px rgba(171,171,171,0.55);
}
/**** MailChimp ****/
/* MailChimp Form Embed Code - Horizontal Super Slim - 12/16/2015 v10.7
* Adapted from: http://blog.heyimcat.com/universal-signup-form/ */
#mc_embed_signup form {text-align:center; padding:10px 0 10px 0;}
.mc-field-group { display: inline-block; } /* positions input field horizontally */
#mc_embed_signup input.email {font-family:"Nota Sans",sans-serif; font-size: 15px; border: 1px solid #ABB0B2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #343434; background-color: #fff; box-sizing:border-box; height:32px; padding: 0px 0.4em; display: inline-block; margin: 0; width:350px; vertical-align:top;}
#mc_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
#mc_embed_signup .clear {display: inline-block;} /* positions button horizontally in line with input */
#mc_embed_signup .button {font-family:"Nota Sans",sans-serif; font-size: 13px; border: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; letter-spacing: .03em; color: #fff; background-color: #aaa; box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;}
#mc_embed_signup .button:hover {background-color:#777; cursor:pointer;}
#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}
@media (max-width: 768px) {
#mc_embed_signup input.email {width:100%; margin-bottom:5px;}
#mc_embed_signup .clear {display: block; width: 100% }
#mc_embed_signup .button {width: 100%; margin:0; }
}