9 $frame-max-width: 50em;
10 $intrusion-width: 1.0em;
13 $small-width: $frame-max-width + 2*$outer-margin;
14 $medium-width: $small-width + $intrusion-width + $navi-width;
16 $background-color: white;
18 $light-text-color: #808080;
19 $code-background-color: #F7F7F7;
21 $light-link-color: #69a7d2;
25 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
31 text-decoration: none;
35 text-decoration: underline;
37 /* Header Size & Spacing */
66 /* Layout and Color stuff */
68 g/* General page structure */
72 body { /* This centers us in the page, and handles the "too wide" case */
75 background-color: $background-color;
76 max-width: calc(#{$medium-width + $navi-width} + 1px); /* add the right-hand "navi" space for centering - and the border... ;-) */
78 #-frame { /* Add a frame, full height */
79 margin: 0 $navi-width;
80 padding-top: $outer-margin;
81 border-left: solid $text-color 1px;
82 min-height: calc(100vh - #{$outer-margin});
85 /* The content of the frame */
87 margin-left: $intrusion-width;
88 padding: $outer-margin;
89 padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
96 margin-left: -#{$navi-indent};
97 width: #{$navi-width + $navi-indent};
98 /* Put it into the right spot */
101 left: calc(-#{$navi-width} - 1px);
102 /* Make it not take space away from the main text */
109 list-style-type: none;
110 /* Indentation for nested nodes */
111 margin-left: $navi-indent;
115 width: calc(100% - 2*0.25em - 1px + #{$intrusion-width}); /* minus the padding, the border, and plus how much we want to overlap */
116 padding: 0.08em 0.25em 0.02em; /* top left-right bottom */
117 /* Always have *one* border, for the width to stay constant */
118 border-left: solid transparent 1px;
125 border: solid $text-color 1px;
126 border-right: none; /* solid $background-color 1px; */
127 background-color: $background-color;
131 border-bottom: solid $text-color 1px;
132 margin-bottom: 0.3em;
136 /* Medium-size screens */
137 @media screen and (max-width:#{ $medium-width + $navi-width } ) {
140 max-width: calc(#{ $medium-width} + 1px); /* add the left-hand *only* navi space for centering - and the border... ;-) */
148 @media screen and (max-width:#{ $small-width } ) {
152 body, #-frame, #-content, #-navi {
163 padding: $outer-margin;
166 padding: $outer-margin;
167 border-bottom: solid $text-color 1px;
175 display: inline-block;
177 /* Display only parent and children, and decorate them appropriately */
179 display:inline-block;
180 margin: 0 0.3em !important;
181 padding: 0 !important;
182 border: none !important;
183 width: auto !important;
189 text-decoration: underline;
191 li.parent::before, li.current:before {
197 li.child + li.child::before {
205 body, #-frame, #-content {
220 /* Content styling */
227 color: $light-text-color;
230 color: $light-link-color;
235 .pretitle, .subtitle {
237 display: inline-block;
257 background-color: $code-background-color;
258 font-family: monospace;
262 padding: 0.1em 0.2em;