-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.scss
144 lines (122 loc) · 2.3 KB
/
main.scss
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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
@import './util';
@import './defaults';
@import './common';
@import './variables';
@import './colors';
@import '../../node_modules/bulma/sass/utilities/initial-variables';
// BULMA VARIABLE OVERRIDES! --------------------
$primary-invert: $white;
$navbar-item-hover-color: $pink-darker;
$navbar-item-color: $navy-black;
$navbar-item-hover-background-color: $grey-2;
$navbar-breakpoint: 1160px;
$link: $blue;
$family-serif: $font-sans-serif;
$family-primary: $family-serif;
@import '../../node_modules/bulma/bulma.sass';
.hero {
background-color: $blue-top !important;
}
// override bulma's hover CSS for the top navbar
a.navbar-item:hover {
color: $navy-black;
}
a.navbar-item.active-item {
background: $grey-2;
&:hover {
color: $pink-darker;
}
}
// patch bulma's `.container` class; nicer padding across the site.
.container {
padding: 0 32px;
}
.has-navbar-fixed-top {
padding-top: 3.75rem !important;
@media (max-width: 1260px) {
padding-top: 3.25rem !important;
}
}
// Override react modal --------------------
.ReactModal__Overlay {
z-index: 99;
background-color: rgba(0, 0, 0, 0.7);
}
.__modal_close_btn {
position: fixed;
right: 12px;
top: 0px;
padding: 12px 24px;
font-size: 64px;
background: none;
border: none;
color: $white;
z-index: 2;
cursor: pointer;
outline: none;
}
// fix footer to the bottom of the page
.site-wrapper {
display: flex;
flex-direction: column;
height: 100%;
&__content {
flex: 1 0 auto;
display: flex;
main {
flex: 1;
}
}
&__footer {
margin-top: auto;
flex-shrink: 0;
}
}
html,
body,
#___gatsby,
#gatsby-focus-wrapper,
#gatsby-focus-wrapper > div {
// fix safari sticky footer issues
height: 100%;
}
.sr-only {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
a {
color: $blue-links;
text-decoration: underline;
}
.button {
text-decoration: none;
&.is-primary {
background: $navy-dark;
&:active,
&:hover,
&:focus {
background: $navy-black;
}
}
}
.BottomCallout .button.is-primary {
background: $pink-dark;
&:active,
&:hover,
&:focus {
background: $pink-darker;
}
}
a.column {
text-decoration: none;
}
.grey-bg {
background-color: $grey-2;
}
.blue-bg {
background-color: $blue-block;
}