115 lines
3 KiB
CSS
115 lines
3 KiB
CSS
* { margin: 0; padding: 0; border: 0; }
|
|
|
|
body {
|
|
background-attachment: fixed;
|
|
background-color: #111111;
|
|
background-image: url('../img/background.png');
|
|
background-position: center;
|
|
background-size: cover;
|
|
color: #ffffff;
|
|
font-family: 'open_sansregular', sans-serif;
|
|
font-size: 15px;
|
|
line-height: 1.2em;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
pre {
|
|
background-color: #111111;
|
|
border-radius: 4px;
|
|
color: #bfbfbf;
|
|
margin: 20px 0;
|
|
overflow: auto;
|
|
padding: 5px;
|
|
}
|
|
|
|
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: 'open_sansregular', sans-serif; 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 h1 small {
|
|
display: block;
|
|
font-size: 0.6em;
|
|
font-family: 'open_sansregular', 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; }
|
|
#site-footer { margin-top: 15px !important; }
|
|
|
|
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'; }
|
|
pre.src-python:before { content: 'Python'; }
|
|
pre.src-scheme:before { content: 'Scheme'; }
|
|
pre.src-ruby:before { content: 'Ruby'; }
|
|
|
|
.footnum { float: left; clear: left; padding-right: 0.5em; }
|
|
|
|
#content {
|
|
background-color: #ffffff;
|
|
color: #111111;
|
|
padding: 2em;
|
|
}
|