-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (79 loc) · 1.5 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
font-family: "Poppins";
}
.navbar {
width: 100%;
height: 70px;
display: flex;
background-color: red;
align-items: center;
justify-content: space-between;
}
.navbar h1 {
font-size: 35px;
color: #fff;
font-weight: 400;
margin-left: 30px;
}
.navbar .navitems {
display: flex;
align-items: center;
justify-content: center;
list-style: none;
margin-right: 30px;
}
.navitems li a {
text-decoration: none;
margin-left: 20px;
color: #fff;
}
.main {
width: 100%;
min-height: 40rem;
background-color: gainsboro;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.main img {
width: 500px;
}
.content {
width: 600px;
height: 300px;
display: flex;
align-items: flex-start;
justify-content: space-around;
flex-direction: column;
}
.content h1 {
font-size: 50px;
}
.content button {
padding: 10px 30px;
background-color: red;
border-radius: 5px;
color: #fff;
border: 1px solid #fff;
}
footer {
width: 100%;
height: 50px;
background-color: green;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
@media (max-width: 768px) {
.content{
text-align: center;
width: 90%;
height: 350px;
align-items: center;
}
}