-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle4.css
More file actions
116 lines (98 loc) · 2.24 KB
/
style4.css
File metadata and controls
116 lines (98 loc) · 2.24 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
104
105
106
107
108
109
110
111
112
113
114
115
116
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #e0f7fa; /* Light blue background */
}
/* Header styles */
header {
position: fixed;
top: 0;
width: 100%;
padding: 15px;
background: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
backdrop-filter: blur(5px); /* Blur effect for background */
display: flex;
justify-content: space-between;
align-items: center;
z-index: 10;
}
header img {
height: 50px;
}
.navbarlist {
list-style: none;
display: flex;
}
.navbar-item {
margin: 0 15px;
}
.navbar-item a {
text-decoration: none;
color: #00796b; /* Teal color for links */
font-weight: bold;
transition: color 0.3s;
}
.navbar-item a:hover {
color: #004d40; /* Darker teal on hover */
}
.donate {
background-color: #ff5722; /* Donate button color */
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.donate:hover {
background-color: #e64a19; /* Darker orange on hover */
}
/* Main section styles */
main {
margin-top: 100px; /* Space for the fixed header */
padding: 20px;
}
.cons, .gov, .cov, .heal {
background-color: #ffffff; /* White background for sections */
border-radius: 8px;
padding: 20px;
margin: 15px 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
color: #00796b; /* Teal color for headings */
margin-bottom: 10px;
}
p {
color: #333; /* Dark gray for paragraph text */
margin-bottom: 10px;
}
/* Button styles */
button {
background-color: #00796b; /* Teal button color */
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
button:hover {
background-color: #004d40; /* Darker teal on hover */
}
/* Responsive styles */
@media (max-width: 768px) {
.navbarlist {
flex-direction: column;
align-items: center;
}
.navbar-item {
margin: 10px 0;
}
}