-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsave.css
54 lines (47 loc) · 868 Bytes
/
save.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
/* Common styles for both mobile and desktop */
body {
font-family: Arial, sans-serif;
background-image: url("Avengers.gif");
margin: 0;
padding: 0;
color: aliceblue;
}
.container {
text-align: center;
padding: 20px;
background-color: red;
margin: 20px;
}
.navbar {
background-color: black;
padding: 10px 0;
text-align: center;
}
.navbar ul {
list-style: none;
margin: 0;
padding: 0;
}
.navbar ul li {
display: inline;
margin-right: 20px;
}
.navbar ul li a {
text-decoration: none;
color: white;
font-weight: bold;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
.navbar ul li {
display: block;
margin: 10px 0;
}
}
/* Desktop responsiveness */
@media (min-width: 769px) {
.container {
max-width: 960px;
margin: 0 auto;
}
}