-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-accomp.css
222 lines (195 loc) · 5.09 KB
/
style-accomp.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
:root {
--background-color: #A6AEA0;
--white-color: #FAF8F2;
--brown-color: #4C3831;
--aqua-color: #6E98A2;
--deepblue-color: #343C60;
}
* {
padding: 0;
margin: 0;
}
body, html {
height: 100vh;
overflow: hidden;
}
.title {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: bold;
color: grey;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 1px var(--white-color);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: wrap;
text-align: center;
width: 100%;
height: 100vh;
font-size: 2.3em;
transform: translateY(-30%);
padding-bottom: 100px;
}
.arrow-nav {
display: inline-block;
position: relative;
left: 50%;
transform: translateX(-50%);
animation: fadeIn 2s;
}
.arrow-right {
transform: translateY(-600%);
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.3);
}
.arrow-right:hover {
stroke: black;
background-color: white;
transition: 0.3s;
}
.arrow-left {
transform: translateY(-600%);
margin-right: 400px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 600px) {
.arrow-left {
margin-right: 100px;
}
}
@media only screen and (max-width: 465px) {
.arrow-left {
margin-top: 80px;
}
}
.arrow-left:hover {
stroke: black;
background-color: white;
transition: 0.3s;
}
.bg {
background-image: url("assets/abe.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-attachment: fixed;
height: 100vh;
width: 100%;
position: absolute;
top: 0;
left: 0;
}
/* Position text in the middle of the page/image */
.bg-text {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.6); /* Black w/opacity/see-through */
color: var(--white-color);
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: 100;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 80%;
padding: 50px;
animation: fadeIn 2.5s;
}
.source-info, .source-info:visited, .source-info:active, .source-info:link {
text-decoration: none;
font-style: italic;
color: var(--white-color);
word-wrap: break-word;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
#kenburns-top {
-webkit-animation: kenburns-top 2s ease-out both;
animation: kenburns-top 2s ease-out both;
}
/* ----------------------------------------------
* Generated by Animista on 2020-7-18 20:51:35
* Licensed under FreeBSD License.
* See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
/**
* ----------------------------------------
* animation kenburns-top
* ----------------------------------------
*/
@-webkit-keyframes kenburns-top {
0% {
-webkit-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
-webkit-transform-origin: 50% 16%;
transform-origin: 50% 16%;
}
100% {
-webkit-transform: scale(1.25) translateY(-15px);
transform: scale(1.25) translateY(-15px);
-webkit-transform-origin: top;
transform-origin: top;
}
}
@keyframes kenburns-top {
0% {
-webkit-transform: scale(1) translateY(0);
transform: scale(1) translateY(0);
-webkit-transform-origin: 50% 16%;
transform-origin: 50% 16%;
}
100% {
-webkit-transform: scale(1.25) translateY(-15px);
transform: scale(1.25) translateY(-15px);
-webkit-transform-origin: top;
transform-origin: top;
}
}
.tracking-in-expand {
-webkit-animation: tracking-in-expand 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
animation: tracking-in-expand 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
/* ----------------------------------------------
* Generated by Animista on 2020-7-18 22:12:5
* Licensed under FreeBSD License.
* See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
/**
* ----------------------------------------
* animation tracking-in-expand
* ----------------------------------------
*/
@-webkit-keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
@keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}