-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathabout_us.html
190 lines (172 loc) · 4.27 KB
/
about_us.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
<!DOCTYPE html>
<html>
<head>
<title>About Us</title>
<script src="https://kit.fontawesome.com/dbed6b6114.js" crossorigin="anonymous"></script>
<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:beige;
align-content: center;
min-height: 100vh;
}
section{
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 90vh;
width: 85vw;
margin: 0 auto;
}
.image{
background: url("https://github.com/prabinmagar/contact-page-html-css/blob/master/person.jpg?raw=true") center/cover no-repeat;
}
.content{
background: #fff;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.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;
}
.links{
margin: 15px 0;
}
.links li{
border: 0.5px solid #777;
list-style: none;
border-radius: 5px;
padding: 10px 15px;
width: 160px;
text-align: center;
}
.links li a{
text-transform: uppercase;
color: #777;
text-decoration: none;
}
.links li:hover{
border-color: #06d6a0;
}
.links li:hover a{
color :#06d6a0;
}
.vertical-line{
height: 30px;
width: 0.5px;
background: #777;
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: #06d6a0;
}
/*******/
@media(max-width: 992px){
section{
grid-template-columns: 1fr;
width: 100%;
}
.image{
height: 100vh;
}
.content{
height: 100vh;
}
.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;
}
}
</style>
</head>
<body>
<section>
<div class = "image">
<!-- image here -->
</div>
<div class = "content">
<h2>About Us</h2>
<span><!-- line here --></span>
<p>Welcome to PawTrails. Shop on our website to avail exciting offers exclusively for your pet friend. Earn points and get Coupons for additional discounts. We deal in Dog Toys, Tasty Snacks, Collars , Leashes, Harness with latest designs that you and your pet will fall in love with. Want to stay in touch? No problem – the page also features useful links to social media pages, as well as our online shop.</p>
<ul class = "links">
<li><a href = "#">work</a></li>
<div class = "vertical-line"></div>
<li><a href = "#services">service</a></li>
<div class = "vertical-line"></div>
<li><a href = "contact_us.html">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>
</body>
</html>