File tree 4 files changed +27
-5
lines changed
4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,9 @@ onMounted(() => {
178
178
padding : 0 ;
179
179
margin-bottom : 0 ;
180
180
background : var (--masthead-color );
181
- height : $ masthead-height ;
181
+ height : var ( -- masthead-height) ;
182
182
& :deep (.navbar-nav ) {
183
- height : $ masthead-height ;
183
+ height : var ( -- masthead-height) ;
184
184
& > li {
185
185
// This allows the background color to fill the full height of the
186
186
// masthead, while still keeping the contents centered (using flex)
@@ -226,20 +226,21 @@ onMounted(() => {
226
226
}
227
227
.navbar-brand {
228
228
cursor : pointer ;
229
- line-height : $ masthead-height ;
229
+ line-height : var ( -- masthead-height) ;
230
230
img {
231
231
filter : $text-shadow ;
232
232
display : inline ;
233
233
border : none ;
234
- height : 2rem ;
234
+ height : var (--masthead-logo-height );
235
+ padding : inherit ;
235
236
}
236
237
}
237
238
.navbar-text {
238
239
filter : $text-shadow ;
239
240
font-weight : bold ;
240
241
font-family : Verdana , sans-serif ;
241
242
font-size : 1rem ;
242
- line-height : $ masthead-height ;
243
+ line-height : var ( -- masthead-height) ;
243
244
color : var (--masthead-text-color );
244
245
}
245
246
}
Original file line number Diff line number Diff line change 82
82
--font-size-large : 1rem ;
83
83
84
84
// masthead specific
85
+ --masthead-height : #{$masthead-height } ;
86
+ --masthead-logo-height : calc (var (--masthead-height ) * 0.6 );
87
+
85
88
--masthead-color : #{$masthead-color } ;
86
89
--masthead-text-color : #{$masthead-text-color } ;
87
90
--masthead-text-hover : #{$masthead-text-hover } ;
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ $body-bg: $white;
114
114
115
115
// Masthead
116
116
$masthead-height : 2.5rem ;
117
+ $masthead-logo-height : $masthead-height * 0.6 ;
117
118
118
119
// Side panels
119
120
$panel-bg-color : $brand-light ;
Original file line number Diff line number Diff line change @@ -74,3 +74,20 @@ smoky:
74
74
active: "#FF206E"
75
75
logo:
76
76
img: "/static/favicon.svg"
77
+
78
+ anvil:
79
+ masthead:
80
+ color: "#012840"
81
+ height: "3rem"
82
+ text:
83
+ color: "#f6f7f4"
84
+ hover: "#e0dd10"
85
+ active: "#ffff"
86
+ link:
87
+ color: transparent
88
+ hover: transparent
89
+ active: "#00090e"
90
+ logo:
91
+ height: "1.8rem"
92
+ img: "/static/images/galaxy_project_logo_white_square.png"
93
+ img-secondary: "/static/images/anvilwhite.png"
You can’t perform that action at this time.
0 commit comments