8 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
11 /* Header Size & Spacing */
33 /* Layout and Color stuff */
36 $frame-max-width: 52em;
38 $frame-color: #121212;
41 $current-color: #ffa700;
42 $outer-background-color: #505050;
43 $inner-background-color: #252525;
46 $link-color-visited: #bfe1ff;
47 $link-color-hover: #5089ba;
50 /* General page structure */
51 body { /* This centers us in the page, and handles the "too wide" case */
52 padding: $outer-margin;
55 background-color: $outer-background-color;
56 max-width: calc(#{$frame-max-width + 2 * $navi-width} + 2px);
58 #frame { /* Add a frame */
59 margin: 0 $navi-width;
60 border: solid $frame-color 1px;
61 background-color: $inner-background-color;
63 min-height: calc(100vh - #{2* $outer-margin} - 2px);
66 /* The content of the frame */
68 border-bottom: solid $title-color 2px;
77 padding-top: 1px; /* If we use 0 here, things get ugly. What?!? */
82 /* No border, no padding, so all the width computations become easy. */
84 background-color: $outer-background-color;
89 left: -#{$navi-width};
90 margin-bottom: calc(-100% - #{$frame-max-width});
95 list-style-type: none;
98 /* Indentation for nested nodes */
102 /* Border around the links */
104 background-color: $inner-background-color;
105 border-left: solid $navi-color 2px;
106 border-right: solid $navi-color 2px;
107 border-top-left-radius: 10px;
108 border-bottom-left-radius: 10px;
116 text-decoration: none;
121 border-color: $current-color;
124 border-color: $title-color;
132 @media screen and (max-width:#{ $frame-max-width + 2 * $outer-margin } ) {
133 body, #frame, #title, #content, #navi {
140 /* Place navi above the title */
143 background-color: $inner-background-color;
146 #navi ul, #navi ul ul, #navi li, #navi li a {
154 border-bottom: solid $navi-color 2px;
156 /* Display only parent and children, and deocare them appropriately */
158 display:inline-block;
164 #navi li.parent:before, #navi li.current:before {
167 #navi li.child:before {
170 #navi li.child + li:before {
177 text-decoration: underline;
183 body, #frame, #title, #content {
205 article.rst a.rst-footnote {
206 vertical-align: super;
208 article.rst div.rst-footnote {
211 article.rst div.rst-footnote > * {
214 article.rst div.rst-footnote a {
217 article.rst .rst-literal, article.rst pre {
218 font-family: monospace;
221 article.rst .rst-literal {
222 padding: 0.1em 0.2em;
223 background-color: $outer-background-color;
227 background-color: $outer-background-color;
230 /* Content styling */
239 color:$link-color-visited;
242 color:$link-color-hover;