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;
45 $light-text-color: #888;
47 $link-color-visited: #bfe1ff;
48 $link-color-hover: #5089ba;
51 /* General page structure */
52 body { /* This centers us in the page, and handles the "too wide" case */
53 padding: $outer-margin;
56 background-color: $outer-background-color;
57 max-width: calc(#{$frame-max-width + 2 * $navi-width} + 2px);
59 #-frame { /* Add a frame */
60 margin: 0 $navi-width;
61 border: solid $frame-color 1px;
62 background-color: $inner-background-color;
64 min-height: calc(100vh - #{2* $outer-margin} - 2px);
67 /* The content of the frame */
69 border-bottom: solid $title-color 2px;
78 padding-top: 1px; /* If we use 0 here, things get ugly. What?!? */
83 background-color: $outer-background-color;
84 /* No border, no padding, so all the width computations become easy. */
88 /* Put it into the right spot */
91 left: -#{$navi-width};
92 /* Make it not take space away from the main text */
99 list-style-type: none;
102 /* Indentation for nested nodes */
106 /* Border around the links */
108 background-color: $inner-background-color;
109 border-left: solid $navi-color 2px;
110 border-right: solid $navi-color 2px;
111 border-top-left-radius: 10px;
112 border-bottom-left-radius: 10px;
120 text-decoration: none;
125 border-color: $current-color;
128 border-color: $title-color;
136 @media screen and (max-width:#{ $frame-max-width + 2 * $outer-margin } ) {
137 body, #-frame, #-title, #-content, #-navi {
144 /* Place navi above the title */
147 background-color: $inner-background-color;
151 #-navi ul, #-navi ul ul, #-navi li, #-navi li a {
159 border-bottom: solid $navi-color 2px;
161 /* Display only parent and children, and deocare them appropriately */
163 display:inline-block;
169 #-navi li.parent:before, #-navi li.current:before {
172 #-navi li.child:before {
175 #-navi li.child + li:before {
181 #-navi li.current a {
182 text-decoration: underline;
188 body, #-frame, #-title, #-content {
203 /* Content styling */
207 color: $light-text-color;
211 padding: 0.1em 0.2em;
212 background-color: $outer-background-color;
213 font-family: monospace;
218 background-color: $outer-background-color;
232 color:$link-color-visited;
235 color:$link-color-hover;