8 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
11 /* Header Size & Spacing */
33 /* Layout and Color stuff */
36 $frame-max-width: 50em;
37 $intrusion-width: 1.0em;
39 $full-content-width: $frame-max-width + $navi-width + 2*$outer-margin + $intrusion-width;
41 $background-color: white;
43 $light-text-color: #808080;
44 $code-background-color: #F7F7F7;
47 /* General page structure */
48 body { /* This centers us in the page, and handles the "too wide" case */
52 background-color: $background-color;
53 max-width: calc(#{$full-content-width + $navi-width} + 1px); /* add the right-hand "navi" for centering - and the border... ;-) */
55 #-frame { /* Add a frame, full height */
56 margin: 0 $navi-width;
58 border-left: solid $text-color 1px;
59 min-height: calc(100vh);
62 /* The content of the frame */
67 margin-left: $intrusion-width;
68 padding: $outer-margin;
69 padding-top: 1px; /* If we use 0 here, things get ugly. What?!? */
76 margin-left: -#{$navi-indent};
77 width: #{$navi-width + $navi-indent};
78 /* Put it into the right spot */
81 left: -#{$navi-width};
82 /* Make it not take space away from the main text */
89 list-style-type: none;
90 /* Indentation for nested nodes */
91 margin-left: $navi-indent;
95 width: calc(100% - 2*0.1em - 2*1px + #{$intrusion-width});
97 /* Always have a border, for the width to stay constant */
98 border: solid transparent 1px;
102 text-decoration: none;
108 border: solid $text-color 1px;
109 border-right: solid $background-color 1px;
110 background-color: $background-color;
114 border-bottom: solid $text-color 1px;
115 margin-bottom: 0.3em;
118 text-decoration: underline;
122 /* Medium-size screens */
123 @media screen and (max-width:#{ $full-content-width } ) {
130 @media screen and (max-width:#{ $frame-max-width + 2*$outer-margin } ) {
131 body, #-frame, #-title, #-content, #-navi {
142 padding: $outer-margin;
145 padding: $outer-margin;
146 border-bottom: solid $text-color 1px;
154 display: inline-block;
156 /* Display only parent and children, and decorate them appropriately */
158 display:inline-block;
159 margin: 0 0.3em !important;
160 padding: 0 !important;
161 border: none !important;
162 width: auto !important;
168 text-decoration: underline;
170 li.parent::before, li.current:before {
176 li.child + li.child::before {
184 body, #-frame, #-title, #-content {
199 /* Content styling */
203 color: $light-text-color;
206 #-pretitle, .subtitle {
208 display: inline-block;
225 background-color: $code-background-color;
226 font-family: monospace;
230 padding: 0.1em 0.2em;
245 text-decoration: none;
249 text-decoration: underline;