jekyll-theme-paperwiki 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -11
- data/_config.yml +32 -0
- data/_includes/collections_header.html +1 -5
- data/_includes/entry_tags.html +36 -0
- data/_includes/search_results.html +8 -0
- data/_includes/wiki_sidebar.html +67 -0
- data/_layouts/entry.html +8 -0
- data/_layouts/reference_desk.html +5 -1
- data/_layouts/search.html +12 -0
- data/_layouts/wiki.html +9 -106
- data/_plugins/blockquote.rb +28 -0
- data/_plugins/gloss.rb +22 -0
- data/_plugins/interlinear.rb +37 -0
- data/_plugins/ipa.rb +23 -0
- data/_plugins/lang.rb +28 -0
- data/_plugins/sidenote.rb +24 -0
- data/_sass/partials/_base.scss +119 -21
- data/_sass/partials/_collections.scss +27 -32
- data/_sass/partials/_entries.scss +66 -20
- data/_sass/partials/_global.scss +23 -35
- data/_sass/partials/_glossing.scss +2 -2
- data/_sass/partials/_languages.scss +10 -0
- data/_sass/partials/_launchpad.scss +48 -82
- data/_sass/partials/_search.scss +13 -1
- data/_sass/style.scss +2 -0
- data/_sass/variables/_colors.scss +79 -26
- data/assets/.DS_Store +0 -0
- data/assets/js/search.js +23 -20
- metadata +14 -2
data/_sass/partials/_base.scss
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
margin: 0;
|
12
12
|
padding: 0;
|
13
13
|
|
14
|
-
color: $color-
|
14
|
+
color: $color-body_text;
|
15
15
|
line-height: $lineheight-body;
|
16
16
|
}
|
17
17
|
|
@@ -23,7 +23,7 @@ body {
|
|
23
23
|
|
24
24
|
margin: 0 auto;
|
25
25
|
|
26
|
-
background-color: $color-
|
26
|
+
background-color: $color-body_background;
|
27
27
|
font-family: $fontfamily-body;
|
28
28
|
font-size: $fontsize-body;
|
29
29
|
}
|
@@ -36,7 +36,7 @@ main {
|
|
36
36
|
display: grid;
|
37
37
|
grid-template-columns: repeat(12, 1fr);
|
38
38
|
|
39
|
-
background-color: $color-
|
39
|
+
background-color: $color-content_background;
|
40
40
|
}
|
41
41
|
|
42
42
|
h1,
|
@@ -60,26 +60,26 @@ h3 {
|
|
60
60
|
font-size: $fontsize-h3;
|
61
61
|
font-variant: small-caps;
|
62
62
|
padding: 0.71em 0 0.9em 0;
|
63
|
-
color:
|
63
|
+
color: $color-h3;
|
64
64
|
}
|
65
65
|
|
66
66
|
a,
|
67
67
|
a:link,
|
68
68
|
a:active {
|
69
69
|
color: $color-link;
|
70
|
-
transition:
|
70
|
+
transition: $transition;
|
71
71
|
}
|
72
72
|
|
73
73
|
a:hover {
|
74
|
-
color: $color-
|
74
|
+
color: $color-link_hover;
|
75
75
|
}
|
76
76
|
|
77
77
|
a:active {
|
78
|
-
color: $color-
|
78
|
+
color: $color-link_active;
|
79
79
|
}
|
80
80
|
|
81
81
|
p {
|
82
|
-
margin-bottom: 1.75em;
|
82
|
+
margin-bottom: 1.75em; // Equal to one line-height.
|
83
83
|
}
|
84
84
|
|
85
85
|
hr {
|
@@ -97,15 +97,18 @@ blockquote {
|
|
97
97
|
margin-left: 3em;
|
98
98
|
margin-right: 3em;
|
99
99
|
margin-bottom: 1.75rem;
|
100
|
-
padding
|
100
|
+
padding: 1.75em;
|
101
101
|
|
102
|
-
|
102
|
+
background-color: $color-blockquote_background;
|
103
|
+
border-left: 0.5em solid $color-blockquote_border;
|
103
104
|
|
104
|
-
|
105
|
-
display: block;
|
106
|
-
width: 100%;
|
105
|
+
figcaption {
|
107
106
|
text-align: right;
|
108
107
|
}
|
108
|
+
|
109
|
+
figcaption cite {
|
110
|
+
display: inline;
|
111
|
+
}
|
109
112
|
}
|
110
113
|
|
111
114
|
ul ul {
|
@@ -123,6 +126,10 @@ figcaption {
|
|
123
126
|
text-align: center;
|
124
127
|
}
|
125
128
|
|
129
|
+
abbr {
|
130
|
+
cursor: help;
|
131
|
+
}
|
132
|
+
|
126
133
|
code,
|
127
134
|
pre,
|
128
135
|
kbd,
|
@@ -130,16 +137,107 @@ samp {
|
|
130
137
|
font-family: $fontfamily-code;
|
131
138
|
}
|
132
139
|
|
133
|
-
code
|
134
|
-
|
135
|
-
|
136
|
-
|
140
|
+
code {
|
141
|
+
padding: 0.4em 0.5em 0.2em;
|
142
|
+
|
143
|
+
background-color: $color-code_background;
|
144
|
+
color: $color-code_text;
|
145
|
+
border-radius: $border_radius-inline;
|
146
|
+
}
|
147
|
+
|
148
|
+
kbd {
|
149
|
+
position: relative;
|
150
|
+
top: -1px;
|
151
|
+
display: inline-block;
|
152
|
+
min-width: 0.75rem;
|
153
|
+
padding: 0.2rem 0.5rem;
|
154
|
+
line-height: 1;
|
155
|
+
|
156
|
+
background-color: $color-kbd_background;
|
157
|
+
border: 1px solid $color-kbd_border;
|
158
|
+
border-radius: $border_radius-inline;
|
159
|
+
box-shadow: 0 2px 0 1px $color-kbd_box_shadow;
|
160
|
+
|
161
|
+
cursor: default;
|
162
|
+
|
163
|
+
font-family: $fontfamily-body;
|
164
|
+
text-align: center;
|
165
|
+
color: $color-body_text;
|
166
|
+
|
167
|
+
transition: $transition;
|
168
|
+
&:hover {
|
169
|
+
box-shadow: 0 1px 0 0.5px $color-kbd_hover;
|
170
|
+
top: 1px;
|
171
|
+
}
|
172
|
+
}
|
137
173
|
|
138
|
-
|
139
|
-
|
140
|
-
|
174
|
+
pre {
|
175
|
+
padding: 1rem;
|
176
|
+
|
177
|
+
background-color: $color-code_background;
|
178
|
+
color: $color-code_text;
|
179
|
+
border-radius: 6px;
|
141
180
|
}
|
142
181
|
|
143
182
|
input[type="search"] {
|
144
|
-
background-color: $color-
|
183
|
+
background-color: $color-searchbar_background;
|
184
|
+
border: 1px solid $color-searchbar_border;
|
185
|
+
appearance: none;
|
186
|
+
outline: none;
|
187
|
+
|
188
|
+
transition: $transition;
|
189
|
+
|
190
|
+
&:hover {
|
191
|
+
border: 1px solid $color-searchbar_border_hover;
|
192
|
+
box-shadow: 0 0 6px $color-searchbar_shadow_hover;
|
193
|
+
transition: $transition;
|
194
|
+
}
|
195
|
+
&:focus {
|
196
|
+
border-color: $color-searchbar_border_focus;
|
197
|
+
box-shadow: 0 0 6px $color-searchbar_shadow_focus;
|
198
|
+
transition: $transition;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
.tooltip {
|
203
|
+
position: relative;
|
204
|
+
}
|
205
|
+
|
206
|
+
.tooltip:before {
|
207
|
+
content: attr(data-tooltip);
|
208
|
+
position: absolute;
|
209
|
+
width: 100px;
|
210
|
+
background-color: #062B45;
|
211
|
+
color: #fff;
|
212
|
+
text-align: center;
|
213
|
+
padding: 10px;
|
214
|
+
line-height: 1.2;
|
215
|
+
border-radius: 6px;
|
216
|
+
z-index: 1;
|
217
|
+
opacity: 0;
|
218
|
+
transition: opacity .6s;
|
219
|
+
bottom: 125%;
|
220
|
+
left: 50%;
|
221
|
+
margin-left: -60px;
|
222
|
+
font-size: 0.75em;
|
223
|
+
visibility: hidden;
|
224
|
+
}
|
225
|
+
|
226
|
+
.tooltip:after {
|
227
|
+
content: "";
|
228
|
+
position: absolute;
|
229
|
+
bottom: 75%;
|
230
|
+
left: 50%;
|
231
|
+
margin-left: -5px;
|
232
|
+
border-width: 5px;
|
233
|
+
border-style: solid;
|
234
|
+
opacity: 0;
|
235
|
+
transition: opacity .6s;
|
236
|
+
border-color: #062B45 transparent transparent transparent;
|
237
|
+
visibility: hidden;
|
238
|
+
}
|
239
|
+
|
240
|
+
.tooltip:hover:before, .tooltip:hover:after {
|
241
|
+
opacity: 1;
|
242
|
+
visibility: visible;
|
145
243
|
}
|
@@ -6,7 +6,8 @@
|
|
6
6
|
grid-column: span 2 / auto;
|
7
7
|
padding: 4.5em 2em;
|
8
8
|
|
9
|
-
background-color: $color-
|
9
|
+
background-color: $color-collections_sidebar;
|
10
|
+
border-right: 1px solid $color-collections_sidebar_border;
|
10
11
|
|
11
12
|
font-size: $fontsize-small;
|
12
13
|
|
@@ -22,10 +23,6 @@
|
|
22
23
|
.collections-content {
|
23
24
|
grid-column: span 10 / auto;
|
24
25
|
|
25
|
-
// display: grid;
|
26
|
-
// grid-template-columns: repeat(12, 1fr);
|
27
|
-
// grid-gap: 2em;
|
28
|
-
|
29
26
|
padding: 1.56em 2em 1.56em*2;
|
30
27
|
|
31
28
|
h1 {
|
@@ -47,8 +44,8 @@
|
|
47
44
|
padding: 1.5rem;
|
48
45
|
margin-bottom: 1rem;
|
49
46
|
|
50
|
-
background-color: $color-
|
51
|
-
border: 1px solid
|
47
|
+
background-color: $color-collections_header;
|
48
|
+
border: 1px solid $color-collections_header_border;
|
52
49
|
border-radius: 1.5rem;
|
53
50
|
}
|
54
51
|
|
@@ -62,27 +59,11 @@
|
|
62
59
|
width: 100%;
|
63
60
|
padding: 12px 16px;
|
64
61
|
|
65
|
-
border: 1px solid transparent;
|
66
62
|
border-radius: 1rem;
|
67
63
|
|
68
64
|
font-size: $fontsize-body;
|
69
|
-
|
70
|
-
transition: 0.25s;
|
71
|
-
appearance: none;
|
72
|
-
outline: none;
|
73
|
-
}
|
74
|
-
|
75
|
-
.collections-searchbar:hover {
|
76
|
-
border: 1px solid $color-launchpadsearch;
|
77
|
-
box-shadow: 0 0 6px $color-globalsearchbar;
|
78
65
|
}
|
79
66
|
|
80
|
-
.collections-searchbar:focus {
|
81
|
-
outline: none;
|
82
|
-
border-color: $color-globalsearchbar;
|
83
|
-
box-shadow: 0 0 6px $color-globalsearchbar;
|
84
|
-
transition: 0.25s;
|
85
|
-
}
|
86
67
|
|
87
68
|
|
88
69
|
|
@@ -125,10 +106,10 @@
|
|
125
106
|
padding: 28px 28px;
|
126
107
|
|
127
108
|
border-radius: 1.5rem;
|
128
|
-
border: 1px solid $color-
|
109
|
+
border: 1px solid $color-portal_card_border;
|
129
110
|
|
130
111
|
text-decoration: none;
|
131
|
-
color: $color-
|
112
|
+
color: $color-body_text;
|
132
113
|
|
133
114
|
header {
|
134
115
|
display: flex;
|
@@ -141,7 +122,7 @@
|
|
141
122
|
margin-right: 0.4em;
|
142
123
|
padding: 0;
|
143
124
|
|
144
|
-
color: $color-
|
125
|
+
color: $color-body_text;
|
145
126
|
font-size: 1em;
|
146
127
|
|
147
128
|
transition: 0.2s;
|
@@ -149,22 +130,22 @@
|
|
149
130
|
}
|
150
131
|
|
151
132
|
.collections-portal_card:link {
|
152
|
-
color: $color-
|
133
|
+
color: $color-body_text;
|
153
134
|
}
|
154
135
|
|
155
136
|
.collections-portal_card:hover {
|
156
137
|
border: 1px solid transparent;
|
157
|
-
box-shadow: 0 0 6px $color-
|
138
|
+
box-shadow: 0 0 6px $color-portal_card_border;
|
158
139
|
.portal-icon {
|
159
|
-
color: $color-
|
140
|
+
color: $color-portal_card_icon_hover;
|
160
141
|
|
161
142
|
transition: 0.2s;
|
162
143
|
}
|
163
|
-
color: $color-
|
144
|
+
color: $color-body_text;
|
164
145
|
}
|
165
146
|
|
166
147
|
.collections-portal_card:visited {
|
167
|
-
color: $color-
|
148
|
+
color: $color-body_text;
|
168
149
|
}
|
169
150
|
|
170
151
|
|
@@ -193,7 +174,7 @@
|
|
193
174
|
padding: 14px 28px;
|
194
175
|
|
195
176
|
border-radius: 1.5rem;
|
196
|
-
border: 1px solid $color-
|
177
|
+
border: 1px solid $color-portal_card_border;
|
197
178
|
}
|
198
179
|
|
199
180
|
|
@@ -234,3 +215,17 @@
|
|
234
215
|
// text-transform: uppercase;
|
235
216
|
margin-right: 0.65rem;
|
236
217
|
}
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
.contents-tag_list {
|
222
|
+
-webkit-columns: 4 10em;
|
223
|
+
-moz-columns: 4 10em;
|
224
|
+
columns: 4 10em;
|
225
|
+
-webkit-column-gap: 4em;
|
226
|
+
-moz-column-gap: 4em;
|
227
|
+
column-gap: 4em;
|
228
|
+
-webkit-column-rule: 1px dotted #ddd;
|
229
|
+
-moz-column-rule: 1px dotted #ddd;
|
230
|
+
column-rule: 1px solid #f6f2ef;
|
231
|
+
}
|
@@ -4,11 +4,12 @@
|
|
4
4
|
\*------------------------------------*/
|
5
5
|
|
6
6
|
|
7
|
+
|
7
8
|
.entry {
|
8
9
|
padding: 1.56em 2em;
|
9
10
|
|
10
|
-
border-left: 1px solid $color-
|
11
|
-
border-right: 1px solid $color-
|
11
|
+
border-left: 1px solid $color-article_border;
|
12
|
+
border-right: 1px solid $color-article_border;
|
12
13
|
|
13
14
|
ul {
|
14
15
|
margin: 0 2rem 1.75rem;
|
@@ -33,6 +34,9 @@
|
|
33
34
|
grid-column: span 10 / auto;
|
34
35
|
}
|
35
36
|
|
37
|
+
|
38
|
+
|
39
|
+
// The auto-generated table of contents.
|
36
40
|
.entry-index {
|
37
41
|
position: -webkit-sticky; /* Safari */
|
38
42
|
position: sticky;
|
@@ -41,11 +45,23 @@
|
|
41
45
|
|
42
46
|
grid-column: span 2 / auto;
|
43
47
|
|
44
|
-
padding:
|
48
|
+
padding: 2em 1em 2em 0.75em;
|
45
49
|
|
46
50
|
font-size: $fontsize-small;
|
47
51
|
}
|
48
52
|
|
53
|
+
.entry-index ul {
|
54
|
+
list-style: none;
|
55
|
+
padding-left: 1rem;
|
56
|
+
a {
|
57
|
+
text-decoration: none;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.entry-index_return {
|
62
|
+
margin-bottom: 1.5rem;
|
63
|
+
}
|
64
|
+
|
49
65
|
.entry-index ol {
|
50
66
|
list-style: none;
|
51
67
|
padding-left: 1rem;
|
@@ -66,13 +82,17 @@
|
|
66
82
|
}
|
67
83
|
|
68
84
|
|
69
|
-
|
85
|
+
|
86
|
+
// The righthand sidebar.
|
87
|
+
.entry-sidebar {
|
88
|
+
grid-column: span 3 / auto;
|
89
|
+
}
|
70
90
|
|
71
91
|
.entry-other_projects {
|
72
92
|
padding: 1rem;
|
73
|
-
margin: 1em
|
93
|
+
margin: 1em;
|
74
94
|
border-radius: 1em;
|
75
|
-
background-color:
|
95
|
+
background-color: $color-entry_secondary;
|
76
96
|
font-size: $fontsize-small;
|
77
97
|
|
78
98
|
ul {
|
@@ -83,17 +103,13 @@
|
|
83
103
|
}
|
84
104
|
}
|
85
105
|
|
86
|
-
.entry-
|
87
|
-
grid-column: span 3 / auto;
|
88
|
-
padding: 0.5em;
|
89
|
-
}
|
90
|
-
|
91
|
-
.stats-image {
|
106
|
+
.entry-image {
|
92
107
|
padding: 0.2em 0.2em 0.1em 0.2em;
|
93
108
|
max-width: 100%;
|
94
109
|
}
|
95
110
|
|
96
|
-
.
|
111
|
+
.entry-quickstats {
|
112
|
+
padding: 0.5em;
|
97
113
|
font-size: $fontsize-small;
|
98
114
|
}
|
99
115
|
|
@@ -107,21 +123,29 @@
|
|
107
123
|
}
|
108
124
|
tr td:first-child {
|
109
125
|
text-align: right;
|
110
|
-
padding-right: 0.5em;
|
111
126
|
background-color: $color-linen;
|
112
127
|
}
|
113
128
|
tr td:last-child {
|
114
|
-
background-color: $color-
|
129
|
+
background-color: $color-paper_dark;
|
130
|
+
}
|
131
|
+
.entry-quickstats_double {
|
132
|
+
text-align: center !important;
|
115
133
|
}
|
116
134
|
}
|
117
135
|
|
136
|
+
.entry-quicknotes {
|
137
|
+
padding: 0.5em;
|
138
|
+
font-size: $fontsize-small;
|
139
|
+
text-align: center;
|
140
|
+
}
|
141
|
+
|
118
142
|
|
119
143
|
|
144
|
+
// The navigation, which can be at the top or bottom of the article.
|
120
145
|
.entry-tags {
|
121
|
-
margin-bottom: 2em;
|
122
146
|
padding: 1rem;
|
123
147
|
border-radius: 1em;
|
124
|
-
background-color:
|
148
|
+
background-color: $color-entry_secondary;
|
125
149
|
font-size: $fontsize-small;
|
126
150
|
text-transform: uppercase;
|
127
151
|
|
@@ -130,6 +154,14 @@
|
|
130
154
|
}
|
131
155
|
}
|
132
156
|
|
157
|
+
.entry-tags_top {
|
158
|
+
margin-bottom: 2em;
|
159
|
+
}
|
160
|
+
|
161
|
+
.entry-tags_bottom {
|
162
|
+
margin-top: 2em;
|
163
|
+
}
|
164
|
+
|
133
165
|
.entry-subhead_pair {
|
134
166
|
display: inline;
|
135
167
|
margin-right: 1em;
|
@@ -150,8 +182,10 @@
|
|
150
182
|
|
151
183
|
|
152
184
|
|
185
|
+
// The footnotes section and the footnotes themselves.
|
153
186
|
a.footnote {
|
154
187
|
text-decoration: none;
|
188
|
+
line-height: 0;
|
155
189
|
}
|
156
190
|
a.footnote::before {
|
157
191
|
content: "[";
|
@@ -161,11 +195,9 @@ a.footnote::after {
|
|
161
195
|
}
|
162
196
|
|
163
197
|
.footnotes {
|
164
|
-
// grid-column: span 7 / auto;
|
165
|
-
|
166
198
|
padding: 1rem;
|
167
199
|
border-radius: 1em;
|
168
|
-
background-color:
|
200
|
+
background-color: $color-entry_secondary;
|
169
201
|
font-size: $fontsize-small;
|
170
202
|
ol {
|
171
203
|
padding-left: 1rem;
|
@@ -176,3 +208,17 @@ a.footnote::after {
|
|
176
208
|
}
|
177
209
|
}
|
178
210
|
}
|
211
|
+
|
212
|
+
.tooltip {}
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
// Sidenotes
|
217
|
+
.aside {
|
218
|
+
display: inline; /* prevents parent paragraph from breaking */
|
219
|
+
float: right; /* positions the note to the right of the content */
|
220
|
+
position: relative; /* forces note to be relative its the normal position */
|
221
|
+
width: 20vw; /* limits the width of the marginal note */
|
222
|
+
margin-right: -24vw; /* sets the distance away from the body text */
|
223
|
+
font-size: $fontsize-small;
|
224
|
+
}
|
data/_sass/partials/_global.scss
CHANGED
@@ -17,20 +17,20 @@
|
|
17
17
|
align-items: center;
|
18
18
|
justify-content: space-between;
|
19
19
|
|
20
|
-
background-color: $color-
|
21
|
-
border-bottom: 1px solid $color-
|
20
|
+
background-color: $color-global_background;
|
21
|
+
border-bottom: 1px solid $color-global_border;
|
22
22
|
|
23
23
|
a,
|
24
24
|
a:link,
|
25
25
|
a:hover,
|
26
26
|
a:visited {
|
27
|
-
color: $color-
|
27
|
+
color: $color-body_text;
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
31
|
.global-footer {
|
32
|
-
background-color: $color-
|
33
|
-
border-top: 1px solid $color-
|
32
|
+
background-color: $color-global_background;
|
33
|
+
border-top: 1px solid $color-global_border;
|
34
34
|
padding: 1.75em;
|
35
35
|
|
36
36
|
font-size: $fontsize-small;
|
@@ -67,12 +67,8 @@
|
|
67
67
|
|
68
68
|
.global-searchbar {
|
69
69
|
padding: 0.2rem 1rem;
|
70
|
-
border: 1px solid transparent;
|
71
70
|
border-radius: 8px;
|
72
71
|
font-size: $fontsize-small;
|
73
|
-
transition: 0.25s;
|
74
|
-
appearance: none;
|
75
|
-
outline: none;
|
76
72
|
line-height: 2rem;
|
77
73
|
}
|
78
74
|
|
@@ -80,25 +76,6 @@
|
|
80
76
|
text-transform: uppercase;
|
81
77
|
}
|
82
78
|
|
83
|
-
.global-searchbar:hover {
|
84
|
-
border: 1px solid $color-launchpadsearch;
|
85
|
-
box-shadow: 0 0 6px $color-globalsearchbar;
|
86
|
-
}
|
87
|
-
|
88
|
-
.global-searchbar:focus {
|
89
|
-
outline: none;
|
90
|
-
border-color: $color-globalsearchbar;
|
91
|
-
box-shadow: 0 0 6px $color-globalsearchbar;
|
92
|
-
transition: 0.25s;
|
93
|
-
}
|
94
|
-
|
95
|
-
.global-search_submit {
|
96
|
-
background: none;
|
97
|
-
border: 0;
|
98
|
-
|
99
|
-
font-size: $fontsize-small;
|
100
|
-
}
|
101
|
-
|
102
79
|
.global-nav {
|
103
80
|
display: flex;
|
104
81
|
align-items: center;
|
@@ -106,21 +83,32 @@
|
|
106
83
|
}
|
107
84
|
|
108
85
|
.global-nav-link {
|
86
|
+
position: relative;
|
109
87
|
display: inline-block;
|
110
|
-
padding-top: 0.
|
111
|
-
|
88
|
+
padding-top: 0.15rem;
|
112
89
|
margin-right: 1.75rem;
|
113
90
|
|
114
|
-
border-bottom: 2px solid #f6bf5d;
|
115
|
-
|
116
91
|
font-size: $fontsize-small;
|
117
92
|
text-decoration: none;
|
118
93
|
text-transform: uppercase;
|
119
|
-
|
120
|
-
|
94
|
+
&::after {
|
95
|
+
content: ' ';
|
96
|
+
position: absolute;
|
97
|
+
top: 100%;
|
98
|
+
left: 25%;
|
99
|
+
|
100
|
+
width: 50%;
|
101
|
+
height: 1px;
|
102
|
+
border-bottom: 2px solid $color-global_nav_underline;
|
103
|
+
|
104
|
+
transition: 0.4s;
|
105
|
+
}
|
106
|
+
&:hover::after {
|
107
|
+
width: 100%;
|
108
|
+
left: 0;
|
121
109
|
}
|
122
110
|
}
|
123
111
|
|
124
112
|
.global-nav-link:visited {
|
125
|
-
color: $color-
|
113
|
+
color: $color-body_text;
|
126
114
|
}
|