-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.sass
281 lines (239 loc) · 5.66 KB
/
styles.sass
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
body
color: beige
header
background-color: rgba(126, 164, 146, 1)
width: 60vw
height: auto
margin: 20px auto 10px auto
border: 5px double lightblue
box-sizing: border-box
.container
height: 100%
display: grid
grid-template-columns: 1fr 1fr
align-items: center
padding: 0 10px
.last-updated
text-align: center
font-style: italic
font-size: 18px
font-weight: 700
color: rgba(0, 0, 0, 0.7)
.nav-bar
justify-self: flex-end
font-size: 22px
font-weight: 900
color: rgba(255, 255, 255, 0.6)
a
text-decoration: none
color: rgba(255, 255, 255, 0.6)
margin: 0 15px
.underline
text-decoration: underline
text-decoration-color: rgba(255, 255, 255, 0.6)
text-underline-offset: 0.3em
text-decoration-thickness: 2px
section
display: none
section.active
display: block
.container
width: 60vw
background-color: rgba(126, 164, 146, 1)
margin: 0 auto
box-shadow: 10px 15px 20px 5px lightblue, -10px 10px 15px 5px lightgreen
#about-me
.container
min-height: 560px
display: grid
grid-template-columns: 1fr 1fr
align-items: center
justify-items: center
padding: 0 10px
box-sizing: border-box
.image-container
max-height: 90%
padding: 10px
box-sizing: border-box
display: flex
justify-content: center
img
max-width: 100%
height: 480px
.intro-text
min-height: 90%
padding: 0 20px
box-sizing: border-box
color: rgba(0, 0, 0, 0.85)
display: grid
align-items: center
p
margin: 0 0 15px 0
font-size: 18px
text-align: justify
line-height: 28px
#blog
.container
height: 580px
display: flex
flex-direction: column
justify-content: flex-end
padding-bottom: 30px
box-sizing: border-box
h3
margin: 10px 20px
text-transform: uppercase
color: black
.interests
.course
display: flex
flex-direction: row
align-items: center
padding: 5px 20px
color: black
a
text-decoration: none
color: rgba(255, 255, 255, 0.6)
img
margin-right: 20px
.card
height: 80px
color: rgba(0, 0, 0, 0.9)
padding: 0 20px
display: flex
flex-direction: row
justify-content: space-between
align-items: center
border-top: 1px solid black
time
font-style: italic
color: rgba(0, 0, 0, 0.7)
font-weight: 700
a
color: rgba(255, 255, 255, 0.6)
p
width: 85%
time
width: 10%
#projects
.container
min-height: 580px
display: flex
flex-direction: column
justify-content: center
align-items: center
.card
padding: 15px
color: black
display: flex
flex-direction: column
width: 80%
margin: 10px
border: 2px solid lightgrey
.header
display: flex
justify-content: space-between
align-items: center
a
text-decoration: none
color: black
p
margin: 8px
text-align: justify
.underline
text-decoration: underline !important
text-decoration-color: rgba(255, 255, 255, 0.6) !important
text-underline-offset: 0.3em
text-decoration-thickness: 2px
.flower
width: 15px
height: 15px
border-radius: 50%
z-index: 1
position: absolute
top: -20%
.flower:hover
transform: scale(1.5)
.petal
width: 15px
height: 15px
border-radius: 50%
z-index: -1
.petal1
position: relative
left: -70%
top: 20%
.petal2
position: relative
top: -18%
left: -5%
.petal3
position: relative
top: -170%
left: 72%
.petal4
position: relative
top: -363%
left: -30%
.petal5
position: relative
top: -450%
left: 53%
@mixin flower-styles($background-color, $top, $placement, $ratio)
position: absolute
background-color: $background-color
top: $top
@if $placement == 'left'
left: $ratio
@else if $placement == 'right'
right: $ratio
$flower-height: 20%
$flower-one-top: 7.5%
$flower-two-top: calc(#{$flower-one-top} + #{$flower-height})
$flower-three-top: calc(#{$flower-one-top} + 2 * #{$flower-height})
$flower-four-top: calc(#{$flower-one-top} + 3 * #{$flower-height})
$flower-five-top: calc(#{$flower-one-top} + 4 * #{$flower-height})
$flower-top-side: 5%
$flower-two-four-side: 13.5%
$flower-five-side: 7.5%
$flower-bottom-side: 5%
#flower1
@include flower-styles(#D3D3D3, $flower-one-top, left, $flower-top-side)
#flower2
@include flower-styles(#FFF0F5, $flower-two-top, left, $flower-two-four-side)
#flower3
@include flower-styles(violet, $flower-three-top, left, $flower-five-side)
#flower4
@include flower-styles(#E0FFFF, $flower-four-top, left, $flower-two-four-side)
#flower5
@include flower-styles(red, $flower-five-top, left, $flower-bottom-side)
#flower6
@include flower-styles(cyan, $flower-one-top, right, $flower-top-side)
#flower7
@include flower-styles(#DEB887, $flower-two-top, right, $flower-two-four-side)
#flower8
@include flower-styles(#F0FFF0, $flower-three-top, right, $flower-five-side)
#flower9
@include flower-styles(magenta, $flower-four-top, right, $flower-two-four-side)
#flower10
@include flower-styles(#FFE4E1, $flower-five-top, right, $flower-bottom-side)
.f1p
background-color: #48D1CC
.f2p
background-color: #FFB6C1
.f3p
background-color: #7B68EE
.f4p
background-color: #EEE8AA
.f5p
background-color: #D8BFD8
.f6p
background-color: #7B68EE
.f7p
background-color: #F5F5DC
.f8p
background-color: #FF69B4
.f9p
background-color: #E6E6FA
.f10p
background-color: #00BFFF