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;
24 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
30 text-decoration: none;
34 text-decoration: underline;
36 /* Header Size & Spacing */
65 /* Layout and Color stuff */
67 /* General page structure */
68 body { /* This centers us in the page, and handles the "too wide" case */
71 background-color: $background-color;
72 max-width: calc(#{$medium-width + $navi-width} + 1px); /* add the right-hand "navi" space for centering - and the border... ;-) */
74 #-frame { /* Add a frame, full height */
75 margin: 0 $navi-width;
76 padding-top: $outer-margin;
77 border-left: solid $text-color 1px;
78 min-height: calc(100vh - #{$outer-margin});
81 /* The content of the frame */
83 margin-left: $intrusion-width;
84 padding: $outer-margin;
85 padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
92 margin-left: -#{$navi-indent};
93 width: #{$navi-width + $navi-indent};
94 /* Put it into the right spot */
97 left: calc(-#{$navi-width} - 1px);
98 /* Make it not take space away from the main text */
105 list-style-type: none;
106 /* Indentation for nested nodes */
107 margin-left: $navi-indent;
111 width: calc(100% - 2*0.1em - 1px + #{$intrusion-width}); /* minus the padding, the border, and plus how much we want to overlap */
112 padding: 0.08em 0.1em 0.02em; /* top left-right bottom */
113 /* Always have *one* border, for the width to stay constant */
114 border-left: solid transparent 1px;
121 border: solid $text-color 1px;
122 border-right: none; /* solid $background-color 1px; */
123 background-color: $background-color;
127 border-bottom: solid $text-color 1px;
128 margin-bottom: 0.3em;
132 /* Medium-size screens */
133 @media screen and (max-width:#{ $medium-width + $navi-width } ) {
136 max-width: calc(#{ $medium-width} + 1px); /* add the left-hand *only* navi space for centering - and the border... ;-) */
144 @media screen and (max-width:#{ $small-width } ) {
145 body, #-frame, #-title, #-content, #-navi {
156 padding: $outer-margin;
159 padding: $outer-margin;
160 border-bottom: solid $text-color 1px;
168 display: inline-block;
170 /* Display only parent and children, and decorate them appropriately */
172 display:inline-block;
173 margin: 0 0.3em !important;
174 padding: 0 !important;
175 border: none !important;
176 width: auto !important;
182 text-decoration: underline;
184 li.parent::before, li.current:before {
190 li.child + li.child::before {
198 body, #-frame, #-title, #-content {
213 /* Content styling */
217 color: $light-text-color;
220 #-pretitle, .subtitle {
224 display: inline-block;
241 background-color: $code-background-color;
242 font-family: monospace;
246 padding: 0.1em 0.2em;