-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout_page.css
226 lines (190 loc) · 3.95 KB
/
about_page.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
/* Body */
html {
font-size: 100%;
}
section {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 0 7% 0 7%;
}
img {
max-width:100%;
}
h1 {
font-size: 6vw;
font-family: 'Zilla Slab', serif;
/* animation */
background-image: linear-gradient(
90deg,
yellow ,
green 7%,
black,
black,
green 93%,
yellow
);
background-size: 200% auto;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 5s linear infinite;
}
/* h1 animation */
@keyframes textclip {
to {
background-position: -200% center;
}
}
a {
text-decoration: none;
}
h2{
font-size: 5.3vw;
font-family: 'Zilla Slab', serif;
color: blue;
}
h4 {
font-size: 2.3vw;
font-family: 'Zilla Slab', serif;
color: rgb(255, 0, 0);
white-space: nowrap;
}
.title {
font-style: italic;
}
p {
font-size: 3.8vw;
font-family: 'Roboto Condensed', sans-serif;
color: #000;
align-self: center;
text-align: center;
background-color: transparent;
position:relative;
}
body {
padding-top: 4%;
background-color: #ffee00;
}
/* navigation */
.sidenav2 {
margin-top: -20px;
margin-left: 0px;
width: 20vw; /* Set the width of the sidebar */
position: absolute;
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: #ff306e;
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 20px;
}
/* The navigation menu links */
.sidenav2 a {
display:inline;
padding: 0 px 8px 6px 1px;
text-decoration: none;
line-height: 2em;
text-align:center;
display: block;
}
.home:hover {
background-color: #FFF;
color: #0011ff;
}
.home {
font-size: 4vw;
font-family: 'Zilla Slab', serif;
background-color: #f00;
color: #fff;
}
.insta {
font-size: 4vw;
font-family: 'Zilla Slab', serif;
background-color: #0011ff;
color: #ffee00;
}
.insta:hover {
background-color: green;
color: white;
}
/* Media queries */
/* small phone */
@media screen and (max-width: 520px){
p {
font-size: 7vw;
}
h4 {
font-size: 3vw;
}
h1 {
font-size: 5vw;
}
.insta{
font-size: 5vw;
}
.home{
font-size: 5vw;
}
.sidenav2{
width: 16vw;
}
}
/* desktop */
@media only screen and (min-width: 990px){
p {
font-size: 2vw;
}
h4 {
font-size: 2vw;
}
img {
max-width: 80%;
}
.insta{
font-size: 2vw;
}
.home{
font-size: 2vw;
}
.sidenav2{
width: 12vw;
}
}
/* ticker code below */
/* (A) STANDARD ROW HEIGHT */
.vwrap, .vitem {
height: 40px;
line-height: 40px;
width: 100%;
}
/* (B) FIXED WRAPPER */
.vwrap {
overflow: hidden; /* HIDE SCROLL BAR */
background: radial-gradient(rgb(5, 54, 5), rgb(28, 252, 28));
filter: drop-shadow(0 0 0.75rem rgb(12, 255, 12));
color: yellow;
padding: .5vw;
font-size: 3vw;
font-family: 'Roboto Condensed', sans-serif;
text-transform: uppercase;
}
/* (C) TICKER ITEMS */
.vitem { text-align: center; }
/* (D) ANIMATION - MOVE ITEMS FROM TOP TO BOTTOM */
/* CHANGE KEYFRAMES IF YOU ADD/REMOVE ITEMS */
.vmove { position: relative; }
@keyframes tickerv {
0% { bottom: 0; } /* FIRST ITEM */
30% { bottom: 40px; } /* SECOND ITEM */
60% { bottom: 80px; } /* THIRD ITEM */
90% { bottom: 120px; } /* FORTH ITEM */
100% { bottom: 0; } /* BACK TO FIRST */
}
.vmove {
animation-name: tickerv;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(1, 0, .5, 0);
}
.vmove:hover { animation-play-state: paused; }