devroom.io/themes/outerspace/static/css/outerspace.css
2015-06-11 00:46:38 +02:00

264 lines
6.7 KiB
CSS

@charset 'UTF-8';
@import url(//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
/* Rest */
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}
/* Highlight.js */
.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}
body {
background: #FFFFFF;
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 1.25em;
}
.container {
width: 96%;
margin: 0 auto;
}
p, ul, ol, pre {
margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-weight: 700;
color: #333;
}
h2 {
font-size: 1.2em;
line-height: 1.4em;
}
a {
color: #ff2c00;
text-decoration: none;
}
strong {
font-weight: 700;
background-color: #f9ffbf;
}
em {
font-style: italic;
}
pre > code {
font-size: 1.2em;
}
code {
font-size: 1.1em;
color: #f00;
background-color: #efefef;
padding-left: 6px;
padding-right: 6px;
}
blockquote {
display: block;
margin-left: 2em;
padding-left: 1em;
border-left: 3px solid #f00;
background-color: #f9f9f9;
}
header {
padding-bottom: 2em;
margin-bottom: 2em;
font-family: "PT Sans", Helvetica, Arial, sans-serif;
border-bottom: 1px solid #e9e9e9;
}
header h1 {
margin-top: 1em;
margin-bottom: 0.5em;
font-size: 2em;
}
header h1 span {
color: #696969;
}
header nav {
font-size: 1.1em;
}
header nav ul.nav {
margin-bottom: 0;
}
header nav ul.nav li {
display: inline-block;
}
header nav ul.nav li::before {
content: " • ";
padding: 0 0.5em;
}
header nav ul.nav li:first-child:before {
content: "";
padding: 0;
}
footer {
padding-top: 2em;
padding-bottom: 2em;
margin-top: 2em;
margin-bottom: 2em;
border-top: 1px solid #e9e9e9;
}
.single-post h1 {
font-size: 2em;
line-height: 1em;
padding-bottom: 0.5em;
}
.single-post img {
max-width: 100%;
}
.single-post .date,
.single-post .tags,
.single-post .body {
padding: 0 0.3em;
}
.single-post ul {
list-style: square;
margin-left: 2em;
}
.posts .teaser-post {
margin-bottom: 2em;
}
.posts .teaser-post h2 {
font-size: 1.6em;
}
.posts .teaser-post h3 {
font-size: 1.2em;
}
.posts .teaser-post h2 a,
.posts .teaser-post h3 a {
color: #191919;
}
.posts .teaser-post .date {
display: inline-block;
}
/* .posts .teaser-post .meta { */
.single-post .meta {
padding: 0 0.3em;
color: #999;
font-size: 0.8em;
}
.posts .teaser-post .meta {
margin-bottom: 0;
color: #999;
font-size: 0.8em;
}
.posts .teaser-post .meta a {
color: #f66;
}
.posts .teaser-post .separator {
border-bottom: 1px solid #e9e9e9;
padding: 0;
margin: 0 auto;
width: 21%;
}
img.avatar {
border-radius: 50%;
width: 100px;
float: right;
margin-left: 1em;
}
.about {
background-color: #f9f9f9;
padding: 2em;
margin-bottom: 2em;
}
.about img.avatar {
width: 6.4em;
float: left;
margin: 3em 2em 2em 0;
border: 5px solid #fff;
border-radius: 50%;
}
.about p,
.about ul,
.about h4 {
margin-left: 9em;
}
.about h4 {
text-align: center;
padding-bottom: 1em;
}
ul#social {
list-style: none;
text-align: center;
margin-bottom: 0;
}
ul#social li {
font-size: 1.4em;
list-style: none;
padding: 0 0.2em;
display: inline-block;
}
ul#social li a {
color: #696969;
}
.body ul#social {
text-align: left;
}
@media (min-width: 720px) {
.container {
width: 630px;
}
.single-post h1 {
font-size: 2.4em;
line-height: 1em;
}
img.avatar {
width: 150px;
}
}
@media (max-width: 720px) {
.about img.avatar {
display: none;
}
.about p,
.about ul,
.about h4 {
margin-left: 0;
}
}