devroom.io/static/css/outerspace.css

292 lines
4.7 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
/*** 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;
2017-03-20 13:32:18 +00:00
padding-left: 0;
margin-left: 0;
2017-03-08 12:50:16 +00:00
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
}
2017-03-09 22:43:50 +00:00
small {
font-size: 12px;
}
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-20 13:09:42 +00:00
nav li span.recommended {
background-color: rgba(255, 153, 0, 0.62);
}
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;
}
2017-03-16 19:36:23 +00:00
.alert {
2017-03-17 10:23:02 +00:00
background-color: #ffc;
2017-03-16 19:36:23 +00:00
padding: 13px;
margin-bottom: 27px;
}