jekyll-theme-peaceful-gates 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +48 -48
- data/_includes/footer.html +10 -8
- data/_includes/head.html +42 -42
- data/_includes/menu.html +47 -45
- data/_includes/page-header.html +7 -12
- data/_includes/social-bar.html +35 -35
- data/_includes/social-link.html +5 -5
- data/_layouts/centered.html +12 -12
- data/_layouts/default.html +13 -13
- data/_layouts/index.html +7 -16
- data/_layouts/page.html +11 -11
- data/_layouts/post-index.html +25 -25
- data/_layouts/post.html +20 -20
- data/_sass/fontawesome/_animated.scss +20 -20
- data/_sass/fontawesome/_bordered-pulled.scss +20 -20
- data/_sass/fontawesome/_core.scss +21 -21
- data/_sass/fontawesome/_fixed-width.scss +6 -6
- data/_sass/fontawesome/_icons.scss +1410 -1410
- data/_sass/fontawesome/_larger.scss +23 -23
- data/_sass/fontawesome/_list.scss +18 -18
- data/_sass/fontawesome/_mixins.scss +56 -56
- data/_sass/fontawesome/_rotated-flipped.scss +24 -24
- data/_sass/fontawesome/_screen-reader.scss +5 -5
- data/_sass/fontawesome/_shims.scss +2066 -2066
- data/_sass/fontawesome/_stacked.scss +31 -31
- data/_sass/fontawesome/_variables.scss +1427 -1427
- data/_sass/fontawesome/brands.scss +23 -23
- data/_sass/fontawesome/fontawesome.scss +16 -16
- data/_sass/fontawesome/regular.scss +23 -23
- data/_sass/fontawesome/solid.scss +24 -24
- data/_sass/fontawesome/v4-shims.scss +6 -6
- data/_sass/jekyll-theme-peaceful-gates.scss +16 -16
- data/_sass/jekyll-theme-peaceful-gates/_base.scss +74 -74
- data/_sass/jekyll-theme-peaceful-gates/_button.scss +67 -64
- data/_sass/jekyll-theme-peaceful-gates/_centered.scss +28 -28
- data/_sass/jekyll-theme-peaceful-gates/_code.scss +120 -120
- data/_sass/jekyll-theme-peaceful-gates/_footer.scss +61 -54
- data/_sass/jekyll-theme-peaceful-gates/_menu.scss +111 -106
- data/_sass/jekyll-theme-peaceful-gates/_page.scss +73 -69
- data/_sass/jekyll-theme-peaceful-gates/_theme.scss +35 -35
- data/_sass/jekyll-theme-peaceful-gates/_util.scss +49 -34
- data/_sass/jekyll-theme-peaceful-gates/_variables.scss +30 -29
- data/assets/css/main.scss +2 -2
- data/assets/fonts/fa-brands-400.svg +3570 -3570
- data/assets/fonts/fa-regular-400.svg +803 -803
- data/assets/fonts/fa-solid-900.svg +4700 -4700
- data/assets/js/darkmode-toggle.js +44 -44
- data/assets/js/dropdown-toggle.js +5 -0
- data/assets/js/table-layout.js +13 -13
- metadata +24 -10
- data/assets/js/menu-slide.js +0 -14
@@ -1,29 +1,29 @@
|
|
1
|
-
.centered-root {
|
2
|
-
position: absolute;
|
3
|
-
width: 100%;
|
4
|
-
height: 100%;
|
5
|
-
|
6
|
-
display: grid;
|
7
|
-
grid-template-rows: 1fr;
|
8
|
-
grid-template-columns: 1fr;
|
9
|
-
place-items: center;
|
10
|
-
}
|
11
|
-
|
12
|
-
.centered-container {
|
13
|
-
transform: translateY(-50%);
|
14
|
-
}
|
15
|
-
|
16
|
-
.centered-header {
|
17
|
-
margin: $spacing-3 0pt;
|
18
|
-
text-align: center;
|
19
|
-
* { margin: 0pt; }
|
20
|
-
|
21
|
-
.centered-title {
|
22
|
-
font-size: $mega-font-size;
|
23
|
-
}
|
24
|
-
|
25
|
-
.centered-subtitle {
|
26
|
-
font-size: $medium-font-size;
|
27
|
-
font-weight: normal;
|
28
|
-
}
|
1
|
+
.centered-root {
|
2
|
+
position: absolute;
|
3
|
+
width: 100%;
|
4
|
+
height: 100%;
|
5
|
+
|
6
|
+
display: grid;
|
7
|
+
grid-template-rows: 1fr;
|
8
|
+
grid-template-columns: 1fr;
|
9
|
+
place-items: center;
|
10
|
+
}
|
11
|
+
|
12
|
+
.centered-container {
|
13
|
+
transform: translateY(-50%);
|
14
|
+
}
|
15
|
+
|
16
|
+
.centered-header {
|
17
|
+
margin: $spacing-3 0pt;
|
18
|
+
text-align: center;
|
19
|
+
* { margin: 0pt; }
|
20
|
+
|
21
|
+
.centered-title {
|
22
|
+
font-size: $mega-font-size;
|
23
|
+
}
|
24
|
+
|
25
|
+
.centered-subtitle {
|
26
|
+
font-size: $medium-font-size;
|
27
|
+
font-weight: normal;
|
28
|
+
}
|
29
29
|
}
|
@@ -1,121 +1,121 @@
|
|
1
|
-
code {
|
2
|
-
font-family: $code-font-family;
|
3
|
-
* { font-family: $code-font-family; }
|
4
|
-
@include with-theme {
|
5
|
-
color: color-for(primary);
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
pre {
|
10
|
-
overflow-x: auto;
|
11
|
-
margin: $spacing-3 0pt;
|
12
|
-
padding: $spacing-3;
|
13
|
-
@include with-theme {
|
14
|
-
background-color: color-for(hl-area);
|
15
|
-
}
|
16
|
-
border-radius: $spacing-1;
|
17
|
-
> code {
|
18
|
-
background: none;
|
19
|
-
border-radius: 0pt;
|
20
|
-
padding: 0pt;
|
21
|
-
@include with-theme {
|
22
|
-
color: color-for(text);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Syntax highlighting styles
|
29
|
-
*/
|
30
|
-
.highlight {
|
31
|
-
// Highlight takes care of syntax highlighting stuff
|
32
|
-
margin: $spacing-3 0pt;
|
33
|
-
padding: $spacing-3;
|
34
|
-
border-radius: $spacing-1;
|
35
|
-
> pre {
|
36
|
-
margin: 0pt;
|
37
|
-
padding: 0pt;
|
38
|
-
border-radius: 0pt;
|
39
|
-
background: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
@include with-theme {
|
43
|
-
background-color: color-for(hl-area);
|
44
|
-
|
45
|
-
// Syntax scopes
|
46
|
-
|
47
|
-
// Comment
|
48
|
-
.c, .cm, .cp, .c1, .cs { color: color-for(hl); font-style: italic } // Comment
|
49
|
-
// .cm { color: darken($color: $white-color, $amount: 30%); font-style: italic } // Comment.Multiline
|
50
|
-
// .cp { color: darken($color: $white-color, $amount: 30%); font-weight: bold } // Comment.Preproc
|
51
|
-
// .c1 { color: darken($color: $white-color, $amount: 30%); font-style: italic } // Comment.Single
|
52
|
-
// .cs { color: darken($color: $white-color, $amount: 30%); font-weight: bold; font-style: italic } // Comment.Special
|
53
|
-
|
54
|
-
// Keywords
|
55
|
-
.k, .kd { color: color-for(primary); font-weight: bold; } // Keyword
|
56
|
-
// .kd { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Declaration
|
57
|
-
// .kt { } // Keyword.Type
|
58
|
-
// .kc { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Constant
|
59
|
-
// .kp { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Pseudo
|
60
|
-
// .kr { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Reserved
|
61
|
-
|
62
|
-
// Operators
|
63
|
-
// .o { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Operator
|
64
|
-
// .ow { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Operator.Word
|
65
|
-
|
66
|
-
// Generic
|
67
|
-
// .go { color: darken($color: $white-color, $amount: 30%); } // Generic.Output
|
68
|
-
// .gh { color: #999 } // Generic.Heading
|
69
|
-
// .ge { font-style: italic } // Generic.Emph
|
70
|
-
// .gd { color: #000; background-color: #fdd } // Generic.Deleted
|
71
|
-
// .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
72
|
-
// .gi { color: #000; background-color: #dfd } // Generic.Inserted
|
73
|
-
// .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
74
|
-
// .gp { color: #555 } // Generic.Prompt
|
75
|
-
// .gs { font-weight: bold } // Generic.Strong
|
76
|
-
// .gt { color: #f00 } // Generic.Traceback
|
77
|
-
// .gu { color: #aaa } // Generic.Subheading
|
78
|
-
|
79
|
-
// Names
|
80
|
-
.na { color: color-for(primary) } // Name.Attribute
|
81
|
-
// .nb { color: lighten($color: $back-color, $amount: 50%); } // Name.Builtin
|
82
|
-
// .nc { color: lighten($color: $back-color, $amount: 40%); font-weight: bold } // Name.Class
|
83
|
-
// .no { color: lighten($color: $back-color, $amount: 40%) } // Name.Constant
|
84
|
-
// .ni { color: darken($color: $white-color, $amount: 20%) } // Name.Entity
|
85
|
-
// .ne { color: #900; font-weight: bold } // Name.Exception
|
86
|
-
// .nf { color: lighten($color: $back-color, $amount: 55%); font-weight: bold } // Name.Function
|
87
|
-
// .nn { color: darken($color: $white-color, $amount: 20%) } // Name.Namespace
|
88
|
-
.nt { color: color-for(primary); font-weight: bold; } // Name.Tag
|
89
|
-
// .nv { color: darken($color: $white-color, $amount: 20%) } // Name.Variable
|
90
|
-
// .bp { color: darken($color: $white-color, $amount: 20%) } // Name.Builtin.Pseudo
|
91
|
-
// .vc { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Class
|
92
|
-
// .vg { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Global
|
93
|
-
// .vi { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Instance
|
94
|
-
|
95
|
-
// Literal.Number
|
96
|
-
.m, .mf, .mh, .mi, .mo, .il { color: color-for(primary); }
|
97
|
-
// .mf { color: #880 } // Literal.Number.Float
|
98
|
-
// .mh { color: #880 } // Literal.Number.Hex
|
99
|
-
// .mi { color: #880 } // Literal.Number.Integer
|
100
|
-
// .mo { color: #880 } // Literal.Number.Oct
|
101
|
-
// .il { color: #099 } // Literal.Number.Integer.Long
|
102
|
-
|
103
|
-
// Literal.String
|
104
|
-
.dl, .s, .sb, .sc, .sd, .s2, .se, .si, .sx, .sr, .s1, .ss { color: color-for(hl); }
|
105
|
-
// .sb { color: #d14 } // Literal.String.Backtick
|
106
|
-
// .sc { color: #d14 } // Literal.String.Char
|
107
|
-
// .sd { color: #d14 } // Literal.String.Doc
|
108
|
-
// .s2 { color: #d14 } // Literal.String.Double
|
109
|
-
// .se { color: #d14 } // Literal.String.Escape
|
110
|
-
// .sh { color: #d14 } // Literal.String.Heredoc
|
111
|
-
// .si { color: #d14 } // Literal.String.Interpol
|
112
|
-
// .sx { color: #d14 } // Literal.String.Other
|
113
|
-
// .sr { color: #009926 } // Literal.String.Regex
|
114
|
-
// .s1 { color: #d14 } // Literal.String.Single
|
115
|
-
// .ss { color: #990073 } // Literal.String.Symbol
|
116
|
-
|
117
|
-
// .w { color: #bbb } // Text.Whitespace
|
118
|
-
// .gr { color: #f00 } // Generic.Error
|
119
|
-
// .err { color: #f00 } // Error
|
120
|
-
}
|
1
|
+
code {
|
2
|
+
font-family: $code-font-family;
|
3
|
+
* { font-family: $code-font-family; }
|
4
|
+
@include with-theme {
|
5
|
+
color: color-for(primary);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
pre {
|
10
|
+
overflow-x: auto;
|
11
|
+
margin: $spacing-3 0pt;
|
12
|
+
padding: $spacing-3;
|
13
|
+
@include with-theme {
|
14
|
+
background-color: color-for(hl-area);
|
15
|
+
}
|
16
|
+
border-radius: $spacing-1;
|
17
|
+
> code {
|
18
|
+
background: none;
|
19
|
+
border-radius: 0pt;
|
20
|
+
padding: 0pt;
|
21
|
+
@include with-theme {
|
22
|
+
color: color-for(text);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Syntax highlighting styles
|
29
|
+
*/
|
30
|
+
.highlight {
|
31
|
+
// Highlight takes care of syntax highlighting stuff
|
32
|
+
margin: $spacing-3 0pt;
|
33
|
+
padding: $spacing-3;
|
34
|
+
border-radius: $spacing-1;
|
35
|
+
> pre {
|
36
|
+
margin: 0pt;
|
37
|
+
padding: 0pt;
|
38
|
+
border-radius: 0pt;
|
39
|
+
background: none;
|
40
|
+
}
|
41
|
+
|
42
|
+
@include with-theme {
|
43
|
+
background-color: color-for(hl-area);
|
44
|
+
|
45
|
+
// Syntax scopes
|
46
|
+
|
47
|
+
// Comment
|
48
|
+
.c, .cm, .cp, .c1, .cs { color: color-for(hl); font-style: italic } // Comment
|
49
|
+
// .cm { color: darken($color: $white-color, $amount: 30%); font-style: italic } // Comment.Multiline
|
50
|
+
// .cp { color: darken($color: $white-color, $amount: 30%); font-weight: bold } // Comment.Preproc
|
51
|
+
// .c1 { color: darken($color: $white-color, $amount: 30%); font-style: italic } // Comment.Single
|
52
|
+
// .cs { color: darken($color: $white-color, $amount: 30%); font-weight: bold; font-style: italic } // Comment.Special
|
53
|
+
|
54
|
+
// Keywords
|
55
|
+
.k, .kd { color: color-for(primary); font-weight: bold; } // Keyword
|
56
|
+
// .kd { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Declaration
|
57
|
+
// .kt { } // Keyword.Type
|
58
|
+
// .kc { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Constant
|
59
|
+
// .kp { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Pseudo
|
60
|
+
// .kr { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Keyword.Reserved
|
61
|
+
|
62
|
+
// Operators
|
63
|
+
// .o { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Operator
|
64
|
+
// .ow { color: darken($color: $white-color, $amount: 10%); font-weight: bold } // Operator.Word
|
65
|
+
|
66
|
+
// Generic
|
67
|
+
// .go { color: darken($color: $white-color, $amount: 30%); } // Generic.Output
|
68
|
+
// .gh { color: #999 } // Generic.Heading
|
69
|
+
// .ge { font-style: italic } // Generic.Emph
|
70
|
+
// .gd { color: #000; background-color: #fdd } // Generic.Deleted
|
71
|
+
// .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
72
|
+
// .gi { color: #000; background-color: #dfd } // Generic.Inserted
|
73
|
+
// .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
74
|
+
// .gp { color: #555 } // Generic.Prompt
|
75
|
+
// .gs { font-weight: bold } // Generic.Strong
|
76
|
+
// .gt { color: #f00 } // Generic.Traceback
|
77
|
+
// .gu { color: #aaa } // Generic.Subheading
|
78
|
+
|
79
|
+
// Names
|
80
|
+
.na { color: color-for(primary) } // Name.Attribute
|
81
|
+
// .nb { color: lighten($color: $back-color, $amount: 50%); } // Name.Builtin
|
82
|
+
// .nc { color: lighten($color: $back-color, $amount: 40%); font-weight: bold } // Name.Class
|
83
|
+
// .no { color: lighten($color: $back-color, $amount: 40%) } // Name.Constant
|
84
|
+
// .ni { color: darken($color: $white-color, $amount: 20%) } // Name.Entity
|
85
|
+
// .ne { color: #900; font-weight: bold } // Name.Exception
|
86
|
+
// .nf { color: lighten($color: $back-color, $amount: 55%); font-weight: bold } // Name.Function
|
87
|
+
// .nn { color: darken($color: $white-color, $amount: 20%) } // Name.Namespace
|
88
|
+
.nt { color: color-for(primary); font-weight: bold; } // Name.Tag
|
89
|
+
// .nv { color: darken($color: $white-color, $amount: 20%) } // Name.Variable
|
90
|
+
// .bp { color: darken($color: $white-color, $amount: 20%) } // Name.Builtin.Pseudo
|
91
|
+
// .vc { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Class
|
92
|
+
// .vg { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Global
|
93
|
+
// .vi { color: darken($color: $white-color, $amount: 20%) } // Name.Variable.Instance
|
94
|
+
|
95
|
+
// Literal.Number
|
96
|
+
.m, .mf, .mh, .mi, .mo, .il { color: color-for(primary); }
|
97
|
+
// .mf { color: #880 } // Literal.Number.Float
|
98
|
+
// .mh { color: #880 } // Literal.Number.Hex
|
99
|
+
// .mi { color: #880 } // Literal.Number.Integer
|
100
|
+
// .mo { color: #880 } // Literal.Number.Oct
|
101
|
+
// .il { color: #099 } // Literal.Number.Integer.Long
|
102
|
+
|
103
|
+
// Literal.String
|
104
|
+
.dl, .s, .sb, .sc, .sd, .s2, .se, .si, .sx, .sr, .s1, .ss { color: color-for(hl); }
|
105
|
+
// .sb { color: #d14 } // Literal.String.Backtick
|
106
|
+
// .sc { color: #d14 } // Literal.String.Char
|
107
|
+
// .sd { color: #d14 } // Literal.String.Doc
|
108
|
+
// .s2 { color: #d14 } // Literal.String.Double
|
109
|
+
// .se { color: #d14 } // Literal.String.Escape
|
110
|
+
// .sh { color: #d14 } // Literal.String.Heredoc
|
111
|
+
// .si { color: #d14 } // Literal.String.Interpol
|
112
|
+
// .sx { color: #d14 } // Literal.String.Other
|
113
|
+
// .sr { color: #009926 } // Literal.String.Regex
|
114
|
+
// .s1 { color: #d14 } // Literal.String.Single
|
115
|
+
// .ss { color: #990073 } // Literal.String.Symbol
|
116
|
+
|
117
|
+
// .w { color: #bbb } // Text.Whitespace
|
118
|
+
// .gr { color: #f00 } // Generic.Error
|
119
|
+
// .err { color: #f00 } // Error
|
120
|
+
}
|
121
121
|
}
|
@@ -1,55 +1,62 @@
|
|
1
|
-
.footer {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
1
|
+
.footer {
|
2
|
+
margin-top: $spacing-3;
|
3
|
+
padding: $spacing-3;
|
4
|
+
font-size: $small-font-size;
|
5
|
+
text-align: center;
|
6
|
+
@include with-theme {
|
7
|
+
background-color: color-for(hl-area);
|
8
|
+
color: color-for(hl);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.footer-container {
|
13
|
+
margin: auto;
|
14
|
+
@include on-desktop {
|
15
|
+
max-width: 50%;
|
16
|
+
}
|
17
|
+
@include on-tablet {
|
18
|
+
max-width: 75%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@mixin footer-section {
|
23
|
+
margin: $spacing-1 0pt;
|
24
|
+
}
|
25
|
+
|
26
|
+
.site-description {
|
27
|
+
@include footer-section;
|
28
|
+
text-align: justify;
|
29
|
+
}
|
30
|
+
|
31
|
+
.social-bar {
|
32
|
+
@include footer-section;
|
33
|
+
}
|
34
|
+
|
35
|
+
.copyright {
|
36
|
+
@include footer-section;
|
37
|
+
font-style: italic;
|
38
|
+
}
|
39
|
+
|
40
|
+
.social-link {
|
41
|
+
// Sizing and spacing
|
42
|
+
margin: $spacing-1;
|
43
|
+
|
44
|
+
// Sizing is scaled by font
|
45
|
+
$font-size: $medium-font-size;
|
46
|
+
|
47
|
+
// Manually set width and height
|
48
|
+
width: $font-size + 2*$spacing-1;
|
49
|
+
height: $font-size + 2*$spacing-1;
|
50
|
+
border-radius: $font-size;
|
51
|
+
|
52
|
+
// Center icon
|
53
|
+
display: inline-grid;
|
54
|
+
grid-template-rows: 1fr;
|
55
|
+
grid-template-columns: 1fr;
|
56
|
+
place-items: center;
|
57
|
+
|
58
|
+
// Style icon
|
59
|
+
font-size: $font-size;
|
60
|
+
text-decoration: none;
|
61
|
+
color: inherit !important;
|
55
62
|
}
|
@@ -1,107 +1,112 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
}
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
}
|
54
|
-
|
55
|
-
.menu-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
1
|
+
.main-container {
|
2
|
+
padding: $spacing-3;
|
3
|
+
}
|
4
|
+
|
5
|
+
.menu {
|
6
|
+
padding: $spacing-2 $spacing-2;
|
7
|
+
margin-bottom: $spacing-3;
|
8
|
+
|
9
|
+
@include with-theme {
|
10
|
+
background-color: color-for(primary);
|
11
|
+
color: color-for(text-on-primary);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.menu-container {
|
16
|
+
display: flex;
|
17
|
+
flex-direction: row;
|
18
|
+
align-items: center;
|
19
|
+
@include on-mobile {
|
20
|
+
display: block;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.menu-header {
|
25
|
+
flex-grow: auto;
|
26
|
+
display: flex;
|
27
|
+
flex-direction: row;
|
28
|
+
align-items: center;
|
29
|
+
}
|
30
|
+
|
31
|
+
.menu-title-container {
|
32
|
+
flex: 1;
|
33
|
+
}
|
34
|
+
|
35
|
+
.menu-title {
|
36
|
+
margin: 0pt $spacing-2;
|
37
|
+
font-size: $large-font-size;
|
38
|
+
font-weight: bold;
|
39
|
+
text-decoration: none;
|
40
|
+
color: inherit !important;
|
41
|
+
&:hover {
|
42
|
+
text-decoration: underline;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.menu-dropdown-controls {
|
47
|
+
> .icon-button {
|
48
|
+
margin: 0pt;
|
49
|
+
@include with-theme {
|
50
|
+
color: color-for(text-on-primary);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.menu-dropdown {
|
56
|
+
@include not-on-mobile {
|
57
|
+
flex: 1 !important;
|
58
|
+
display: flex !important;
|
59
|
+
flex-direction: row !important;
|
60
|
+
}
|
61
|
+
@include on-mobile {
|
62
|
+
display: none;
|
63
|
+
text-align: right;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.menu-links {
|
68
|
+
// Spacing and alignment
|
69
|
+
margin: 0pt;
|
70
|
+
padding: 0pt;
|
71
|
+
list-style-type: none;
|
72
|
+
|
73
|
+
// Align
|
74
|
+
flex: 1;
|
75
|
+
display: flex;
|
76
|
+
align-items: center;
|
77
|
+
@include on-mobile {
|
78
|
+
display: block;
|
79
|
+
}
|
80
|
+
|
81
|
+
// List element styling
|
82
|
+
& > li {
|
83
|
+
// Spacing
|
84
|
+
margin: 0pt $spacing-2;
|
85
|
+
@include on-mobile {
|
86
|
+
margin: $spacing-2;
|
87
|
+
}
|
88
|
+
> a {
|
89
|
+
color: inherit !important;
|
90
|
+
text-decoration: none;
|
91
|
+
font-size: $normal-font-size;
|
92
|
+
&:hover {
|
93
|
+
text-decoration: underline;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
.menu-controls {
|
100
|
+
// Align
|
101
|
+
display: flex;
|
102
|
+
flex-direction: row-reverse;
|
103
|
+
align-items: center;
|
104
|
+
|
105
|
+
.icon-button {
|
106
|
+
padding: $spacing-1;
|
107
|
+
font-size: $medium-font-size;
|
108
|
+
@include with-theme {
|
109
|
+
color: color-for(text-on-primary);
|
110
|
+
}
|
111
|
+
}
|
107
112
|
}
|