diff options
author | Tom Willemse | 2016-02-14 22:05:01 +0100 |
---|---|---|
committer | Tom Willemse | 2016-02-14 22:05:01 +0100 |
commit | 038fe3bbe38b14c04f669c1de95eac0924fe4696 (patch) | |
tree | 55c443eff0c8f059938cdd0dcdc402a76a51706d /themes/oni/css/style.css | |
parent | bf19350f7bbb2157dd050648c5b189dbd7a23067 (diff) | |
download | blog-038fe3bbe38b14c04f669c1de95eac0924fe4696.tar.gz blog-038fe3bbe38b14c04f669c1de95eac0924fe4696.zip |
Add theme
Diffstat (limited to 'themes/oni/css/style.css')
-rw-r--r-- | themes/oni/css/style.css | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/themes/oni/css/style.css b/themes/oni/css/style.css new file mode 100644 index 0000000..3345e99 --- /dev/null +++ b/themes/oni/css/style.css @@ -0,0 +1,100 @@ +* { 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'; } |