blog/themes/oni/css/style.css

102 lines
2.6 KiB
CSS

* { margin: 0; padding: 0; border: 0; }
body {
background-color: #ffffff;
color: #111111;
font-family: 'Roboto', sans-serif;
font-size: 15px;
line-height: 1.2em;
padding-top: 20px;
}
pre {
margin: 20px 0 20px -2em;
background-color: #111111;
color: #bfbfbf;
padding: 5px;
border-radius: 4px;
overflow: auto;
}
a { text-decoration: none; color: #0074d9; }
a:hover { text-decoration: underline; }
a:visited { color: #f012be; }
pre, code, tt { font-family: 'FantasqueSansMono-Regular'; }
h1 { font-size: 1.6em; font-family: 'Roboto'; font-weight: 700; text-align: center; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }
header, p, footer { margin-bottom: 15px; }
h2 { margin-top: 15px; margin-bottom: 10px; }
hr { margin: 8px 0 15px 0; border: 1px solid #808080; }
article h1 { font-size: 1.5em; text-align: left; margin-bottom: 2px; }
article h2 { font-size: 1.4em; letter-spacing: 1px; }
article h3 { font-size: 1.3em; }
article h4 { font-size: 1.2em; }
article h5 { font-size: 1.1em; }
article h6 { font-size: 1.0em; }
article .article-content { margin-left: 2em; }
article h1 small {
display: block;
font-size: 0.6em;
font-family: 'Roboto', sans-serif;
font-weight: normal;
}
article ul { margin-left: 1em; }
#content, #site-header, #site-footer { max-width: 725px; margin: 0 auto; }
#site-header, #site-footer, #page-navigation, ol, ul { margin-bottom: 15px !important; }
#site-navigation ul, ul.tags { float: right; list-style: none; }
#site-navigation li { display: inline-block; margin-left: 7px; }
ul.tags li {
display: inline-block;
background-color: #eeeeee;
padding: 3px 5px;
border-radius: 4px;
margin-left: 5px;
text-transform: uppercase;
}
ul.tags li a {
color: #111111;
font-family: 'FantasqueSansMono-Regular';
}
#page-navigation ul { list-style: none; }
#page-navigation li.prev { float: left; }
#page-navigation li.next { float: right; }
.clear { clear: both; }
.center { text-align: center; }
pre.src {
position: relative;
overflow: visible;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
color: black;
border-radius: 3px;
}
pre.src:hover:before { display: inline; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-makefile-gmake:before { content: 'GNUMakefile'; }
#text-footnotes { float: left; clear: left; padding-right: 0.5em; }