-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
175 lines (163 loc) · 2.61 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
body, ul, li, h1, h2, a{
margin: 0;
padding: 0;
font-family: Arial;
}
header{
background-color: #5c32f6;
padding: 20px;
text-align: center;
position: fixed;
width: 100%;
z-index: 1;
top: 0;
left: 0;
}
header h1{
color: white;
border: 8px solid white;
padding: 6px 12px;
display: inline-block;
border-radius: 36px;
}
.banner{
position: relative;
}
.banner img{
max-width: 100%;
}
.banner .welcome{
background-color: #fe2b14;
color: white
padding: 30px;
position: absolute;
left: 0;
top: 180px;
}
.banner h2{
font-size: 75px;
}
.banner h2 span{
font-size: 1.3em;
}
nav{
background-color: #f4f4f4;
padding: 20px;
position: sticky;
top: 95px;
}
nav ul{
white-space: nowrap;
max-width: 1200px;
margin: 0 auto;
}
nav li{
width: 25%;
display: inline-block;
font-size: 24px;
}
nav li a{
text-decoration: none;
color: #4b4b4b;
}
nav li a.join{
color: #f63232;
}
main{
max-width: 100%;
width: 1200px;
margin: 80px auto;
padding: 0 40px;
box-sizing: border-box;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
font-family: arial;
}
.price {
color: grey;
font-size: 22px;
}
.card button {
border: none;
outline: 0;
padding: 12px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
.card button:hover {
opacity: 0.7;
}
article h2{
color: #f63232;
font: size 48px;
}
article p{
line-height: 2em;
color: #4b4b4b;
}
.images{
text-align: center;
margin: 10px 0;
white-space: nowrap;
float: left;
}
.images li{
display: flexbox;
width: 10%;
margin: 20px 5%;
padding: 5px;
}
.images li img{
max-width: 50%;
}
section.join{
background: #f4f4f4;
text-align: center;
padding: 10px 20px;
color: #4b4b4b;
}
.join h2{
font-size: 36px;
}
.join p{
line-height: 2em;
color: #4b4b4b;
text-align: center;
}
form input{
margin: 5px 0;
padding: 10px 30px;
font-size: 20px;
border-radius: 25px;
border: 1px solid white;
text-align: right;
}
footer{
background: #f63232;
columns: white;
padding: 5px;
text-align: center;
}
/* pseudo classes */
nav li a:hover{
text-decoration: underline;
}
.images li:hover{
position: relative;
top: -4px;
}
form input:focus{
border: 4px dashed #4b4b4b;
outline: none;
}
form input:valid{
border: 4px solid #71d300;
}