Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
220 lines (190 loc) · 4.01 KB
/
Copy pathindex.css
File metadata and controls
220 lines (190 loc) · 4.01 KB
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
/* general definitions */
* {
box-sizing: border-box;
}
a{
color: #39f;
}
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-family: 'Open Sans', sans-serif;
font-weight: 100;
}
h1, h2 {
font-family: 'Open Sans', sans-serif;
position: absolute;
left: 50%;
top: 5vh;
transform: translateX(-50%);
color: black;
}
h1 {
font-size: 5vh
}
h2{
font-size: 3vh;
}
p {
max-width: 500px;
margin-left: 10px;
margin-right: 10px;
color: black;
}
.shadow {
text-shadow: 0 0 100px #000;
}
/*button style 1*/
.example_a {
color: #fff !important;
text-transform: uppercase;
text-decoration: none;
background: #316d2c;
padding: 20px;
border-radius: 5px;
display: inline-block;
border: none;
transition: all 0.4s ease 0s;
}
.example_a:hover {
background: #434343;
letter-spacing: 1px;
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
transition: all 0.4s ease 0s;
}
/*button style 2 vertical group*/
.btn-group button {
background-color: rgb(43, 97, 50); /* Green background */
border: 1px solid green; /* Green border */
color: white; /* White text */
text-decoration: none;
padding: 10px 24px; /* Some padding */
cursor: pointer; /* Pointer/hand icon */
width: 100%; /* Set a width if needed */
display: block; /* Make the buttons appear below each other */
}
.btn-group button:not(:last-child) {
border-bottom: none; /* Prevent double borders */
}
/* Add a background color on hover */
.btn-group button:hover {
background-color: #3e8e41;
}
/* the cover image */
#cover {
width: 100%;
height: 100%;
position: fixed;
}
#cover:before {
content: "";
background-image: url(https://tctechcrunch2011.files.wordpress.com/2015/04/codecode.jpg?w=738);
background-size: cover;
background-position: center;
widows: 100%;
height: 100%;
display: block;
filter: brightness(.65) contrast(1.5) sepia(.3);
}
/* page definitions */
.page {
width: 100%;
min-height: 100%;
z-index: 100;
position: relative;
margin: 0;
display: flex;
flex-wrap: wrap;
padding: 10vh;
padding-top: 20vh;
justify-content: center;
}
.page.varheight {
min-height: inherit;
}
/* first (cover-) page */
.page:nth-child(2) {
background-color: rgba(0,0,0,0) !important;
}
.page:nth-child(2) > h1 {
position: absolute;
top: 25vh;
left: -100vw;
transform: translate(-50%, -50%);
font-size: 10vw;
width: 70%;
color: black;
animation: slide 1s forwards;
}
.page:nth-child(2) > h2 {
position: absolute;
top: calc(25vh + 10vw);
left: -100vw;
transform: translateX(-50%);
font-size: 3.5vw;
width: 70%;
color: #fff;
animation: slide 1s forwards;
animation-delay: 1s;
}
@keyframes slide {
100% { left: 50%; }
}
.page:nth-child(2) > i {
position: absolute;
bottom: 10%;
left: 50%;
transform: translateX(-50%);
color: black;
font-size: 10vw;
font-weight: lighter;
opacity: 0;
animation: appear 1s forwards,
jump 5s linear alternate infinite;
animation-delay: 5s;
}
@keyframes appear {
100% { opacity: 1; }
}
@keyframes jump {
0% {bottom: 10%}
95% {bottom: 10%}
100% { bottom: 12% }
}
.page:nth-child(odd) {
background-color: #fff;
color: #fff;
}
.features > div {
padding-top: 5vh;
padding-bottom: 10vh;
padding: 5%;
width: 30%;
min-width: 250px;
text-align: left;
}
.features .fa {
display: block !important;
text-align: center;
padding-bottom: 10px;
font-size: 100px
}
.features > div > b {
font-weight: 900;
display: block;
font-size: 150%;
text-align: right;
padding-bottom: 15px;
}
.page:nth-child(even) {
background-color: #fff;
color: #fff;
}
#end {
color: #fff;
background-color: rgba(0,0,0,0) !important;
}