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 */
81 margin-left: $intrusion-width;
82 padding: $outer-margin;
83 padding-top: 1px; /* If we use 0 here, some paddings add up things get ugly. What?!? */
90 margin-left: -#{$navi-indent};
91 width: #{$navi-width + $navi-indent};
92 /* Put it into the right spot */
95 left: -#{$navi-width};
96 /* Make it not take space away from the main text */
103 list-style-type: none;
104 /* Indentation for nested nodes */
105 margin-left: $navi-indent;
109 width: calc(100% - 2*0.1em - 2*1px + #{$intrusion-width});
111 /* Always have a border, for the width to stay constant */
112 border: solid transparent 1px;
118 padding: 0.05em 0.1em;
119 border: solid $text-color 1px;
120 border-right: solid $background-color 1px;
121 background-color: $background-color;
125 border-bottom: solid $text-color 1px;
126 margin-bottom: 0.3em;
130 /* Medium-size screens */
131 @media screen and (max-width:#{ $full-content-width } ) {
138 @media screen and (max-width:#{ $frame-max-width + 2*$outer-margin } ) {
139 body, #-frame, #-title, #-content, #-navi {
150 padding: $outer-margin;
153 padding: $outer-margin;
154 border-bottom: solid $text-color 1px;
162 display: inline-block;
164 /* Display only parent and children, and decorate them appropriately */
166 display:inline-block;
167 margin: 0 0.3em !important;
168 padding: 0 !important;
169 border: none !important;
170 width: auto !important;
176 text-decoration: underline;
178 li.parent::before, li.current:before {
184 li.child + li.child::before {
192 body, #-frame, #-title, #-content {
207 /* Content styling */
211 color: $light-text-color;
214 #-pretitle, .subtitle {
218 display: inline-block;
235 background-color: $code-background-color;
236 font-family: monospace;
240 padding: 0.1em 0.2em;