-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (59 loc) · 1.15 KB
/
style.css
File metadata and controls
75 lines (59 loc) · 1.15 KB
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
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300&display=swap');
* {
padding: 0px;
margin: 0px;
font-family: Roboto, sans-serif;
}
.header {
height: 50px;
background-color: black;
}
body {
background-image: url("https://user-images.githubusercontent.com/30896388/168069577-2f570d08-61d3-49d8-b7dd-c4b9192aaf68.jpg");
background-repeat: no-repeat;
background-size: cover;
}
ul {
list-style-type: none;
display: flex;
color: white;
}
li {
padding: 14px 16px;
font-weight: bold;
}
h1 {
font-size: 55px;
}
p {
width: 400px;
}
#main {
padding-top: 200px;
padding-left: 10px;
background-size: cover;
}
nav {
display: flex;
justify-content: space-between;
}
/* media queries */
@media screen and (max-width : 768px) {
h1 {
font-size: 25px;
}
}
@media screen and (max-width : 600px) {
h1 {
font-size: 35px;
}
}
@media screen and (max-width : 480px) {
.header {
background-color: yellow;
}
ul {
color: black;
}
}
/* end */