-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.sass
201 lines (157 loc) · 4.01 KB
/
index.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
$base-color: #0099CC
$header-color: #005BBF
html
font-family: 'Open Sans', 'Arial', sans-serif
font-size: 100%
body
margin: 0
padding: 0
a
color: $base-color
text-decoration: none
header
position: relative
picture
filter: sepia(75%) hue-rotate(160deg) saturate(300%) brightness(50%)
source
width: 100%
min-height: 250px
height: auto
object-fit: cover
img
width: 100%
min-height: 250px
height: auto
object-fit: cover
.attribution
position: absolute
right: 16px
bottom: 16px
color: white
font-family: 'Noto Serif', 'Times New Roman', serif
font-style: italic
font-size: 0.75em
.content
position: absolute
top: 0
left: 0
width: 100%
height: 100%
min-height: 250px
display: flex
align-items: center
gap: 6em
img
height: 128px
padding-left: 4em
div
width: 100%
padding-right: 6em
h1
max-width: 1em
a
font-family: 'Red Hat Display', 'Helvetica', sans-serif
font-weight: 700
font-size: 2em
-webkit-text-stroke: 1px black
text-stroke: 1px black
h2
font-family: 'Red Hat Display', 'Helvetica', sans-serif
font-weight: 400
font-size: 1.666em
color: #fcfcfcfc
text-shadow: 0 2px #00000080
@media only screen and (max-width: 768px)
.attribution
font-size: 0.6em
.content
gap: 2em
img
height: 92px
padding-left: 2em
div
width: 100%
padding-right: 2em
h1 a
font-size: 1em
h2
font-size: 1em
main
margin: 0
padding: 2em 15%
@media only screen and (max-width: 768px)
main
padding: 2em
.about
margin-bottom: 4em
p
margin: 0
padding: 0
font-size: 1em
padding-block: 1.5em
.grid_section
margin-bottom: 6em
h2
font-family: 'Red Hat Display', 'Helvetica', sans-serif
font-size: 2em
color: $header-color
.grid
display: flex
flex-wrap: wrap
article
border-radius: 20px
overflow: hidden
a
display: flex
align-items: center
justify-content: center
position: relative
width: 400px
height: 350px
img
width: 100%
transition: transform 0.25s
border-radius: inherit
div
width: 100%
opacity: 0
transition: opacity 0.25s
position: absolute
left: 0
bottom: 0
color: white
background-color: #000000a0
padding: 1em
h3
font-size: 1.25em
p
font-size: 1em
article:hover
img
transform: scale(1.25)
div
opacity: 1
@media only screen and (max-width: 768px)
.grid article a
width: 100%
flex-direction: column
div
position: relative
opacity: 1
background-color: #606060
width: auto
.grid_center
justify-content: space-around
gap: 2em
.image_fit
height: 100%
object-fit: cover
.small_card
width: 200px !important
height: 150px !important
footer
margin: 0
padding: 6em 20%
p
font-size: 0.85em
padding-bottom: 2em