forked from codeforgso/codeforgso.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.scss
More file actions
157 lines (131 loc) · 2.85 KB
/
styles.scss
File metadata and controls
157 lines (131 loc) · 2.85 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@import "./node_modules/bulma/sass/utilities/_all.sass";
// app colors
$red: hsl(9, 69%, 49%);
$green: hsl(180, 76%, 31%);
$lightgreen: hsl(180, 76%, 40%);
$text-white: hsl(0, 0%, 100%);
$text-black: hsl(3, 0%, 0%);
$footer-background: hsl(41, 32%, 84%);
// title
$title-color: $red;
$title-size: $size-2;
// navbar
$navbar-background-color: $green;
$navbar-item-hover-background-color: $lightgreen;
$navbar-item-color: $text-white;
$navbar-item-hover-color: $text-black;
//footer
$footer-background-color: $footer-background;
@import "./node_modules/bulma/bulma";
// Import only what you need from Bulma
// @import "./node_modules/bulma/sass/utilities/_all.sass";
@import "./node_modules/bulma/sass/elements/button.sass";
// @import "./node_modules/bulma/sass/elements/container.sass";
@import "./node_modules/bulma/sass/elements/title.sass";
// @import "./node_modules/bulma/sass/form/_all.sass";
@import "./node_modules/bulma/sass/components/navbar.sass";
// @import "./node_modules/bulma/sass/layout/hero.sass";
@import "./node_modules/bulma/sass/layout/section.sass";
// TODO: override bulma default colors with our own
// Reference: https://bulma.io/documentation/customize/variables/#derived-variables
.footer {
padding: 1rem;
h1 {
color: $red;
}
}
h2{
font-size: 1.5em
}
// footer at bottom of page or content
html,
body {
height: 100%;
z-index: -1;
}
#__next {
display: flex;
flex-direction: column;
min-height: 105vh;
}
// footer at bottom of page or content
// not needed if min-height > 100vh or %
// .footer {
// flex-shrink: 0;
// }
// end footer at bottom of page or content
// sticky footer - always on bottom of page
// .section {
// min-height: 100vh;
// }
// .footer {
// position: -webkit-sticky; /* Safari */
// position: sticky;
// bottom: 0;
// }
// end sticky footer - always on bottom of page
.JoinButton .button {
justify-content: left;
padding-right: 10rem;
color: white;
background: linear-gradient(to right, $red 70%, $green 30%);
}
.JoinButton .join-icon {
position: absolute;
top: 15%;
right: 10%;
margin: auto;
}
.JoinButton .bottom {
position: -webkit-sticky; /* Safari */
position: sticky;
bottom: 0;
visibility: visible;
display: block;
}
.JoinButton .top {
display: none;
}
@media (min-width: 769px) {
.JoinButton .top {
top: 0;
visibility: visible;
display: block;
}
.JoinButton .bottom {
display: none;
}
}
.Logo {
display: flex;
align-items: center;
margin-right: 1em;
}
.Logo .textContainer {
padding-left: 0.5em;
}
.Logo .bottomText {
margin-top: -0.3em;
font-size: 1em;
}
.Logo .topText {
font-size: 1em;
}
.social-icons {
text-align: center;
margin-top: 25px;
}
.social-icon {
margin-left: 2.5em;
margin-right: 2.5em;
}
.img-wrapper {
margin-left: -15vw;
margin-right: -15vw;
}
.alignment-left {
margin: 0;
}
.projects {
padding-left: 2em;
}