8 font-family: DejaVu Sans, Verdana, Arial, sans-serif;
11 /* Header Size & Spacing */
33 /* Layout and Color stuff */
36 $frame-max-width: 52em;
38 $frame-color: #121212;
41 $current-color: #ffa700;
42 $outer-background-color: #505050;
43 $inner-background-color: #252525;
46 $link-color-visited: #bfe1ff;
47 $link-color-hover: #5089ba;
50 /* General page structure */
51 body { /* This centers us in the page, and handles the "too wide" case */
52 padding: $outer-margin;
55 background-color: $outer-background-color;
56 max-width: calc(#{$frame-max-width + 2 * $navi-width} + 2px);
58 #-frame { /* Add a frame */
59 margin: 0 $navi-width;
60 border: solid $frame-color 1px;
61 background-color: $inner-background-color;
63 min-height: calc(100vh - #{2* $outer-margin} - 2px);
66 /* The content of the frame */
68 border-bottom: solid $title-color 2px;
77 padding-top: 1px; /* If we use 0 here, things get ugly. What?!? */
82 background-color: $outer-background-color;
83 /* No border, no padding, so all the width computations become easy. */
87 /* Put it into the right spot */
90 left: -#{$navi-width};
91 /* Make it not take space away from the main text */
98 list-style-type: none;
101 /* Indentation for nested nodes */
105 /* Border around the links */
107 background-color: $inner-background-color;
108 border-left: solid $navi-color 2px;
109 border-right: solid $navi-color 2px;
110 border-top-left-radius: 10px;
111 border-bottom-left-radius: 10px;
119 text-decoration: none;
124 border-color: $current-color;
127 border-color: $title-color;
135 @media screen and (max-width:#{ $frame-max-width + 2 * $outer-margin } ) {
136 body, #-frame, #-title, #-content, #-navi {
143 /* Place navi above the title */
146 background-color: $inner-background-color;
149 #-navi ul, #-navi ul ul, #-navi li, #-navi li a {
157 border-bottom: solid $navi-color 2px;
159 /* Display only parent and children, and deocare them appropriately */
161 display:inline-block;
167 #-navi li.parent:before, #-navi li.current:before {
170 #-navi li.child:before {
173 #-navi li.child + li:before {
179 #-navi li.current a {
180 text-decoration: underline;
186 body, #-frame, #-title, #-content {
201 /* Content styling */
204 padding: 0.1em 0.2em;
205 background-color: $outer-background-color;
206 font-family: monospace;
211 background-color: $outer-background-color;
225 color:$link-color-visited;
228 color:$link-color-hover;