-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (85 loc) · 1.44 KB
/
styles.css
File metadata and controls
103 lines (85 loc) · 1.44 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
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
/* Reset default styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Set default font and colors */
body {
font-family: Arial, sans-serif;
color: #333;
background-color: #f5f5f5;
}
/* Header styles */
header {
background-color: #337ab7;
padding: 20px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav li {
display: inline-block;
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
padding: 10px;
border-radius: 5px;
}
nav a:hover {
background-color: #fff;
color: #337ab7;
}
/* Main content styles */
main {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
h1, h2, h3 {
font-weight: normal;
margin-bottom: 10px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li {
margin-bottom: 20px;
}
a {
color: #337ab7;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
footer p {
margin: 0;
}
@media screen and (max-width: 767px) {
header {
text-align: center;
}
nav li {
display: block;
margin: 10px 0;
}
main {
padding: 10px;
}
}