-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
104 lines (88 loc) · 1.6 KB
/
styles.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
93
94
95
96
97
98
99
100
101
102
103
104
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #f4f4f4;
}
header {
background: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
header h1 {
margin: 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline;
margin: 0 15px;
}
nav ul li a {
color: #fff; /* Consistent color for all header links */
text-decoration: none;
font-weight: normal;
position: relative;
}
nav ul li a::after {
content: "";
display: block;
width: 0;
height: 2px;
background: #1e90ff; /* Underline color */
position: absolute;
bottom: -2px; /* Position the underline below the text */
left: 0;
transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a:focus::after {
width: 100%;
}
main {
padding: 20px;
max-width: 1200px;
margin: auto;
}
h2 {
color: #333;
}
section {
margin-bottom: 40px;
}
ul {
padding-left: 20px;
}
ul li {
margin-bottom: 10px;
}
a.nav-link {
color: #042f5a; /* Link color for content sections */
text-decoration: none;
font-weight: bold;
}
a.nav-link:hover {
text-decoration: underline;
}
/* Image Styling */
.main-image {
width: 100%;
max-width: 600px;
height: auto;
display: block;
margin: 20px 0;
}
footer {
background: #333;
color: #fff;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
}