forked from divyansh-tripathi7/websiteBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
152 lines (129 loc) · 2.48 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.section-one {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url(https://images.unsplash.com/photo-1515612148533-6247582c12c7?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2NjE4MzU4NzQ&ixlib=rb-1.2.1&q=80);
background-size: cover;
background-position: center;
filter: brightness();
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.container {
text-align: center;
color: white;
}
h1 {
text-transform: uppercase;
letter-spacing: 5px;
font-size: 4rem;
font-weight: 400;
}
p {
font-size: 1.15rem;
letter-spacing: 3px;
margin: 20px 0 40px;
}
.home-button {
color: white;
text-decoration: none;
border: 2px white solid;
padding: 10px 15px;
}
.home-button:hover,
.home-button:focus {
background: hsl(0, 100%, 100%, .2);
outline: none;
}
.section-two {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
}
.container-two {
display: flex;
padding: 50px;
gap: 20px;
width: 100%;
}
.content h1 {
font-size: 2.75rem;
}
.content h1::after {
content: '';
display: block;
width: 100%;
height: 5px;
background: #D1A370;
}
.content p {
font-size: 1.1rem;
letter-spacing: 2px;
}
.content-image img {
width: 300px;
object-fit: scale-down;
}
@media (max-width: 700px) {
.section-two {
height: 100%;
}
.container-two {
flex-direction: column;
height: 100%;
}
}
footer {
width: 100%;
background: #212121;
color: white;
padding: 25px;
text-align: center;
}
.footer-container {
display: flex;
justify-content: center;
}
.footer-content {
margin: 0 50px 0;
}
.footer-content svg {
width: 50px;
fill: white;
}
.footer-content h6 {
font-size: 1.2rem;
font-weight: lighter;
margin-bottom: 25px;
color: #D1A370;
text-transform: uppercase;
letter-spacing: 2px;
}
.footer-content ul {
list-style: none;
}
.footer-content ul li {
margin: 25px 0;
}
.footer-content ul li a {
text-decoration: none;
color: white;
}
.footer-content ul li a:hover,
.footer-content ul li a:focus {
color: hsl(32, 51%, 63%, 0.7);
}
@media (max-width: 600px) {
.footer-container {
flex-direction: column;
}
}