-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
280 lines (234 loc) · 5.85 KB
/
styles.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
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
body {
color: #d7dde8;
/** box-shadow: inset 0 0 20em 0.5em #000; **/
background-color: #313742;
background-image:
repeating-linear-gradient(120deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px),
repeating-linear-gradient(60deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px),
linear-gradient(60deg, rgba(0,0,0,.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.1) 75%, rgba(0,0,0,.1)),
linear-gradient(120deg, rgba(0,0,0,.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.1) 75%, rgba(0,0,0,.1));
background-size: 70px 120px;
}
body:after {
content: '';
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
background: radial-gradient(circle, transparent 30%, black 150%);
z-index: 1;
}
a, a:hover {
color: #d7dde8;
text-decoration: none;
}
h1 {
font-size: 5rem;
font-family: 'Abril Fatface', cursive;
}
h2 {
margin: 0;
font-weight: normal;
}
/** From https://ctrlq.org/code/19764-black-white-image-colored **/
img {
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
/* Firefox 10+, Firefox on Android */
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
/* IE 6-9 */
-moz-transition: all 0.5s ease-in;
-o-transition: all 0.5s ease-in;
-webkit-transition: all 0.5s ease-in;
transition: all 0.5s ease-in;
box-shadow: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23);
}
img:hover, img:active {
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0'/></filter></svg>#grayscale");
-webkit-filter: none;
filter: none;
transform: scale(1.02);
box-shadow: 0 19px 38px rgba(0,0,0,.3), 0 15px 12px rgba(0,0,0,.22);
}
main {
display: none;
z-index: 2;
}
section {
padding: 0 3rem;
background-position: center;
background-size: cover;
}
section.has-slides {
text-align: center;
}
section .fp-slide img {
max-width: 85%;
max-height: 85%;
}
.fp-controlArrow {
opacity: 0.5;
}
.fp-controlArrow:hover {
opacity: 1;
}
#fp-nav.right {
bottom: 15px;
right: 10px;
top: auto;
}
#fp-nav ul li a span, .fp-slidesNav ul li a span {
background-color: #FFF;
}
section .content {
position: absolute;
top: 0;
left: 0;
right: 0;
padding: 20px;
z-index: 3;
background-color: rgba(0,0,0,0.3);
}
section.intro {
/** background-color: #313742; **/
/**
background-color: #111515;
background-image: linear-gradient(160deg, #111515 0%, #5c8e88 100%);
**/
}
section.intro h1 {
}
section.intro img {
max-width: 100%;
max-height: 100%;
}
section.intro ul {
opacity: 0.7;
list-style: none;
padding: 0;
}
section.intro strong {
opacity: 1;
color: #FFF;
}
section.birth {
/** background-color: #1e2127; **/
/**
background-color: #730e32;
background-image: linear-gradient(19deg, #730e32 0%, #1e2127 75%);
**/
}
section.release {
background-image: url(photos/release.jpg);
}
section.release .content {
bottom: 0;
top: auto;
}
section.kids {
/**
background-color: #1f1c2c;
background-image: linear-gradient(0deg, #1f1c2c 0%, #928dab 100%);
**/
}
section.kids .row {
max-height: 80vh;
overflow: hidden;
margin: 0;
}
section.kids .row div {
overflow-x: hidden;
margin: 5px;
transition: all 0.5s ease-in;
}
section.kids .row div:hover {
transform: scale(1.02);
}
section.kids .row img {
height: 100%;
margin-left: 50%;
transform: translateX(-50%);
}
section.bethany {
background-image: url(photos/bethany1.jpg);
}
section.baptism {
background-image: url(photos/baptism.jpg);
}
section.together {
background-image: url(photos/together.jpg);
}
section.adoption {
text-align: center;
}
section.adoption img {
max-height: 60vh;
max-width: 100%;
}
section.adoption .row img {
max-height: 30vh;
}
/** From https://codepen.io/anon/pen/mqeGVj **/
.arrows {
position: relative;
/**/
width: 15px;
height: 15px;
display: inline-block;
}
.arrows:before {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-left: 5px solid rgba(255, 255, 255, 0.7);
border-bottom: 5px solid rgba(255, 255, 255, 0.7);
transform: translate(5px, 20px) rotate(-45deg);
animation: arrows 5s linear infinite;
}
.arrows:after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-left: 5px solid rgba(255, 255, 255, 0.7);
border-bottom: 5px solid rgba(255, 255, 255, 0.7);
transform: translate(10px, 0px) rotate(-45deg);
animation: arrows 5s linear infinite -2.5s;
}
@keyframes arrows {
0% {
border-left: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
transform: translate(-2.5px, -10px) rotate(-45deg);
}
10%, 90% {
border-left: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
}
50% {
border-left: 5px solid rgba(255, 255, 255, 0.7);
border-bottom: 5px solid rgba(255, 255, 255, 0.7);
transform: translate(-2.5px, 0px) rotate(-45deg);
}
100% {
border-left: 5px solid rgba(255, 255, 255, 0);
border-bottom: 5px solid rgba(255, 255, 255, 0);
transform: translate(-2.5px, 10px) rotate(-45deg);
}
}
@media (max-width: 768px) {
h1 {
font-size: 3rem;
}
h2 {
font-size: 1.5rem;
}
.lead {
font-size: 1rem;
}
}
@media (max-width: 576px) {
section.kids .row img, section.adoption img, section.adoption .row img {
max-height: 18vh;
}
}