forked from chaseWilliams/weather_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
123 lines (109 loc) · 1.97 KB
/
main.css
File metadata and controls
123 lines (109 loc) · 1.97 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
html {
margin: 0;
padding: 0;
font-family: Tahoma;
}
body {
background-repeat: no-repeat;
background-size: 100%;
margin: 0;
padding: 0;
}
span {
color: #3CC149;
background-color: #0D1F22;
width: 30wh;
}
b {
font-style: italic;
font-weight: normal;
}
em {
font-size: 4rem;
color: #3CC149;
}
.flex-container {
padding: 0;
margin: 0;
list-style: none;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around;
}
.flex-division {
background-color: red;
width: 6px;
height: 500px;
flex-basis: 1;
}
.flex-item {
margin-top: 10px;
line-height: 150px;
text-align: center;
}
.top {
padding-bottom: 0;
}
#first {
padding-top: 70%;
}
h3 {
font-family: cursive;
font-size: 2rem;
}
.header {
font-size: 6rem;
text-align: center;
}
.parallax {
height: 500px; /* fallback for older browsers */
height: 70vh;
overflow-x: hidden;
overflow-y: auto;
-webkit-perspective: 300px;
perspective: 300px;
font-size: 2em;
text-align: center;
}
.parallax__group {
position: relative;
height: 500px; /* fallback for older browsers */
height: 100vh;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.parallax__layer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.parallax__layer--fore {
-webkit-transform: translateZ(90px) scale(.7);
transform: translateZ(90px) scale(.7);
z-index: 1;
}
.parallax__layer--base {
-webkit-transform: translateZ(0);
transform: translateZ(0);
z-index: 4;
background: #C1DBE3;
width: 100wh;
color: #2c0b05;
}
.parallax__layer--back {
-webkit-transform: translateZ(-300px) scale(2);
transform: translateZ(-300px) scale(2);
z-index: 3;
font-size: 7rem;
}
.parallax__layer--deep {
-webkit-transform: translateZ(-600px) scale(3);
transform: translateZ(-600px) scale(3);
z-index: 2;
}