-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
74 lines (62 loc) · 1.09 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
width: 1000px; /* Fixed width for non-responsiveness */
margin: 0 auto; /* Centers the content on the page */
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
header h1 {
margin-bottom: 10px;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
color: #f4f4f4;
}
section {
padding: 20px;
margin: 20px 0;
background-color: #fff;
border-radius: 5px;
width: 900px; /* Fixed width for non-responsiveness */
}
#about {
text-align: center;
}
footer {
text-align: center;
padding: 20px;
background-color: #333;
color: #fff;
margin-top: 20px;
width: 1000px; /* Fixed width for non-responsiveness */
}
a {
color: #333;
}
a:hover {
color: #555;
}