forked from daancsc/DACSC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.sass
287 lines (223 loc) · 4.15 KB
/
style.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
282
283
284
285
286
287
@import "https://fonts.googleapis.com/css?family=Ubuntu+Mono"
@import "https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,500&display=swap&subset=chinese-traditional"
$font: 'Noto Sans TC', sans-serif
$mono: 'Ubuntu Mono', monospace
$background-color: #292929
$font-color: antiquewhite
$primary-color: #22c9b7
$noimportant-color: #595959
$footer-height: 6vh
$shadow: 0 4px 6px 0 rgba(0, 0, 0, .25)
a
color: $font-color
text-decoration: none
a i
font-size: 2.5em
color: #555555
margin-right: 1em
a i:hover
color: #888888 !important
body
font-family: $font
font-weight: 400
background-color: $background-color
color: $font-color
margin: 0
margin-bottom: $footer-height * 2
hr
border: none
border-top: 3px solid $primary-color
box-shadow: $shadow
padding: 0
width: 6em
strong
color: $primary-color
.bar
display: none
margin-right: 0.7em
.mono
font-family: $mono
.no-important
color: $noimportant-color
.section
padding: 0px
margin: 0px
clear: both
/* Column */
.col
display: block
background: #393939
margin: 1% 0 1% 2%
float: left
.col:first-child
margin-left: 0 !important
.col:hover
box-shadow: $shadow
/* Row */
.row:before, .row:after
content: ""
display: table
.row:after
clear: both
.row
zoom: 1
/* Grid */
.grid_1_of_3
width: 33%
.grid_1_of_4
width: 23.5%
.grid_2_of_4
width: 49%
.grid_3_of_4
width: 74.5%
.grid_4_of_4
width: 100%
.footer
position: fixed
bottom: 0
background-color: #333333
line-height: $footer-height
text-align: center
width: 100%
height: $footer-height
.cover
padding-top: 30vh
height: 40vh
.color
color: $primary-color
.navbar
align-items: center
justify-content: space-between
position: sticky
top: 0
background-color: $background-color
padding: 1em
padding-bottom: 0.5em
margin-left: 3vh
z-index: 9999
.dropdown
border-bottom: 1em solid $background-color
.dropdown div
display: none
position: absolute
background-color: #333333
margin-top: 0
text-align: center
width: 6em
.dropdown:hover div
overflow: hidden
box-shadow: $shadow
display: block
.logo
display: inline-block
width: 4em
vertical-align: middle
.container
position: relative
margin-left: 10vw
margin-right: 10vw
.title
font-size: 1.6em
margin-left: 0.8em
font-weight: 500
vertical-align: middle
.page-title
font-size: 2em
text-align: center
font-weight: 500
.nonphone
display: inline
.phone
display: none
.menu
margin-top: 0.8em
margin-right: 3vw
float: right
.card_short
font-size: 2em
text-align: center
.card_title
font-size: 1.2em
margin: 20px
text-align: left
.card_link
font-size: 0.7em
margin: 0
margin-left: 20px
float: left
text-align: left
.card_link i
margin: 0
margin-bottom: 1em
margin-right: 0.6em
.navbar a:hover
text-decoration: 2px solid $primary-color
.noselect
-webkit-touch-callout: none
-webkit-user-select: none
-khtml-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
#contact
margin-top: 2em
#menu
font-size: 0.8em
margin-right: 5vw
vertical-align: middle
#phonemenu
font-size: 1.3em
margin-left: 1em
margin-right: 1em
#phonemenu a
text-align: left
vertical-align: middle
text-decoration: none
#phonemenu i
font-size: 1em
margin-left: auto
margin-right: 0
text-align: right
#phonemenu p
display: flex
align-items: center
#typed, .typed-cursor
font-size: 3em
.jg-spinner span
background-color: $primary-color !important
@media only screen and (max-width: 850px)
.bar
display: block
font-size: 1.5em
color: $font-color
margin-top: 1.5em
float: right
.menu
display: none
@media only screen and (max-width: 800px)
.col
margin: 1% 0 5% 0%
[class*='grid_']
width: 100%
@media only screen and (max-width: 500px)
.bar
margin-top: 0.7em
.cover
padding-top: 20%
height: 40vh
.footer
font-size: 0.8em
.logo
width: 3em
.navbar
padding: 0
padding: 1em
padding-bottom: 0.5em
margin-left: 0
.nonphone
display: none
.phone
display: inline
@media only screen and (max-width: 300px)
.title
display: none