michael 2 weeks ago
parent
commit
df15d75eab
Signed by: Michael Zhang <iptq@protonmail.com> GPG Key ID: 5BAEFE5D04F0CE6C

+ 0
- 113
sass/_breakpoints.scss View File

@@ -1,113 +0,0 @@
1
-$grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px) !default;
2
-// Breakpoint viewport sizes and media queries.
3
-//
4
-// Breakpoints are defined as a map of (name: minimum width), order from small to large:
5
-//
6
-//    (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)
7
-//
8
-// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
9
-// Name of the next breakpoint, or null for the last breakpoint.
10
-//
11
-//    >> breakpoint-next(sm)
12
-//    md
13
-//    >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
14
-//    md
15
-//    >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
16
-//    md
17
-@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
18
-    $n: index($breakpoint-names, $name);
19
-    @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
20
-} // Minimum breakpoint width. Null for the smallest (first) breakpoint.
21
-//
22
-//    >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
23
-//    576px
24
-@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
25
-    $min: map-get($breakpoints, $name);
26
-    @return if($min !=0, $min, null);
27
-} // Maximum breakpoint width. Null for the largest (last) breakpoint.
28
-// The maximum value is calculated as the minimum of the next one less 0.02px
29
-// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.
30
-// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max
31
-// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.
32
-// See https://bugs.webkit.org/show_bug.cgi?id=178261
33
-//
34
-//    >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
35
-//    767.98px
36
-@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
37
-    $next: breakpoint-next($name, $breakpoints);
38
-    @return if($next, breakpoint-min($next, $breakpoints) - .02px, null);
39
-} // Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
40
-// Useful for making responsive utilities.
41
-//
42
-//    >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
43
-//    ""  (Returns a blank string)
44
-//    >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
45
-//    "-sm"
46
-@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
47
-    @return if(breakpoint-min($name, $breakpoints)==null, "", "-#{$name}");
48
-} // Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
49
-// Makes the @content apply to the given breakpoint and wider.
50
-@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
51
-    $min: breakpoint-min($name, $breakpoints);
52
-    @if $min {
53
-        @media (min-width: $min) {
54
-            @content;
55
-        }
56
-    }
57
-    @else {
58
-        @content;
59
-    }
60
-} // Media of at most the maximum breakpoint width. No query for the largest breakpoint.
61
-// Makes the @content apply to the given breakpoint and narrower.
62
-@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
63
-    $max: breakpoint-max($name, $breakpoints);
64
-    @if $max {
65
-        @media (max-width: $max) {
66
-            @content;
67
-        }
68
-    }
69
-    @else {
70
-        @content;
71
-    }
72
-} // Media that spans multiple breakpoint widths.
73
-// Makes the @content apply between the min and max breakpoints
74
-@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
75
-    $min: breakpoint-min($lower, $breakpoints);
76
-    $max: breakpoint-max($upper, $breakpoints);
77
-    @if $min !=null and $max !=null {
78
-        @media (min-width: $min) and (max-width: $max) {
79
-            @content;
80
-        }
81
-    }
82
-    @else if $max==null {
83
-        @include media-breakpoint-up($lower, $breakpoints) {
84
-            @content;
85
-        }
86
-    }
87
-    @else if $min==null {
88
-        @include media-breakpoint-down($upper, $breakpoints) {
89
-            @content;
90
-        }
91
-    }
92
-} // Media between the breakpoint's minimum and maximum widths.
93
-// No minimum for the smallest breakpoint, and no maximum for the largest one.
94
-// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
95
-@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
96
-    $min: breakpoint-min($name, $breakpoints);
97
-    $max: breakpoint-max($name, $breakpoints);
98
-    @if $min !=null and $max !=null {
99
-        @media (min-width: $min) and (max-width: $max) {
100
-            @content;
101
-        }
102
-    }
103
-    @else if $max==null {
104
-        @include media-breakpoint-up($name, $breakpoints) {
105
-            @content;
106
-        }
107
-    }
108
-    @else if $min==null {
109
-        @include media-breakpoint-down($name, $breakpoints) {
110
-            @content;
111
-        }
112
-    }
113
-}

+ 0
- 1
sass/_colors.scss View File

@@ -1 +0,0 @@
1
-$brand: #0066cc;

+ 0
- 30
sass/_fonts.scss View File

@@ -1,30 +0,0 @@
1
-@font-face {
2
-    font-family: "Roboto";
3
-    font-weight: 200;
4
-    src: url(/fonts/Roboto/Roboto-Thin.ttf) format("truetype");
5
-}
6
-@font-face {
7
-    font-family: "Roboto";
8
-    font-weight: 300;
9
-    src: url(/fonts/Roboto/Roboto-Light.ttf) format("truetype");
10
-}
11
-@font-face {
12
-    font-family: "Roboto";
13
-    font-weight: 400;
14
-    src: url(/fonts/Roboto/Roboto-Regular.ttf) format("truetype");
15
-}
16
-@font-face {
17
-    font-family: "Roboto";
18
-    font-weight: 700;
19
-    src: url(/fonts/Roboto/Roboto-Bold.ttf) format("truetype");
20
-}
21
-@font-face {
22
-    font-family: "RobotoMono";
23
-    font-weight: 300;
24
-    src: url(/fonts/RobotoMono/RobotoMono-Light.ttf) format("truetype");
25
-}
26
-@font-face {
27
-    font-family: "RobotoMono";
28
-    font-weight: 400;
29
-    src: url(/fonts/RobotoMono/RobotoMono-Regular.ttf) format("truetype");
30
-}

+ 0
- 39
sass/_mixins.scss View File

@@ -1,39 +0,0 @@
1
-@mixin transform($arguments) {
2
-	-webkit-transform: $arguments;
3
-	-moz-transform: $arguments;
4
-	-ms-transform: $arguments;
5
-	-o-transform: $arguments;
6
-	transform: $arguments;
7
-}
8
-
9
-@mixin transition($arguments) {
10
-	-webkit-transition: $arguments;
11
-	-moz-transition: $arguments;
12
-	-ms-transition: $arguments;
13
-	-o-transition: $arguments;
14
-	transition: $arguments;
15
-}
16
-
17
-@mixin colored-link($thickness, $color) {
18
-	position: relative;
19
-	text-decoration: none;
20
-	color: $color;
21
-	&:before {
22
-		content: "";
23
-		position: absolute;
24
-		background-color: $color;
25
-		width: 100%;
26
-		height: $thickness;
27
-		bottom: 0;
28
-		left: 0;
29
-		visibility: hidden;
30
-		@include transform(scaleX(0));
31
-		@include transition(all 0.2s ease-out 0s);
32
-	}
33
-	&:hover {
34
-		&:before {
35
-			visibility: visible;
36
-			@include transform(scaleX(1));
37
-		}
38
-	}
39
-}

+ 0
- 188
sass/_simple-grid.scss View File

@@ -1,188 +0,0 @@
1
-// SIMPLE GRID - SASS/SCSS
2
-
3
-// @import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic);
4
-
5
-// fonts
6
-$font-family: 'Roboto', Helvetica, sans-serif;
7
-$font-weight-light: 300;
8
-$font-weight-regular: 400;
9
-$font-weight-heavy: 700;
10
-$font-height: 1.5;
11
-
12
-// colors
13
-$dark-grey: #333447;
14
-$dark-gray: #333447; // for the Americans
15
-
16
-// universal
17
-
18
-html,
19
-body {
20
-  height: 100%;
21
-  width: 100%;
22
-  margin: 0;
23
-  padding: 0;
24
-  left: 0;
25
-  top: 0;
26
-  font-size: 100%;
27
-}
28
-
29
-* {
30
-  // font-family: $font-family;
31
-  // color: $dark-grey;
32
-  line-height: $font-height;
33
-}
34
-
35
-// typography
36
-
37
-h1 {
38
-  font-size: 2.5rem;
39
-}
40
-
41
-h2 {
42
-  font-size: 2rem;
43
-}
44
-
45
-h3 {
46
-  font-size: 1.375rem;
47
-}
48
-
49
-h4 {
50
-  font-size: 1.125rem;
51
-}
52
-
53
-h5 {
54
-  font-size: 1rem;
55
-}
56
-
57
-h6 {
58
-  font-size: 0.875rem;
59
-}
60
-
61
-p {
62
-  font-size: 1.125rem;
63
-  // font-weight: 200;
64
-  line-height: 1.8;
65
-}
66
-
67
-.font-light {
68
-  font-weight: $font-weight-light;
69
-}
70
-
71
-.font-regular {
72
-  font-weight: $font-weight-regular;
73
-}
74
-
75
-.font-heavy {
76
-  font-weight: $font-weight-heavy;
77
-}
78
-
79
-// utility
80
-
81
-.left {
82
-  text-align: left;
83
-}
84
-
85
-.right {
86
-  text-align: right;
87
-}
88
-
89
-.center {
90
-  text-align: center;
91
-  margin-left: auto;
92
-  margin-right: auto;
93
-}
94
-
95
-.justify {
96
-  text-align: justify;
97
-}
98
-
99
-.hidden-sm {
100
-  display: none;
101
-}
102
-
103
-// grid
104
-
105
-$width: 96%;
106
-$gutter: 4%;
107
-$breakpoint-small: 33.75em; // 540px
108
-$breakpoint-med: 45em; // 720px
109
-$breakpoint-large: 60em; // 960px
110
-
111
-.container {
112
-  width: 90%;
113
-  margin-left: auto;
114
-  margin-right: auto;
115
-
116
-  @media only screen and (min-width: $breakpoint-small) {
117
-    width: 80%;
118
-  }
119
-
120
-  @media only screen and (min-width: $breakpoint-large) {
121
-    width: 75%;
122
-    max-width: 60rem;
123
-  }
124
-}
125
-
126
-.row {
127
-  position: relative;
128
-  width: 100%;
129
-}
130
-
131
-.row [class^="col"] {
132
-  float: left;
133
-  margin: 0.5rem 2%;
134
-  min-height: 0.125rem;
135
-}
136
-
137
-.row::after {
138
-  content: "";
139
-  display: table;
140
-  clear: both;
141
-}
142
-
143
-.col-1,
144
-.col-2,
145
-.col-3,
146
-.col-4,
147
-.col-5,
148
-.col-6,
149
-.col-7,
150
-.col-8,
151
-.col-9,
152
-.col-10,
153
-.col-11,
154
-.col-12 {
155
-  width: $width;
156
-}
157
-
158
-.col-1-sm { width:($width / 12) - ($gutter * 11 / 12); }
159
-.col-2-sm { width: ($width / 6) - ($gutter * 10 / 12); }
160
-.col-3-sm { width: ($width / 4) - ($gutter * 9 / 12); }
161
-.col-4-sm { width: ($width / 3) - ($gutter * 8 / 12); }
162
-.col-5-sm { width: ($width / (12 / 5)) - ($gutter * 7 / 12); }
163
-.col-6-sm { width: ($width / 2) - ($gutter * 6 / 12); }
164
-.col-7-sm { width: ($width / (12 / 7)) - ($gutter * 5 / 12); }
165
-.col-8-sm { width: ($width / (12 / 8)) - ($gutter * 4 / 12); }
166
-.col-9-sm { width: ($width / (12 / 9)) - ($gutter * 3 / 12); }
167
-.col-10-sm { width: ($width / (12 / 10)) - ($gutter * 2 / 12); }
168
-.col-11-sm { width: ($width / (12 / 11)) - ($gutter * 1 / 12); }
169
-.col-12-sm { width: $width; }
170
-
171
-@media only screen and (min-width: $breakpoint-med) {
172
-  .col-1 { width:($width / 12) - ($gutter * 11 / 12); }
173
-  .col-2 { width: ($width / 6) - ($gutter * 10 / 12); }
174
-  .col-3 { width: ($width / 4) - ($gutter * 9 / 12); }
175
-  .col-4 { width: ($width / 3) - ($gutter * 8 / 12); }
176
-  .col-5 { width: ($width / (12 / 5)) - ($gutter * 7 / 12); }
177
-  .col-6 { width: ($width / 2) - ($gutter * 6 / 12); }
178
-  .col-7 { width: ($width / (12 / 7)) - ($gutter * 5 / 12); }
179
-  .col-8 { width: ($width / (12 / 8)) - ($gutter * 4 / 12); }
180
-  .col-9 { width: ($width / (12 / 9)) - ($gutter * 3 / 12); }
181
-  .col-10 { width: ($width / (12 / 10)) - ($gutter * 2 / 12); }
182
-  .col-11 { width: ($width / (12 / 11)) - ($gutter * 1 / 12); }
183
-  .col-12 { width: $width; }
184
-
185
-  .hidden-sm {
186
-    display: block;
187
-  }
188
-}

+ 27
- 149
sass/main.scss View File

@@ -1,164 +1,42 @@
1
-@import "breakpoints.scss";
2
-@import "colors.scss";
3
-@import "fonts.scss";
4
-@import "mixins.scss";
5
-@import "simple-grid.scss";
6 1
 @import "syntax.scss";
7 2
 
8
-body {
9
-    background-color: #f8f8f8;
10
-    font-family: "Roboto", sans-serif;
11
-    font-weight: 300;
12
-}
13
-
14
-* {
15
-    box-sizing: border-box;
16
-}
17
-
18
-a {
19
-    color: $brand;
20
-    text-decoration: none;
21
-}
22
-
23
-small {
24
-    font-weight: 200;
3
+html {
4
+	background-color: lightskyblue;
25 5
 }
26 6
 
27
-.content a {
28
-    @include colored-link(1px, $brand);
29
-}
30
-
31
-.brand-colorlink:not(.nocolorlink) {
32
-    @include colored-link(1px, $brand);
33
-}
34
-
35
-.colorlink:not(.nocolorlink) {
36
-    @include colored-link(1px, #000);
7
+body {
8
+	max-width: 850px;
9
+	margin: auto;
10
+	background-color: white;
11
+	min-height: 100%;
12
+	padding-bottom: 20px;
37 13
 }
38 14
 
39
-h1,
40
-h2,
41
-h3,
42
-h4,
43
-h5,
44
-h6 {
45
-    font-weight: 700;
46
-}
15
+#header {
16
+	border-bottom: 4px solid lightskyblue;
17
+	box-sizing: border-box;
18
+	padding: 20px;
19
+	margin-bottom: 12px;
47 20
 
48
-*::selection {
49
-    background-color: $brand;
50
-    color: #f0f0f0;
51
-}
21
+	#title {
22
+		font-size: 2em;
23
+		color: black;
52 24
 
53
-pre,
54
-code {
55
-    font-weight: 400;
56
-    * {
57
-        font-family: "RobotoMono", monospace;
58
-    }
59
-    padding: 5px;
60
-    margin: 5px;
61
-    border-radius: 5px;
25
+		&:hover {
26
+			text-decoration: none;
27
+		}
28
+	}
62 29
 }
63 30
 
64
-code {
65
-    background-color: #f9f2f4;
66
-    color: #c7254e;
67
-}
31
+a {
32
+	color: royalblue;
33
+	text-decoration: none;
68 34
 
69
-pre:not(.highlight) {
70
-    code {
71
-        color: #e83e8c;
72
-    }
35
+	&:hover {
36
+		text-decoration: underline;
37
+	}
73 38
 }
74 39
 
75 40
 pre {
76
-    border: 1px solid #000;
77
-    border-radius: 3px;
78
-    overflow-x: auto;
79
-}
80
-
81
-#navbar .link {
82
-    margin-right: 20px;
83
-}
84
-
85
-header {
86
-    padding-bottom: 32px;
87
-    padding-top: 30px;
88
-    border-top: 10px solid $brand;
89
-    list-style-type: none;
90
-    font-size: 1.3em;
91
-    background: #e8e8e8;
92
-    background: linear-gradient(#e8e8e8 0%, #f8f8f8 100%);
93
-    @include media-breakpoint-down(sm) {
94
-        padding-bottom: 0;
95
-    }
96
-    a.title {
97
-        @include media-breakpoint-down(sm) {
98
-            display: block;
99
-            text-align: center;
100
-            margin-right: 0;
101
-            margin-bottom: 20px;
102
-            font-size: 2em;
103
-        }
104
-        margin-right: 30px;
105
-        color: $brand;
106
-        font-size: 1.2em;
107
-        font-weight: 300;
108
-    }
109
-    div#nav {
110
-        display: inline;
111
-    }
112
-    @include media-breakpoint-down(sm) {
113
-        div#nav {
114
-            text-align: center;
115
-            display: block;
116
-            margin: auto;
117
-        }
118
-    }
119
-    a.link {
120
-        @include colored-link(1px, black);
121
-        margin-left: 10px;
122
-        margin-right: 10px;
123
-    }
124
-}
125
-
126
-#content {
127
-    table {
128
-        border: 1px solid rgba(0, 0, 0, 0.5);
129
-        border-spacing: 0;
130
-        padding: 0;
131
-
132
-        thead {
133
-            th {
134
-                background-color: rgba(0, 0, 0, 0.5);
135
-                padding: 8px 12px ;
136
-                color: white;
137
-            }
138
-        }
139
-
140
-        tbody {
141
-            td {
142
-                padding: 8px 12px;
143
-            }
144
-
145
-            tr:nth-child(even) {
146
-                background-color: rgba(255, 255, 255, 0.5);
147
-            }
148
-            tr:nth-child(odd) {
149
-                background-color: rgba(204, 204, 204, 0.5);
150
-            }
151
-        }
152
-    }
153
-}
154
-
155
-.toc {
156
-    background-color: #f0f0f0;
157
-    padding: 16px;
158
-
159
-    ul {
160
-        line-height: 0;
161
-        margin: 0;
162
-        padding-left: 18px;
163
-    }
41
+	padding: 5px;
164 42
 }

+ 0
- 202
static/fonts/Roboto/LICENSE.txt View File

@@ -1,202 +0,0 @@
1
-
2
-                                 Apache License
3
-                           Version 2.0, January 2004
4
-                        http://www.apache.org/licenses/
5
-
6
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
-   1. Definitions.
9
-
10
-      "License" shall mean the terms and conditions for use, reproduction,
11
-      and distribution as defined by Sections 1 through 9 of this document.
12
-
13
-      "Licensor" shall mean the copyright owner or entity authorized by
14
-      the copyright owner that is granting the License.
15
-
16
-      "Legal Entity" shall mean the union of the acting entity and all
17
-      other entities that control, are controlled by, or are under common
18
-      control with that entity. For the purposes of this definition,
19
-      "control" means (i) the power, direct or indirect, to cause the
20
-      direction or management of such entity, whether by contract or
21
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
-      outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
-      "You" (or "Your") shall mean an individual or Legal Entity
25
-      exercising permissions granted by this License.
26
-
27
-      "Source" form shall mean the preferred form for making modifications,
28
-      including but not limited to software source code, documentation
29
-      source, and configuration files.
30
-
31
-      "Object" form shall mean any form resulting from mechanical
32
-      transformation or translation of a Source form, including but
33
-      not limited to compiled object code, generated documentation,
34
-      and conversions to other media types.
35
-
36
-      "Work" shall mean the work of authorship, whether in Source or
37
-      Object form, made available under the License, as indicated by a
38
-      copyright notice that is included in or attached to the work
39
-      (an example is provided in the Appendix below).
40
-
41
-      "Derivative Works" shall mean any work, whether in Source or Object
42
-      form, that is based on (or derived from) the Work and for which the
43
-      editorial revisions, annotations, elaborations, or other modifications
44
-      represent, as a whole, an original work of authorship. For the purposes
45
-      of this License, Derivative Works shall not include works that remain
46
-      separable from, or merely link (or bind by name) to the interfaces of,
47
-      the Work and Derivative Works thereof.
48
-
49
-      "Contribution" shall mean any work of authorship, including
50
-      the original version of the Work and any modifications or additions
51
-      to that Work or Derivative Works thereof, that is intentionally
52
-      submitted to Licensor for inclusion in the Work by the copyright owner
53
-      or by an individual or Legal Entity authorized to submit on behalf of
54
-      the copyright owner. For the purposes of this definition, "submitted"
55
-      means any form of electronic, verbal, or written communication sent
56
-      to the Licensor or its representatives, including but not limited to
57
-      communication on electronic mailing lists, source code control systems,
58
-      and issue tracking systems that are managed by, or on behalf of, the
59
-      Licensor for the purpose of discussing and improving the Work, but
60
-      excluding communication that is conspicuously marked or otherwise
61
-      designated in writing by the copyright owner as "Not a Contribution."
62
-
63
-      "Contributor" shall mean Licensor and any individual or Legal Entity
64
-      on behalf of whom a Contribution has been received by Licensor and
65
-      subsequently incorporated within the Work.
66
-
67
-   2. Grant of Copyright License. Subject to the terms and conditions of
68
-      this License, each Contributor hereby grants to You a perpetual,
69
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
-      copyright license to reproduce, prepare Derivative Works of,
71
-      publicly display, publicly perform, sublicense, and distribute the
72
-      Work and such Derivative Works in Source or Object form.
73
-
74
-   3. Grant of Patent License. Subject to the terms and conditions of
75
-      this License, each Contributor hereby grants to You a perpetual,
76
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
-      (except as stated in this section) patent license to make, have made,
78
-      use, offer to sell, sell, import, and otherwise transfer the Work,
79
-      where such license applies only to those patent claims licensable
80
-      by such Contributor that are necessarily infringed by their
81
-      Contribution(s) alone or by combination of their Contribution(s)
82
-      with the Work to which such Contribution(s) was submitted. If You
83
-      institute patent litigation against any entity (including a
84
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
85
-      or a Contribution incorporated within the Work constitutes direct
86
-      or contributory patent infringement, then any patent licenses
87
-      granted to You under this License for that Work shall terminate
88
-      as of the date such litigation is filed.
89
-
90
-   4. Redistribution. You may reproduce and distribute copies of the
91
-      Work or Derivative Works thereof in any medium, with or without
92
-      modifications, and in Source or Object form, provided that You
93
-      meet the following conditions:
94
-
95
-      (a) You must give any other recipients of the Work or
96
-          Derivative Works a copy of this License; and
97
-
98
-      (b) You must cause any modified files to carry prominent notices
99
-          stating that You changed the files; and
100
-
101
-      (c) You must retain, in the Source form of any Derivative Works
102
-          that You distribute, all copyright, patent, trademark, and
103
-          attribution notices from the Source form of the Work,
104
-          excluding those notices that do not pertain to any part of
105
-          the Derivative Works; and
106
-
107
-      (d) If the Work includes a "NOTICE" text file as part of its
108
-          distribution, then any Derivative Works that You distribute must
109
-          include a readable copy of the attribution notices contained
110
-          within such NOTICE file, excluding those notices that do not
111
-          pertain to any part of the Derivative Works, in at least one
112
-          of the following places: within a NOTICE text file distributed
113
-          as part of the Derivative Works; within the Source form or
114
-          documentation, if provided along with the Derivative Works; or,
115
-          within a display generated by the Derivative Works, if and
116
-          wherever such third-party notices normally appear. The contents
117
-          of the NOTICE file are for informational purposes only and
118
-          do not modify the License. You may add Your own attribution
119
-          notices within Derivative Works that You distribute, alongside
120
-          or as an addendum to the NOTICE text from the Work, provided
121
-          that such additional attribution notices cannot be construed
122
-          as modifying the License.
123
-
124
-      You may add Your own copyright statement to Your modifications and
125
-      may provide additional or different license terms and conditions
126
-      for use, reproduction, or distribution of Your modifications, or
127
-      for any such Derivative Works as a whole, provided Your use,
128
-      reproduction, and distribution of the Work otherwise complies with
129
-      the conditions stated in this License.
130
-
131
-   5. Submission of Contributions. Unless You explicitly state otherwise,
132
-      any Contribution intentionally submitted for inclusion in the Work
133
-      by You to the Licensor shall be under the terms and conditions of
134
-      this License, without any additional terms or conditions.
135
-      Notwithstanding the above, nothing herein shall supersede or modify
136
-      the terms of any separate license agreement you may have executed
137
-      with Licensor regarding such Contributions.
138
-
139
-   6. Trademarks. This License does not grant permission to use the trade
140
-      names, trademarks, service marks, or product names of the Licensor,
141
-      except as required for reasonable and customary use in describing the
142
-      origin of the Work and reproducing the content of the NOTICE file.
143
-
144
-   7. Disclaimer of Warranty. Unless required by applicable law or
145
-      agreed to in writing, Licensor provides the Work (and each
146
-      Contributor provides its Contributions) on an "AS IS" BASIS,
147
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
-      implied, including, without limitation, any warranties or conditions
149
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
-      PARTICULAR PURPOSE. You are solely responsible for determining the
151
-      appropriateness of using or redistributing the Work and assume any
152
-      risks associated with Your exercise of permissions under this License.
153
-
154
-   8. Limitation of Liability. In no event and under no legal theory,
155
-      whether in tort (including negligence), contract, or otherwise,
156
-      unless required by applicable law (such as deliberate and grossly
157
-      negligent acts) or agreed to in writing, shall any Contributor be
158
-      liable to You for damages, including any direct, indirect, special,
159
-      incidental, or consequential damages of any character arising as a
160
-      result of this License or out of the use or inability to use the
161
-      Work (including but not limited to damages for loss of goodwill,
162
-      work stoppage, computer failure or malfunction, or any and all
163
-      other commercial damages or losses), even if such Contributor
164
-      has been advised of the possibility of such damages.
165
-
166
-   9. Accepting Warranty or Additional Liability. While redistributing
167
-      the Work or Derivative Works thereof, You may choose to offer,
168
-      and charge a fee for, acceptance of support, warranty, indemnity,
169
-      or other liability obligations and/or rights consistent with this
170
-      License. However, in accepting such obligations, You may act only
171
-      on Your own behalf and on Your sole responsibility, not on behalf
172
-      of any other Contributor, and only if You agree to indemnify,
173
-      defend, and hold each Contributor harmless for any liability
174
-      incurred by, or claims asserted against, such Contributor by reason
175
-      of your accepting any such warranty or additional liability.
176
-
177
-   END OF TERMS AND CONDITIONS
178
-
179
-   APPENDIX: How to apply the Apache License to your work.
180
-
181
-      To apply the Apache License to your work, attach the following
182
-      boilerplate notice, with the fields enclosed by brackets "[]"
183
-      replaced with your own identifying information. (Don't include
184
-      the brackets!)  The text should be enclosed in the appropriate
185
-      comment syntax for the file format. We also recommend that a
186
-      file or class name and description of purpose be included on the
187
-      same "printed page" as the copyright notice for easier
188
-      identification within third-party archives.
189
-
190
-   Copyright [yyyy] [name of copyright owner]
191
-
192
-   Licensed under the Apache License, Version 2.0 (the "License");
193
-   you may not use this file except in compliance with the License.
194
-   You may obtain a copy of the License at
195
-
196
-       http://www.apache.org/licenses/LICENSE-2.0
197
-
198
-   Unless required by applicable law or agreed to in writing, software
199
-   distributed under the License is distributed on an "AS IS" BASIS,
200
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
-   See the License for the specific language governing permissions and
202
-   limitations under the License.

BIN
static/fonts/Roboto/Roboto-Black.ttf View File


BIN
static/fonts/Roboto/Roboto-BlackItalic.ttf View File


BIN
static/fonts/Roboto/Roboto-Bold.ttf View File


BIN
static/fonts/Roboto/Roboto-BoldItalic.ttf View File


BIN
static/fonts/Roboto/Roboto-Italic.ttf View File


BIN
static/fonts/Roboto/Roboto-Light.ttf View File


BIN
static/fonts/Roboto/Roboto-LightItalic.ttf View File


BIN
static/fonts/Roboto/Roboto-Medium.ttf View File


BIN
static/fonts/Roboto/Roboto-MediumItalic.ttf View File


BIN
static/fonts/Roboto/Roboto-Regular.ttf View File


BIN
static/fonts/Roboto/Roboto-Thin.ttf View File


BIN
static/fonts/Roboto/Roboto-ThinItalic.ttf View File


+ 0
- 202
static/fonts/RobotoMono/LICENSE.txt View File

@@ -1,202 +0,0 @@
1
-
2
-                                 Apache License
3
-                           Version 2.0, January 2004
4
-                        http://www.apache.org/licenses/
5
-
6
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
-   1. Definitions.
9
-
10
-      "License" shall mean the terms and conditions for use, reproduction,
11
-      and distribution as defined by Sections 1 through 9 of this document.
12
-
13
-      "Licensor" shall mean the copyright owner or entity authorized by
14
-      the copyright owner that is granting the License.
15
-
16
-      "Legal Entity" shall mean the union of the acting entity and all
17
-      other entities that control, are controlled by, or are under common
18
-      control with that entity. For the purposes of this definition,
19
-      "control" means (i) the power, direct or indirect, to cause the
20
-      direction or management of such entity, whether by contract or
21
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
-      outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
-      "You" (or "Your") shall mean an individual or Legal Entity
25
-      exercising permissions granted by this License.
26
-
27
-      "Source" form shall mean the preferred form for making modifications,
28
-      including but not limited to software source code, documentation
29
-      source, and configuration files.
30
-
31
-      "Object" form shall mean any form resulting from mechanical
32
-      transformation or translation of a Source form, including but
33
-      not limited to compiled object code, generated documentation,
34
-      and conversions to other media types.
35
-
36
-      "Work" shall mean the work of authorship, whether in Source or
37
-      Object form, made available under the License, as indicated by a
38
-      copyright notice that is included in or attached to the work
39
-      (an example is provided in the Appendix below).
40
-
41
-      "Derivative Works" shall mean any work, whether in Source or Object
42
-      form, that is based on (or derived from) the Work and for which the
43
-      editorial revisions, annotations, elaborations, or other modifications
44
-      represent, as a whole, an original work of authorship. For the purposes
45
-      of this License, Derivative Works shall not include works that remain
46
-      separable from, or merely link (or bind by name) to the interfaces of,
47
-      the Work and Derivative Works thereof.
48
-
49
-      "Contribution" shall mean any work of authorship, including
50
-      the original version of the Work and any modifications or additions
51
-      to that Work or Derivative Works thereof, that is intentionally
52
-      submitted to Licensor for inclusion in the Work by the copyright owner
53
-      or by an individual or Legal Entity authorized to submit on behalf of
54
-      the copyright owner. For the purposes of this definition, "submitted"
55
-      means any form of electronic, verbal, or written communication sent
56
-      to the Licensor or its representatives, including but not limited to
57
-      communication on electronic mailing lists, source code control systems,
58
-      and issue tracking systems that are managed by, or on behalf of, the
59
-      Licensor for the purpose of discussing and improving the Work, but
60
-      excluding communication that is conspicuously marked or otherwise
61
-      designated in writing by the copyright owner as "Not a Contribution."
62
-
63
-      "Contributor" shall mean Licensor and any individual or Legal Entity
64
-      on behalf of whom a Contribution has been received by Licensor and
65
-      subsequently incorporated within the Work.
66
-
67
-   2. Grant of Copyright License. Subject to the terms and conditions of
68
-      this License, each Contributor hereby grants to You a perpetual,
69
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
-      copyright license to reproduce, prepare Derivative Works of,
71
-      publicly display, publicly perform, sublicense, and distribute the
72
-      Work and such Derivative Works in Source or Object form.
73
-
74
-   3. Grant of Patent License. Subject to the terms and conditions of
75
-      this License, each Contributor hereby grants to You a perpetual,
76
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
-      (except as stated in this section) patent license to make, have made,
78
-      use, offer to sell, sell, import, and otherwise transfer the Work,
79
-      where such license applies only to those patent claims licensable
80
-      by such Contributor that are necessarily infringed by their
81
-      Contribution(s) alone or by combination of their Contribution(s)
82
-      with the Work to which such Contribution(s) was submitted. If You
83
-      institute patent litigation against any entity (including a
84
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
85
-      or a Contribution incorporated within the Work constitutes direct
86
-      or contributory patent infringement, then any patent licenses
87
-      granted to You under this License for that Work shall terminate
88
-      as of the date such litigation is filed.
89
-
90
-   4. Redistribution. You may reproduce and distribute copies of the
91
-      Work or Derivative Works thereof in any medium, with or without
92
-      modifications, and in Source or Object form, provided that You
93
-      meet the following conditions:
94
-
95
-      (a) You must give any other recipients of the Work or
96
-          Derivative Works a copy of this License; and
97
-
98
-      (b) You must cause any modified files to carry prominent notices
99
-          stating that You changed the files; and
100
-
101
-      (c) You must retain, in the Source form of any Derivative Works
102
-          that You distribute, all copyright, patent, trademark, and
103
-          attribution notices from the Source form of the Work,
104
-          excluding those notices that do not pertain to any part of
105
-          the Derivative Works; and
106
-
107
-      (d) If the Work includes a "NOTICE" text file as part of its
108
-          distribution, then any Derivative Works that You distribute must
109
-          include a readable copy of the attribution notices contained
110
-          within such NOTICE file, excluding those notices that do not
111
-          pertain to any part of the Derivative Works, in at least one
112
-          of the following places: within a NOTICE text file distributed
113
-          as part of the Derivative Works; within the Source form or
114
-          documentation, if provided along with the Derivative Works; or,
115
-          within a display generated by the Derivative Works, if and
116
-          wherever such third-party notices normally appear. The contents
117
-          of the NOTICE file are for informational purposes only and
118
-          do not modify the License. You may add Your own attribution
119
-          notices within Derivative Works that You distribute, alongside
120
-          or as an addendum to the NOTICE text from the Work, provided
121
-          that such additional attribution notices cannot be construed
122
-          as modifying the License.
123
-
124
-      You may add Your own copyright statement to Your modifications and
125
-      may provide additional or different license terms and conditions
126
-      for use, reproduction, or distribution of Your modifications, or
127
-      for any such Derivative Works as a whole, provided Your use,
128
-      reproduction, and distribution of the Work otherwise complies with
129
-      the conditions stated in this License.
130
-
131
-   5. Submission of Contributions. Unless You explicitly state otherwise,
132
-      any Contribution intentionally submitted for inclusion in the Work
133
-      by You to the Licensor shall be under the terms and conditions of
134
-      this License, without any additional terms or conditions.
135
-      Notwithstanding the above, nothing herein shall supersede or modify
136
-      the terms of any separate license agreement you may have executed
137
-      with Licensor regarding such Contributions.
138
-
139
-   6. Trademarks. This License does not grant permission to use the trade
140
-      names, trademarks, service marks, or product names of the Licensor,
141
-      except as required for reasonable and customary use in describing the
142
-      origin of the Work and reproducing the content of the NOTICE file.
143
-
144
-   7. Disclaimer of Warranty. Unless required by applicable law or
145
-      agreed to in writing, Licensor provides the Work (and each
146
-      Contributor provides its Contributions) on an "AS IS" BASIS,
147
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
-      implied, including, without limitation, any warranties or conditions
149
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
-      PARTICULAR PURPOSE. You are solely responsible for determining the
151
-      appropriateness of using or redistributing the Work and assume any
152
-      risks associated with Your exercise of permissions under this License.
153
-
154
-   8. Limitation of Liability. In no event and under no legal theory,
155
-      whether in tort (including negligence), contract, or otherwise,
156
-      unless required by applicable law (such as deliberate and grossly
157
-      negligent acts) or agreed to in writing, shall any Contributor be
158
-      liable to You for damages, including any direct, indirect, special,
159
-      incidental, or consequential damages of any character arising as a
160
-      result of this License or out of the use or inability to use the
161
-      Work (including but not limited to damages for loss of goodwill,
162
-      work stoppage, computer failure or malfunction, or any and all
163
-      other commercial damages or losses), even if such Contributor
164
-      has been advised of the possibility of such damages.
165
-
166
-   9. Accepting Warranty or Additional Liability. While redistributing
167
-      the Work or Derivative Works thereof, You may choose to offer,
168
-      and charge a fee for, acceptance of support, warranty, indemnity,
169
-      or other liability obligations and/or rights consistent with this
170
-      License. However, in accepting such obligations, You may act only
171
-      on Your own behalf and on Your sole responsibility, not on behalf
172
-      of any other Contributor, and only if You agree to indemnify,
173
-      defend, and hold each Contributor harmless for any liability
174
-      incurred by, or claims asserted against, such Contributor by reason
175
-      of your accepting any such warranty or additional liability.
176
-
177
-   END OF TERMS AND CONDITIONS
178
-
179
-   APPENDIX: How to apply the Apache License to your work.
180
-
181
-      To apply the Apache License to your work, attach the following
182
-      boilerplate notice, with the fields enclosed by brackets "[]"
183
-      replaced with your own identifying information. (Don't include
184
-      the brackets!)  The text should be enclosed in the appropriate
185
-      comment syntax for the file format. We also recommend that a
186
-      file or class name and description of purpose be included on the
187
-      same "printed page" as the copyright notice for easier
188
-      identification within third-party archives.
189
-
190
-   Copyright [yyyy] [name of copyright owner]
191
-
192
-   Licensed under the Apache License, Version 2.0 (the "License");
193
-   you may not use this file except in compliance with the License.
194
-   You may obtain a copy of the License at
195
-
196
-       http://www.apache.org/licenses/LICENSE-2.0
197
-
198
-   Unless required by applicable law or agreed to in writing, software
199
-   distributed under the License is distributed on an "AS IS" BASIS,
200
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
-   See the License for the specific language governing permissions and
202
-   limitations under the License.

BIN
static/fonts/RobotoMono/RobotoMono-Bold.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-BoldItalic.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-Italic.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-Light.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-LightItalic.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-Medium.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-MediumItalic.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-Regular.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-Thin.ttf View File


BIN
static/fonts/RobotoMono/RobotoMono-ThinItalic.ttf View File


+ 3
- 2
templates/macros/layout.html View File

@@ -1,9 +1,10 @@
1 1
 {% macro navbar(config) %}
2
-    <div class="container">
3
-        <a href="/" class="title nocolorlink">{{ config.title }}</a>
2
+    <div id="header" class="container">
3
+        <a href="/" id="title" class="title nocolorlink">{{ config.title }}</a>
4 4
 
5 5
         <div id="nav">
6 6
             {% for link in config.extra.nav_links %}
7
+            	{% if loop.index > 1 %}&middot;{% endif %}
7 8
                 <a href="{{ link.url | safe }}" class="link">{{ link.text | replace(from=" ", to="&nbsp;") }}</a>
8 9
             {% endfor %}
9 10
         </div>

Loading…
Cancel
Save