devroom.io/static/css/outerspace.css

280 lines
6.9 KiB
CSS
Raw Normal View History

2015-06-11 07:39:38 +00:00
@charset "utf-8";
2015-03-26 11:28:08 +00:00
2017-03-08 12:50:16 +00:00
/*** HTML Reset ***/
2016-08-24 11:03:32 +00:00
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}
2016-01-13 12:14:48 +00:00
2017-03-08 12:50:16 +00:00
/*** Syntax Highlighting ***/
2016-02-16 20:42:17 +00:00
.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;-webkit-text-size-adjust:none}.hljs,.hljs-subst,.hljs-tag .hljs-title,.nginx .hljs-title{color:#000}.apache .hljs-cbracket,.apache .hljs-tag,.asciidoc .hljs-header,.bash .hljs-variable,.coffeescript .hljs-attribute,.django .hljs-variable,.erlang_repl .hljs-function_or_atom,.haml .hljs-symbol,.hljs-addition,.hljs-constant,.hljs-flow,.hljs-parent,.hljs-pragma,.hljs-preprocessor,.hljs-rules .hljs-value,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-title,.markdown .hljs-header,.ruby .hljs-symbol,.ruby .hljs-symbol .hljs-string,.smalltalk .hljs-class,.tex .hljs-command,.tex .hljs-special{color:#756bb1}.asciidoc .hljs-blockquote,.diff .hljs-header,.hljs-annotation,.hljs-chunk,.hljs-comment,.markdown .hljs-blockquote,.smartquote{color:#636363}.asciidoc .hljs-bullet,.asciidoc .hljs-link_url,.go .hljs-constant,.hljs-change,.hljs-date,.hljs-hexcolor,.hljs-literal,.hljs-number,.hljs-regexp,.lasso .hljs-variable,.makefile .hljs-variable,.markdown .hljs-bullet,.markdown .hljs-link_url,.smalltalk .hljs-char,.smalltalk .hljs-symbol{color:#31a354}.apache .hljs-sqbracket,.asciidoc .hljs-attribute,.asciidoc .hljs-link_label,.clojure .hljs-attribute,.coffeescript .hljs-property,.erlang_repl .hljs-reserved,.haml .hljs-bullet,.hljs-array,.hljs-attr_selector,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-list .hljs-built_in,.hljs-localvars,.hljs-phony,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-shebang,.lasso .hljs-attribute,.markdown .hljs-link_label,.nginx .hljs-built_in,.ruby .hljs-string,.tex .hljs-formula,.vhdl .hljs-attribute{color:#88f}.apache .hljs-tag,.asciidoc .hljs-strong,.bash .hljs-variable,.css .hljs-tag,.hljs-built_in,.hljs-dartdoc,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-phpdoc,.hljs-request,.hljs-status,.hljs-title,.hljs-type,.hljs-typename,.hljs-winutils,.hljs-yardoctag,.markdown .hljs-strong,.smalltalk .hljs-class,.tex .hljs-command{color:#3182bd}.asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic}.nginx .hljs-built_in{font-weight:400}.coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .css,.xml .hljs-cdata,.xml .javascript,.xml .vbscript{opacity:.5}.css .hljs-attribute,.html .hljs-attribute{color:#e6550d}.css .hljs-class,.html .hljs-tag,.html .hljs-title{color:#3182bd}
2015-03-26 11:28:08 +00:00
2017-03-08 12:50:16 +00:00
/*** Colors ***/
2016-08-24 11:03:32 +00:00
html, body {
2017-03-08 12:50:16 +00:00
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;
2015-03-26 11:28:08 +00:00
}
2017-01-20 15:00:44 +00:00
pre, code {
2017-03-08 12:50:16 +00:00
font-family: monaco,Consolas,Lucida Console,monospace;
margin-left: 1em;
font-size: 14px;
}
/*** Sidebar **/
.sidebar {
padding: 2rem 1rem;
2017-01-20 15:00:44 +00:00
}
2017-03-08 12:50:16 +00:00
.sidebar h1 {
font-size: 32px;
line-height: 1.5em;
2016-08-22 11:02:47 +00:00
}
2017-03-08 12:50:16 +00:00
.sidebar #stack {
font-family: monaco,Consolas,Lucida Console,monospace;
font-size: 13px;
line-height: 17px;
margin-bottom: 27px;
2015-03-26 11:28:08 +00:00
}
2017-03-08 12:50:16 +00:00
.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 ***/
2016-02-16 20:42:17 +00:00
p, ul, ol, pre {
2017-03-08 12:50:16 +00:00
margin-bottom: 27px;
2015-03-26 11:28:08 +00:00
}
2015-03-26 12:17:43 +00:00
2016-08-24 11:03:32 +00:00
ul {
list-style-type: square;
2017-03-08 12:50:16 +00:00
margin-left: 27px;
2016-08-24 11:03:32 +00:00
}
ol {
list-style: decimal;
2017-03-08 12:50:16 +00:00
margin-left: 27px;
2016-08-24 11:03:32 +00:00
}
h1 {
2017-03-08 12:50:16 +00:00
font: bold 36px/1.5 Tahoma,Verdana,Segoe,sans-serif;
2015-04-07 09:07:32 +00:00
}
2016-02-16 20:42:17 +00:00
h2 {
2017-03-08 12:50:16 +00:00
font: bold 24px/1.5 Tahoma,Verdana,Segoe,sans-serif;
2016-08-24 11:03:32 +00:00
}
h3 {
2017-03-08 12:50:16 +00:00
font: bold 20px/1.5 Tahoma,Verdana,Segoe,sans-serif;
2016-08-24 11:03:32 +00:00
}
h4 {
2017-03-08 12:50:16 +00:00
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
2016-08-24 11:03:32 +00:00
}
h5 {
2017-03-08 12:50:16 +00:00
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
2015-04-07 09:07:32 +00:00
}
2016-02-16 20:42:17 +00:00
a {
text-decoration: none;
2016-01-06 15:38:59 +00:00
}
strong {
2017-03-08 12:50:16 +00:00
font-weight: 900;
2016-02-16 20:42:17 +00:00
}
em {
font-style: italic;
2016-01-06 15:38:59 +00:00
}
2016-02-16 20:42:17 +00:00
blockquote {
display: block;
2017-03-08 12:50:16 +00:00
margin-left: 27px;
padding-left: 13px;
2016-02-16 20:42:17 +00:00
border-left: 3px solid #f00;
2016-08-24 11:03:32 +00:00
}
hr {
border: none;
border-bottom: 1px solid #BCBCBC;
margin-bottom: 1em;
}
2017-03-08 12:50:16 +00:00
span.recommended {
font-size: 0.8em;
background-color: #FF9900;
border-radius: 0.5em;
2016-02-16 20:42:17 +00:00
padding: 0 0.5em;
}
2017-03-08 12:50:16 +00:00
/*
2016-08-22 11:02:47 +00:00
2016-08-24 11:12:08 +00:00
#posts h2 time {
2016-08-22 11:02:47 +00:00
color: #BCBCBC;
2016-08-24 11:03:32 +00:00
font-size: 0.6em;
2016-02-16 20:42:17 +00:00
}
2016-08-24 11:12:08 +00:00
#posts time:before {
2016-08-24 11:03:32 +00:00
content: "";
margin-right: 0.2em;
2016-02-16 20:42:17 +00:00
}
2016-08-24 11:12:08 +00:00
#posts li h3 {
2016-08-24 11:03:32 +00:00
font-size: 1em;
2016-02-16 20:42:17 +00:00
}
2017-03-08 12:50:16 +00:00
*/
2016-02-16 20:42:17 +00:00
2016-08-24 11:03:32 +00:00
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);
2016-02-16 20:42:17 +00:00
}
2016-08-24 11:03:32 +00:00
kbd kbd {
2016-02-16 20:42:17 +00:00
padding: 0;
2016-08-24 11:03:32 +00:00
font-size: 100%;
font-weight: 700;
-webkit-box-shadow: none;
box-shadow: none;
}
2016-08-24 11:12:08 +00:00
article img {
2016-08-24 11:03:32 +00:00
max-width: 100%;
2017-03-08 12:50:16 +00:00
cursor: pointer;
2016-02-16 20:42:17 +00:00
}
2016-10-10 13:53:46 +00:00
article img.zoomed {
position: fixed;
top: 5vh;
bottom: 5vh;
left: 5vw;
right: 5vw;
max-width: 90vw;
max-height: 90vh;
margin: auto;
2017-03-08 12:50:16 +00:00
border: 4px solid #000
2016-10-10 13:53:46 +00:00
}
2016-08-23 19:40:51 +00:00
img.img-right {
margin: 0 2em;
2016-08-24 11:03:32 +00:00
width: 33%;
2016-08-23 19:40:51 +00:00
float: right;
}
2016-02-16 20:42:17 +00:00
.about {
2016-08-22 11:02:47 +00:00
border: 1px dashed #BCBCBC;
2016-02-16 20:42:17 +00:00
padding: 2em;
2015-04-07 09:07:32 +00:00
}
2016-02-16 20:42:17 +00:00
.about img.avatar {
width: 6.4em;
2016-08-22 11:02:47 +00:00
float: right;
margin: 0 2em;
2016-02-16 20:42:17 +00:00
border: 5px solid #fff;
border-radius: 50%;
}
2016-04-11 08:44:56 +00:00
.video-player {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
margin-bottom: 30px;
}