diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-10-13 09:34:15 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-10-13 09:34:15 +0200 |
commit | 28425283bdeb34fac01d1eeb9c8dd40f987934ea (patch) | |
tree | ddabdcd7a60d9ee7f6a34f604ee4cb38d7ed6dc7 /docs/pkgdown.css | |
parent | e3fa7ea27ccdf98e751642dea7315ce6076ad004 (diff) |
Static documentation rebuilt by pkgdown
Diffstat (limited to 'docs/pkgdown.css')
-rw-r--r-- | docs/pkgdown.css | 91 |
1 files changed, 66 insertions, 25 deletions
diff --git a/docs/pkgdown.css b/docs/pkgdown.css index fd7b0ba..9c437c7 100644 --- a/docs/pkgdown.css +++ b/docs/pkgdown.css @@ -36,11 +36,8 @@ img.icon { /* Section anchors ---------------------------------*/ -.hasAnchor { - margin-left: -30px; -} - a.anchor { + margin-left: -30px; display:inline-block; width: 30px; height: 30px; @@ -56,6 +53,13 @@ a.anchor { visibility: visible; } +@media (max-width: 767px) { + .hasAnchor:hover a.anchor { + visibility: hidden; + } +} + + /* Fixes for fixed navbar --------------------------*/ .contents h1, .contents h2, .contents h3, .contents h4 { @@ -63,6 +67,17 @@ a.anchor { margin-top: -60px; } +/* Static header placement on mobile devices */ +@media (max-width: 767px) { + .navbar-fixed-top { + position: absolute; + } + .navbar { + padding: 0; + } +} + + /* Sidebar --------------------------*/ #sidebar { @@ -81,33 +96,59 @@ a.anchor { margin-bottom: 0.5em; } -/* Syntax highlighting ---------------------------------------------------- */ +/* Reference index & topics ----------------------------------------------- */ -code { - background-color: #f7f7f7; - color: #333; -} -code a { - color: #375f84; +.ref-index th {font-weight: normal;} +.ref-index h2 {font-size: 20px;} + +.ref-index td {vertical-align: top;} +.ref-index .alias {width: 40%;} +.ref-index .title {width: 60%;} + +.ref-index .alias {width: 40%;} +.ref-index .title {width: 60%;} + +.ref-arguments th {text-align: right; padding-right: 10px;} +.ref-arguments th, .ref-arguments td {vertical-align: top;} +.ref-arguments .name {width: 20%;} +.ref-arguments .desc {width: 80%;} + +/* Nice scrolling for wide elements --------------------------------------- */ + +table { + display: block; + overflow: auto; } -.warning { color: red; } -.message { font-weight: bolder; } -.error { color: red; font-weight: bolder; } +/* Syntax highlighting ---------------------------------------------------- */ -.fl,.number {color:rgb(21,20,181);} -.fu,.functioncall {color:#264D66 ;} -.ch,.st,.string {color:#375D81 ;} -.kw,.keyword {color:black;} -.argument {color:#264D66 ;} -.co,.comment {color: #777;} -.formalargs {color: #264D66;} -.eqformalargs {color:#264D66;} -.slot {font-style:italic;} -.symbol {color:black ;} -.prompt {color:black ;} +pre { + word-wrap: normal; + word-break: normal; + border: 1px solid #eee; +} + +pre, code { + background-color: #f8f8f8; + color: #333; +} pre img { background-color: #fff; display: block; } + +code a, pre a { + color: #375f84; +} + +.fl {color: #1514b5;} +.fu {color: #000000;} /* function */ +.ch,.st {color: #036a07;} /* string */ +.kw {color: #264D66;} /* keyword */ +.co {color: #888888;} /* comment */ + +.message { color: black; font-weight: bolder;} +.error { color: orange; font-weight: bolder;} +.warning { color: #6A0366; font-weight: bolder;} + |