9 $frame-max-width: 50em;
10 $intrusion-width: 1.0em;
12 $full-content-width: $frame-max-width + $navi-width + 2*$outer-margin + $intrusion-width;
14 $background-color: white;
16 $light-text-color: #808080;
17 $code-background-color: #F7F7F7;
22 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
28 text-decoration: none;
32 text-decoration: underline;
34 /* Header Size & Spacing */
63 /* Layout and Color stuff */
65 /* General page structure */
66 body { /* This centers us in the page, and handles the "too wide" case */
69 background-color: $background-color;
70 max-width: calc(#{$full-content-width + $navi-width} + 1px); /* add the right-hand "navi" for centering - and the border... ;-) */
72 #-frame { /* Add a frame, full height */
73 margin: 0 $navi-width;
74 padding-top: $outer-margin;
75 border-left: solid $text-color 1px;
76 min-height: calc(100vh - #{$outer-margin});
79 /* The content of the frame */
84 margin-left: $intrusion-width;
85 padding: $outer-margin;
86 padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
93 margin-left: -#{$navi-indent};
94 width: #{$navi-width + $navi-indent};
95 /* Put it into the right spot */
98 left: -#{$navi-width};
99 /* Make it not take space away from the main text */
106 list-style-type: none;
107 /* Indentation for nested nodes */
108 margin-left: $navi-indent;
112 width: calc(100% - 2*0.1em - 2*1px + #{$intrusion-width});
114 /* Always have a border, for the width to stay constant */
115 border: solid transparent 1px;
121 padding: 0.05em 0.1em;
122 border: solid $text-color 1px;
123 border-right: solid $background-color 1px;
124 background-color: $background-color;
128 border-bottom: solid $text-color 1px;
129 margin-bottom: 0.3em;
133 /* Medium-size screens */
134 @media screen and (max-width:#{ $full-content-width } ) {
141 @media screen and (max-width:#{ $frame-max-width + 2*$outer-margin } ) {
142 body, #-frame, #-title, #-content, #-navi {
153 padding: $outer-margin;
156 padding: $outer-margin;
157 border-bottom: solid $text-color 1px;
165 display: inline-block;
167 /* Display only parent and children, and decorate them appropriately */
169 display:inline-block;
170 margin: 0 0.3em !important;
171 padding: 0 !important;
172 border: none !important;
173 width: auto !important;
179 text-decoration: underline;
181 li.parent::before, li.current:before {
187 li.child + li.child::before {
195 body, #-frame, #-title, #-content {
210 /* Content styling */
214 color: $light-text-color;
217 #-pretitle, .subtitle {
219 display: inline-block;
236 background-color: $code-background-color;
237 font-family: monospace;
241 padding: 0.1em 0.2em;