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: 0.8em;
39 $full-content-width: $frame-max-width + $navi-width + 2*$outer-margin + $intrusion-width;
41 $frame-color: #121212;
44 $current-color: #ffa700;
45 $background-color: white;
47 $code-background-color: #505050;
48 $light-text-color: #888;
52 /* General page structure */
53 body { /* This centers us in the page, and handles the "too wide" case */
57 background-color: $background-color;
58 max-width: calc(#{$full-content-width + $navi-width} + 1px); /* add the right-hand "navi" for centering - and the border... ;-) */
60 #-frame { /* Add a frame, full height */
61 margin: 0 $navi-width;
63 border-left: solid $text-color 1px;
64 min-height: calc(100vh);
67 /* The content of the frame */
72 margin-left: $intrusion-width;
73 padding: $outer-margin;
74 padding-top: 1px; /* If we use 0 here, things get ugly. What?!? */
81 margin-left: -#{$navi-indent};
82 width: #{$navi-width + $navi-indent};
83 /* Put it into the right spot */
86 left: -#{$navi-width};
87 /* Make it not take space away from the main text */
94 list-style-type: none;
95 /* Indentation for nested nodes */
96 margin-left: $navi-indent;
100 width: calc(100% - 2*0.1em - 2*1px + #{$intrusion-width});
102 /* Always have a border, for the width to stay constant */
103 border: solid transparent 1px;
107 text-decoration: none;
113 border: solid $text-color 1px;
114 border-right: solid $background-color 1px;
115 background-color: $background-color;
119 border-bottom: solid $text-color 1px;
120 margin-bottom: 0.3em;
123 text-decoration: underline;
127 /* Medium-size screens */
128 @media screen and (max-width:#{ $full-content-width } ) {
135 @media screen and (max-width:#{ $frame-max-width } ) {
136 body, #-frame, #-title, #-content, #-navi {
147 padding: $outer-margin;
150 padding: $outer-margin;
151 border-bottom: solid $text-color 1px;
159 display: inline-block;
161 /* Display only parent and children, and decorate them appropriately */
163 display:inline-block;
164 margin: 0 0.3em !important;
165 padding: 0 !important;
166 border: none !important;
167 width: auto !important;
173 text-decoration: underline;
175 li.parent::before, li.current:before {
181 li.child + li.child::before {
189 body, #-frame, #-title, #-content {
204 /* Content styling */
208 color: $light-text-color;
212 padding: 0.1em 0.2em;
213 font-family: monospace;
220 background-color: $code-background-color;
229 text-decoration: none;
233 text-decoration: underline;