swisskyrepo.github.io/style.css

520 lines
8.9 KiB
CSS
Raw Normal View History

2014-02-07 00:18:00 +00:00
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
.highlight {
2014-02-19 01:26:49 +00:00
background-color: #222222;
padding: 5px 10px;
margin: 20px 0; }
2014-02-07 00:18:00 +00:00
2014-02-19 01:26:49 +00:00
.highlight pre {
word-break: break-all;
word-wrap: break-word; }
code {
font-family: 'Courier', monospace;
font-size: 14px; }
.highlight .c, .highlight .c1 {
color: #586e75; }
2014-02-07 00:18:00 +00:00
/* Comment */
.highlight .err {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Error */
2014-02-19 01:26:49 +00:00
.highlight .g {
color: #93a1a1; }
/* Generic */
2014-02-07 00:18:00 +00:00
.highlight .k {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Keyword */
2014-02-19 01:26:49 +00:00
.highlight .l {
color: #93a1a1; }
/* Literal */
.highlight .n {
color: #93a1a1; }
/* Name */
2014-02-07 00:18:00 +00:00
.highlight .o {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Operator */
2014-02-19 01:26:49 +00:00
.highlight .x {
color: #cb4b16; }
/* Other */
.highlight .p {
color: #93a1a1; }
/* Punctuation */
2014-02-07 00:18:00 +00:00
.highlight .cm {
2014-02-19 01:26:49 +00:00
color: #586e75; }
2014-02-07 00:18:00 +00:00
/* Comment.Multiline */
.highlight .cp {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Comment.Preproc */
.highlight .c1 {
2014-02-19 01:26:49 +00:00
color: #586e75; }
2014-02-07 00:18:00 +00:00
/* Comment.Single */
.highlight .cs {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Comment.Special */
.highlight .gd {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Generic.Deleted */
.highlight .ge {
2014-02-19 01:26:49 +00:00
color: #93a1a1;
2014-02-07 00:18:00 +00:00
font-style: italic; }
/* Generic.Emph */
.highlight .gr {
2014-02-19 01:26:49 +00:00
color: #dc322f; }
2014-02-07 00:18:00 +00:00
/* Generic.Error */
.highlight .gh {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Generic.Heading */
.highlight .gi {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Generic.Inserted */
.highlight .go {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Generic.Output */
.highlight .gp {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Generic.Prompt */
.highlight .gs {
2014-02-19 01:26:49 +00:00
color: #93a1a1;
2014-02-07 00:18:00 +00:00
font-weight: bold; }
/* Generic.Strong */
.highlight .gu {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Generic.Subheading */
.highlight .gt {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Generic.Traceback */
.highlight .kc {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Keyword.Constant */
.highlight .kd {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Keyword.Declaration */
2014-02-19 01:26:49 +00:00
.highlight .kn {
color: #859900; }
/* Keyword.Namespace */
2014-02-07 00:18:00 +00:00
.highlight .kp {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Keyword.Pseudo */
.highlight .kr {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Keyword.Reserved */
.highlight .kt {
2014-02-19 01:26:49 +00:00
color: #dc322f; }
2014-02-07 00:18:00 +00:00
/* Keyword.Type */
2014-02-19 01:26:49 +00:00
.highlight .ld {
color: #93a1a1; }
/* Literal.Date */
2014-02-07 00:18:00 +00:00
.highlight .m {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number */
.highlight .s {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String */
.highlight .na {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Name.Attribute */
.highlight .nb {
2014-02-19 01:26:49 +00:00
color: #b58900; }
2014-02-07 00:18:00 +00:00
/* Name.Builtin */
.highlight .nc {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Class */
.highlight .no {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Name.Constant */
2014-02-19 01:26:49 +00:00
.highlight .nd {
color: #268bd2; }
/* Name.Decorator */
2014-02-07 00:18:00 +00:00
.highlight .ni {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Name.Entity */
.highlight .ne {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Name.Exception */
.highlight .nf {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Function */
2014-02-19 01:26:49 +00:00
.highlight .nl {
color: #93a1a1; }
/* Name.Label */
2014-02-07 00:18:00 +00:00
.highlight .nn {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Name.Namespace */
2014-02-19 01:26:49 +00:00
.highlight .nx {
color: #555555; }
/* Name.Other */
.highlight .py {
color: #93a1a1; }
/* Name.Property */
2014-02-07 00:18:00 +00:00
.highlight .nt {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Tag */
.highlight .nv {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Variable */
.highlight .ow {
2014-02-19 01:26:49 +00:00
color: #859900; }
2014-02-07 00:18:00 +00:00
/* Operator.Word */
.highlight .w {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Text.Whitespace */
.highlight .mf {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number.Float */
.highlight .mh {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number.Hex */
.highlight .mi {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number.Integer */
.highlight .mo {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number.Oct */
.highlight .sb {
2014-02-19 01:26:49 +00:00
color: #586e75; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Backtick */
.highlight .sc {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Char */
.highlight .sd {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Doc */
.highlight .s2 {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Double */
.highlight .se {
2014-02-19 01:26:49 +00:00
color: #cb4b16; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Escape */
.highlight .sh {
2014-02-19 01:26:49 +00:00
color: #93a1a1; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Heredoc */
.highlight .si {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Interpol */
.highlight .sx {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Other */
.highlight .sr {
2014-02-19 01:26:49 +00:00
color: #dc322f; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Regex */
.highlight .s1 {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Single */
.highlight .ss {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.String.Symbol */
.highlight .bp {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Builtin.Pseudo */
.highlight .vc {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Variable.Class */
.highlight .vg {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Variable.Global */
.highlight .vi {
2014-02-19 01:26:49 +00:00
color: #268bd2; }
2014-02-07 00:18:00 +00:00
/* Name.Variable.Instance */
.highlight .il {
2014-02-19 01:26:49 +00:00
color: #2aa198; }
2014-02-07 00:18:00 +00:00
/* Literal.Number.Integer.Long */
html {
font-size: 100%; }
body {
background: white;
font: 18px/1.4 Helvetica, Arial, sans-serif;
color: #333333; }
.container {
margin: 0 auto;
max-width: 740px;
width: 100%; }
2014-02-13 01:42:49 +00:00
h1, h2, h3, h4, h5, h6 {
2014-02-07 00:18:00 +00:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #222222;
font-weight: 500;
2014-02-07 00:18:00 +00:00
line-height: 1.7;
2014-02-13 01:42:49 +00:00
margin: 1em 0 15px;
2014-02-07 00:18:00 +00:00
padding: 0; }
2014-05-28 00:58:58 +00:00
@media screen and (max-width: 520px) {
h1, h2, h3, h4, h5, h6 {
line-height: 1.4; } }
2014-02-07 00:18:00 +00:00
h1 {
font-weight: 400;
font-size: 32px; }
h1 a {
color: inherit; }
2014-02-07 00:18:00 +00:00
h2 {
font-size: 22px; }
2014-02-07 00:18:00 +00:00
2014-05-28 00:56:19 +00:00
h3 {
font-size: 18px;
font-weight: 600; }
2014-05-28 00:56:19 +00:00
h4 {
font-size: 18px;
color: #666666;
font-weight: 600; }
2014-02-07 00:18:00 +00:00
p {
margin: 15px 0; }
a {
text-decoration: none;
cursor: pointer;
color: #4183c4; }
a:hover, a:active {
text-decoration: underline; }
ul, ol {
margin: 15px 0;
padding-left: 30px; }
2014-02-07 00:18:00 +00:00
ul {
list-style-type: disc; }
ol {
list-style-type: decimal; }
ol ul, ul ol, ul ul, ol ol {
margin: 0; }
ul ul, ol ul {
list-style-type: circle; }
em {
font-style: italic; }
strong {
font-weight: 600; }
2014-02-13 01:42:49 +00:00
img {
max-width: 100%; }
.date {
font-style: italic;
color: #666666; }
2014-02-07 00:18:00 +00:00
::-moz-selection {
color: black;
background: #eeeeee; }
::selection {
color: black;
background: #eeeeee; }
.wrapper-masthead {
2014-05-18 23:13:54 +00:00
margin-bottom: 40px; }
2014-02-17 15:07:14 +00:00
.masthead {
2014-05-18 23:13:54 +00:00
padding: 20px 0;
border-bottom: 1px solid #eeeeee; }
@media screen and (max-width: 520px) {
.masthead {
text-align: center; } }
.masthead br {
visibility: none; }
2014-02-07 00:18:00 +00:00
2014-02-13 01:42:49 +00:00
.avatar {
2014-02-17 15:07:14 +00:00
float: left;
width: 70px;
2014-05-18 23:30:00 +00:00
height: 70px;
margin-right: 15px; }
@media screen and (max-width: 520px) {
.avatar {
float: none;
display: block;
margin: 0 auto; } }
.avatar img {
border-radius: 5px; }
2014-02-17 15:07:14 +00:00
.site-name {
float: left;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 28px;
2014-02-17 15:07:14 +00:00
letter-spacing: 1px;
text-decoration: none;
cursor: pointer;
color: #333333; }
@media screen and (max-width: 520px) {
.site-name {
float: none;
display: block; } }
2014-02-17 15:07:14 +00:00
.site-name:hover, .site-name:active {
text-decoration: none; }
.site-description {
float: left;
font-size: 16px;
margin: 0;
margin-top: -5px;
color: #777777; }
@media screen and (max-width: 520px) {
.site-description {
float: none;
display: block;
margin: 3px 0; } }
2014-02-13 01:42:49 +00:00
2014-02-07 00:18:00 +00:00
nav {
float: right;
margin-top: -25px;
2014-02-07 00:18:00 +00:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px; }
2014-02-07 00:18:00 +00:00
@media screen and (max-width: 520px) {
nav {
float: none;
display: block;
margin-top: 15px;
font-size: 16px; } }
2014-02-07 00:18:00 +00:00
nav a {
margin-left: 25px;
text-align: right;
font-weight: 300;
letter-spacing: 1px;
2014-02-17 15:07:14 +00:00
color: #333333; }
2014-02-07 00:18:00 +00:00
nav a:hover, nav a:active {
text-decoration: none;
cursor: pointer;
color: #333333; }
@media screen and (max-width: 520px) {
nav a {
margin: 0 10px; } }
2014-02-07 00:18:00 +00:00
@media screen and (max-width: 520px) {
.logo, nav {
float: none;
width: 100%;
text-align: center; } }
2014-02-13 01:42:49 +00:00
.posts > .post {
padding-bottom: 2em;
border-bottom: 1px solid #eeeeee; }
.posts > .post:last-child {
padding-bottom: 1em;
border-bottom: none; }
2014-05-28 01:09:25 +00:00
.post h1 a {
cursor: pointer; }
2014-05-28 01:09:25 +00:00
.post h1 a:hover, .post h1 a:active {
color: #4183c4;
text-decoration: none; }
2014-02-13 01:42:49 +00:00
.post blockquote {
border-left: 2px solid #666666;
font-size: 22px;
2014-02-13 01:42:49 +00:00
font-style: italic;
margin: 1.8em 0.8em;
padding: 0.1em 1em;
color: #666666; }
2014-02-07 00:18:00 +00:00
.wrapper-footer {
margin-top: 50px;
background-color: #eeeeee;
border-top: 1px solid #dddddd; }
2014-02-07 00:18:00 +00:00
footer {
padding: 20px 0;
text-align: center; }