-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutus.html
209 lines (199 loc) · 6.45 KB
/
aboutus.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CaRs | About Us</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/dbed6b6114.js" crossorigin="anonymous"></script>
</head>
<body>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body{
font-family: 'Playfair Display', serif;
display: grid;
background-color: #4158D0;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
align-content: center;
min-height: 100vh;
}
section{
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 70vh;
width: 75vw;
margin: 0 auto;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 12px
}
.image{
background-color: #12192c;
display: flex;
border-radius: 12px 0 0 12px;
}
.image img{
height:50vh;
margin:50px auto
}
.content{
background-color: #12192c;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
border-radius: 0 12px 12px 0;
color: #fff;
}
.content h2{
text-transform: uppercase;
font-size: 36px;
letter-spacing: 6px;
opacity: 0.9;
}
.content span{
height: 0.5px;
width: 80px;
background: #777;
margin: 30px 0;
}
.content p{
padding-bottom: 15px;
font-weight: 300;
opacity: 0.7;
width: 60%;
text-align: center;
margin: 0 auto;
line-height: 1.7;
color:#ffffff
}
.links{
margin: 15px 0;
}
.links li{
border: 2px solid #4158D0;
list-style: none;
border-radius: 5px;
padding: 10px 15px;
width: 160px;
text-align: center;
}
.links li a{
text-transform: uppercase;
color: #fff;
text-decoration: none;
}
.links li:hover{
border-color: #C850C0;
}
.vertical-line{
height: 30px;
width: 3px;
background: #C850C0;
margin: 0 auto;
}
.icons{
display: flex;
padding: 15px 0;
}
.icons li{
display: block;
padding: 5px;
margin: 5px;
}
.icons li i{
font-size: 26px;
opacity: 0.8;
}
.icons li i:hover{
color: #C850C0;
cursor: pointer;
}
/*****************/
@media(max-width: 900px){
section{
grid-template-columns: 1fr;
width: 100%;
border-radius: none;
}
.image{
height: 100vh;
border-radius: none;
}
.content{
height: 100vh;
border-radius: none;
}
.content h2{
font-size: 20px;
margin-top: 50px;
}
.content span{
margin: 20px 0;
}
.content p{
font-size: 14px;
}
.links li a{
font-size: 14px;
}
.links{
margin: 5px 0;
}
.links li{
padding: 6px 10px;
}
.icons li i{
font-size: 15px;
}
}
.credit{
text-align: center;
color: #000;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.credit a{
text-decoration: none;
color:#000;
font-weight: bold;
}
</style>
<section>
<div class = "image">
<img src="https://cdn.pixabay.com/photo/2017/08/26/23/37/business-2684758__340.png">
</div>
<div class = "content">
<h2>About Us</h2>
<span><!-- line here --></span>
<p>We started this comapany to make people's Dream come true and Enjoy their life at full potential</p>
<ul class = "links">
<li><a href = "index.php">home</a></li>
<div class = "vertical-line"></div>
<li><a href = "#">service</a></li>
<div class = "vertical-line"></div>
<li><a href = "#">contact</a></li>
</ul>
<ul class = "icons">
<li>
<i class = "fa fa-twitter"></i>
</li>
<li>
<i class = "fa fa-facebook"></i>
</li>
<li>
<i class = "fa fa-github"></i>
</li>
<li>
<i class = "fa fa-pinterest"></i>
</li>
</ul>
</div>
</section><br><br>
</body>
</html>