-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
186 lines (145 loc) · 4.44 KB
/
style.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
html {
height: 100%;
scroll-behavior: smooth;
}
body {
background: rgb(58, 58, 58);
height: 100%;
font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
}
.row {
display: flex;
background: red;
}
.column {
flex: 33.33%;
padding: 75px;
color: white;
font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
text-align: center;
}
.row img.img {
background: white;
}
/* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-box {
background-color: transparent;
width: 100%;
height: 100%;
border: 10px solid #f1f1f1;
perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
/* This container is needed to position the front and back side */
.flip-box-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-box-front, .flip-box-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}
/* Style the front side */
.flip-box-front {
background-color: #bbb;
color: black;
}
/* Style the back side */
.flip-box-back {
background-color: dodgerblue;
color: white;
transform: rotateY(180deg);
}
.hero-image { /** Linear-gradient adds a dark background effect */
background-image: linear-gradient(rgba(0, 0, 0, 0.5),
rgba(0, 0, 0, 0.5)),
url("/images/pex3.jpeg");
/* Using % unit as more responsive over definite pixel unit */
height: 100%;
/** Responsive scaling */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.hero-text {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center;
position: absolute;
top: 20%;
left: 50%;
color: white;
transform: translate(-50%, -50%);
}
.flex-box {
padding: 20px;
display: flex;
flex-direction: row;
height: 25%;
}
.flex-box div {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
/*color: white; */
/*background: rgb(221, 166, 166); */
margin: auto;
padding: 30px;
width: 50px;
height: 50px;
}
.flex-box.triple {
background: white;
color: black;
}
.flex-box.lower {
background: white;
color: black;
}
/*
section.features figure {
margin: auto;
width: 100px;
}
.features figure img {
width: 200px;
border-radius: 10px;
}
footer.main {
background: black;
padding: 10px 20px;
}
*/
ul.nav {
float: right;
list-style-type: none;
}
li {
display: inline-block;
padding: 20px;
margin-right: 0px;
margin-left: 5px;
padding-left: 0px;
}
a {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-decoration: none;
color: white;
}
a:hover {
color: red;
transition: 1s ease;
}
h1:hover {
color: red;
transition: 2s ease-in;
transition: 1s ease-out;
}