-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
153 lines (131 loc) · 2.55 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
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Ubuntu', sans-serif;
}
header{
position: relative;
width: 100%;
padding: 30px 100px;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo{
position: relative;
color: #222;
text-decoration: none;
font-size: 2em;
font-weight: 700;
}
.group{
position: relative;
display: flex;
}
.group .navigation,.group .action{
display: flex;
justify-content: center;
align-items: center;
}
.group ul li{
list-style: none;
}
.group ul li a{
color: #222;
text-decoration: none;
margin-left: 30px;
}
.group ul li a:hover {
color: #ff5a26;
}
.group .action {
margin-left: 20px;
}
.group .action li a{
font-size: 1.25em;
}
.banner{
position: relative;
width: 100%;
padding: 0 100px;
}
.banner .bg {
position: relative;
width: 100%;
height: 75vh;
background: #555;
display: flex;
justify-content: center;
align-items: center;
}
.cover {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.content {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.content h2{
position: relative;
color: #fff;
font-size: 6em;
}
.btn{
display: inline-block;
background: #ff5a26;
color: #fff;
padding: 20px 40px;
text-decoration: none;
font-size: 1.1em;
margin-top: 20px;
letter-spacing: 2px;
}
.searchBox{
position: absolute;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
background: #fff;
padding: 30px 50px;
transform: translateY(50%);
box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.searchBox .inputBx{
margin: 0 20px;
}
.searchBox .inputBx p{
color: #222;
margin-bottom: 10px;
}
.searchBox .inputBx p.white{
color: #fff;
}
.searchBox .inputBx input{
border: 1px solid #222;
outline: none;
padding: 10px;
width: 100%;
min-width: 150px;
font-size: 1.1em;
}
.searchBox .inputBx input[type="Submit"]{
outline: none;
border: none;
background: #ff5a26;
color: #fff;
cursor: pointer;
letter-spacing: 2px;
padding: 13px;
}