-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
228 lines (203 loc) · 4.09 KB
/
style.css
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
220
221
222
223
224
225
226
227
228
html {
overflow-x: hidden;
overflow-y: auto;
height: 100vh;
}
body {
overflow-x: hidden;
overflow-y: auto;
position: relative;
}
nav {
flex-direction: row !important;
flex-wrap: nowrap !important;
}
.container {
/* display: flex;
justify-content: center;
height: 100vh; */
}
/* used to space empty abolute elements */
.scroll-container {
justify-content: center;
height: 100vh;
z-index: 2;
}
.class-title {
display: flex;
flex-direction: column;
justify-content: center;
width: 100vw;
position: absolute;
background-color: #D4EBF8;
z-index: 4;
box-shadow: 0px 5px 10px gray;
margin: 0px;
align-content: center;
text-align: center;
padding-bottom: 0px;
}
.big-circle{
background-image: url("https://cdn.glitch.global/79e62202-998e-4e6f-92a5-d89ab595ece8/techcircle3.jpg?v=1733190540360");
background-repeat: no-repeat;
background-size: cover;
/* background-color:red; */
height: 140vw;
width: 140vw;
left: 130vw;
/* Top 50 but add 20 for offset title text */
top: 70vh;
margin-top: -70vw;
margin-left: -70vw;
position: absolute;
border-radius: 100%;
transition: transform 1000ms;
z-index: 2;
border: solid black 1px;
box-shadow: 0px 0px 10px gray;
}
.rotate-buttons {
position: absolute;
/* top 50vh but add 20vh for offset */
top: 70vh;
left: 55vw;
z-index: 5;
margin-top: -110px;
}
.up-arrow {
font-size: 0px; line-height: 0%; width: 0px;
border-left: 25px solid transparent;
border-right: 25px solid transparent;
border-bottom: 60px solid black;
transition: border 200ms;
}
.down-arrow {
font-size: 0px; line-height: 0%; width: 0px;
border-top: 60px solid black;
border-left: 25px solid transparent;
border-right: 25px solid transparent;
transition: border 200ms;
}
.up-arrow:hover {
border-bottom: 60px solid gold;
}
.down-arrow:hover {
border-top: 60px solid gold;
}
.headshot-img-box {
position: absolute;
background-color: royalblue;
z-index: 2;
height: 20vw;
width: 20vw;
margin-top: -10vw;
margin-left: -10vw;
border-radius: 100%;
transition: transform 1000ms, box-shadow 300ms;
background-size: cover;
background-position: center;
box-shadow: 0px 0px 10px gray;
}
.headshot-img-box:hover {
box-shadow: 0px 0px 30px goldenrod;
}
.previous-button {
position: absolute;
z-index: 2;
height: 100px;
width: 50px;
}
.next-button {
position: absolute;
z-index: 2;
height: 100px;
width: 50px;
}
.headshot-img {
object-fit: cover;
height: 100%;
border-radius: 100%;
/* aspect-ratio: 1/1; */
}
.student-links {
display: flex;
flex-direction: column;
justify-content: center;
}
.site-link-container {
display: flex;
justify-content: center;
align-content: center;
}
.icon {
max-width: 150px;
max-height: 150px;
}
.uni {
height: 20rem;
width: 20rem !important;
object-fit: cover;
}
.student {
width: 24rem !important;
}
.students{
color: black;
background-color: #D4EBF8;
margin-bottom: 15px;
}
.btn {
margin: 4em 2em;
background-color: #0173CC;
}
.navbar-nav {
width: 20rem;
}
.about-text {
font-size: calc(0.75rem + 0.5vw);
}
.title-text {
font-size: calc(1.25rem + 0.2vw);
font-weight: bold;
}
.header-text {
font-size: calc(1.15rem + 0.2vw);
font-weight: bold;
}
.large-title-text {
font-size: calc(4rem + 0.2vw);
}
/* Mobile view for page is still a bit cooked but ehh */
@media screen and (max-width: 500px) {
.big-circle {
height: calc(200vw + 10vh);
width: calc(200vw + 10vh);
top: calc(-30vw + 10vh);
left: 50vw;
margin-top: calc(-100vw - 5vh);
margin-left: calc(-100vw - 5vh);
transform: rotate(-90deg);
}
.headshot-img-box {
height: 30vw;
width: 30vw;
margin-top: -15vw;
margin-left: -15vw;
border-radius: 100%;
transition: transform 1000ms;
background-size: cover;
background-position: center;
transform: rotate(90deg);
}
.large-title-text {
font-size: calc(2rem + 2vw);
}
.rotate-buttons {
position: absolute;
/* top 50vh but add 20vh for offset */
top: 30vh;
left: 50vw;
z-index: 5;
margin-top: 0px;
}
}