-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2 (1).css
119 lines (98 loc) · 1.75 KB
/
style2 (1).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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* General Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.5;
color: #333;
background-color: #f5f5f5;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Header Styles */
header {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.logo {
font-size: 24px;
font-weight: bold;
color: black;
}
/* Navigation Styles */
nav ul {
list-style: none;
display: flex;
}
nav li {
margin-right: 20px;
}
nav a {
font-size: 18px;
color: #333;
}
/* Main Content Styles */
main {
margin-top: 40px;
}
h1 {
font-size: 36px;
margin-bottom: 20px;
}
p {
margin-bottom: 20px;
}
/* Footer Styles */
footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
footer p {
margin-bottom: 0;
}
/* Media Queries */
@media (max-width: 768px) {
.container {
padding: 10px;
}
}
.nav-menu {
display: flex;
}
.nav-menu li {
position: relative;
}
.dropdown {
position: relative;
}
.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 1;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.dropdown-menu li {
display: block;
}
.dropdown:hover .dropdown-menu {
display: block;
}