diff options
Diffstat (limited to 'nikola/data/themes/bootstrap3/assets/css/theme.css')
| -rw-r--r-- | nikola/data/themes/bootstrap3/assets/css/theme.css | 60 |
1 files changed, 45 insertions, 15 deletions
diff --git a/nikola/data/themes/bootstrap3/assets/css/theme.css b/nikola/data/themes/bootstrap3/assets/css/theme.css index 5e3775a..9ce6472 100644 --- a/nikola/data/themes/bootstrap3/assets/css/theme.css +++ b/nikola/data/themes/bootstrap3/assets/css/theme.css @@ -1,7 +1,3 @@ -body { - margin-top: 60px; -} - #container { width: 960px; margin: 0 auto; @@ -92,17 +88,6 @@ article.post-micro { font-size: 1.5em; } -/* fix anchors for headers */ -h1, h2, h3 { - margin-top: -40px; - padding-top: 60px; -} - -h4, h5, h6 { - margin-top: -50px; - padding-top: 60px; -} - .image-block { display: inline-block; } @@ -178,6 +163,51 @@ h4, h5, h6 { max-width: 100%; } +.navbar-brand>img { + display: inline; +} + .row { margin: 0; } + +/* for alignment with Bootstrap's .entry-content styling */ +.entry-summary { + margin-top: 1em; +} + +/* Custom page footer */ +#footer { + padding-top: 19px; + color: #777; + border-top: 1px solid #e5e5e5; +} + +/* hat tip bootstrap/html5 boilerplate */ +@media print { + *, *:before, *:after { + font-family: Garamond, Junicode, serif; + } + + body { + font-size: 12pt; + } + + article .entry-title a[href]:after, + article .metadata a[href]:after, + article .tags a[href]:after { + content: ""; + } + + article .metadata .sourceline { + display: none; + } + + article .metadata .linkline a[href]:after { + content: " (" attr(href) ")"; + } + + .navbar { + display: none; + } +} |
