-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (81 loc) · 1.16 KB
/
style.css
File metadata and controls
95 lines (81 loc) · 1.16 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
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: brown;
}
h1, h2 {
color: #2c3e50;
}
p {
color: #34495e;
}
/* Navbar Styles */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background: #16a085;
color: white;
position: sticky;
top: 0;
z-index: 1000;
}
.navbar .logo {
font-size: 1.5em;
font-weight: bold;
}
.nav-links {
list-style: none;
display: flex;
gap: 15px;
margin: 0;
}
.nav-links li {
margin: 0;
}
.nav-links a {
text-decoration: none;
color: white;
font-weight: bold;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: #ecf0f1;
}
/* Section Styles */
.section {
padding: 50px 20px;
max-width: 800px;
margin: 0 auto;
}
.section:nth-child(even) {
background: #f4f4f4;
}
.section h2 {
margin-bottom: 10px;
}
.btn {
display: inline-block;
padding: 10px 20px;
background: #16a085;
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
transition: 0.3s ease;
}
.btn:hover {
background: #1abc9c;
}
/* Footer Styles */
footer {
text-align: center;
padding: 20px;
background: #2c3e50;
color: white;
font-size: 0.9em;
}