forked from joshspicer/CoSMO-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
219 lines (190 loc) · 3.52 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
---
---
$text-color: #fff4f4;
$anchor-text-color: #2a879e;
$background-color: #383838;
body {
font-family: "Montserrat", serif;
color: $text-color;
background-color: $background-color;
}
.addColor {
color: $anchor-text-color;
}
.headshot {
width: 45px;
height: 45px;
border-radius: 50%;
margin-bottom: 0px;
}
eboardMember {
display: flex;
flex-direction: row;
}
.person-name {
font-size: 23px;
font-weight: 400;
}
header,
main {
padding: 0 20px;
}
/*** wrapper div for both header and main ***/
.wrapper {
margin-top: 10%;
}
/*** anchor tags ***/
a:link,
a:visited,
a:hover,
a:active {
color: $anchor-text-color;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/*** main content list ***/
.main-list-item {
font-weight: bold;
font-size: 1.2em;
margin: 0.8em 0;
}
/* override the left margin added by font awesome for the main content list,
since it must be aligned with the content */
.fa-ul.main-list {
margin-left: 0;
}
/* list icons */
.main-list-item-icon {
width: 36px;
color: $text-color;
}
/*** logo ***/
.logo-container {
text-align: center;
}
.logo {
width: 250px;
height: 250px;
display: inline-block;
background-size: cover;
border-radius: 50%;
// -moz-border-radius: 50%;
// box-shadow: 0 0 0 3px $text-color;
margin: 5px;
padding: 5px;
}
/*** author ***/
.author-container h1 {
font-size: 2.8em;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
/*** tagline ***/
.tagline-container p {
font-size: 1.3em;
text-align: center;
margin-bottom: 2em;
}
/******/
hr {
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(
left,
rgba(0, 0, 0, 0),
$text-color,
rgba(0, 0, 0, 0)
);
background-image: -moz-linear-gradient(
left,
rgba(0, 0, 0, 0),
$text-color,
rgba(0, 0, 0, 0)
);
background-image: -ms-linear-gradient(
left,
rgba(0, 0, 0, 0),
$text-color,
rgba(0, 0, 0, 0)
);
background-image: -o-linear-gradient(
left,
rgba(0, 0, 0, 0),
$text-color,
rgba(0, 0, 0, 0)
);
}
/*** footer ***/
footer {
position: fixed;
bottom: 0;
right: 0;
height: 20px;
}
.poweredby {
font-family: "Arial Narrow", Arial;
font-size: 0.6em;
line-height: 0.6em;
padding: 0 5px;
}
// Grid for mentors
.mentorGridContainer {
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
grid-gap: 40px;
padding: 0 20px;
}
/*** media queries ***/
/* X-Small devices (phones, 480px and up) */
@media (min-width: 480px) {
/* wrapper stays 480px wide past 480px wide and is kept centered */
.wrapper {
width: 480px;
margin: 10% auto 0 auto;
}
/* Use two columns in grid if screen is at least 480px wide*/
.mentorGridContainer {
grid-template-columns: auto auto;
}
}
/* All other devices (768px and up) */
@media (min-width: 768px) {
/* past 768px the layout is changed and the wrapper has a fixed width of 680px
to accomodate both the header column and the content column */
.wrapper {
width: 850px;
height: 500px;
}
/* the header column stays left and has a dynamic width with all contents
aligned right */
header {
float: left;
width: 46%;
text-align: right;
}
.author-container h1,
.logo-container,
.tagline-container p {
text-align: right;
}
main {
width: 60%;
margin-left: 54%;
height: 100%;
}
#mentors-title {
font-size: 30px;
text-align: center;
}
#mentors-details {
text-align: center;
}
.prev-button {
padding-top: 40px;
font-size: small;
}
}