-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle5.css
More file actions
131 lines (110 loc) · 2.43 KB
/
style5.css
File metadata and controls
131 lines (110 loc) · 2.43 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styles */
body {
font-family: Arial, sans-serif;
background-color: #e0f7fa; /* Light cyan background */
color: #333; /* Dark gray text color */
}
/* Earth Container */
.earth {
max-width: 1200px;
margin: 0 auto;
}
/* Header Styles */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background: rgba(255, 255, 255, 0.8); /* Slightly white for transparency */
position: relative; /* Allows for absolute positioning of children */
z-index: 10; /* Stays above other content */
}
header img {
height: 50px;
}
.navbarlist {
list-style-type: none;
display: flex;
}
.navbar-item {
margin: 0 15px;
}
.navbar-item a {
text-decoration: none;
color: #00796b; /* Teal color for links */
font-weight: bold;
}
.navbar-item a:hover {
text-decoration: underline; /* Underline on hover */
}
/* Donate Button Styles */
.donate {
background-color: #00796b; /* Teal */
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.donate:hover {
background-color: #004d40; /* Darker teal on hover */
}
/* Main Section Styles */
main {
padding: 20px;
}
.welcome {
text-align: center;
margin: 20px 0;
}
.latest-articles {
margin-top: 30px;
}
.latest-articles article {
background: rgba(255, 255, 255, 0.9); /* White background with slight transparency */
padding: 20px;
margin: 10px 0;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
/* Button Styles */
button {
background-color: #00796b; /* Teal */
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #004d40; /* Darker teal on hover */
}
/* Footer Styles */
footer {
text-align: center;
padding: 20px;
background-color: #ffffff; /* Solid white background */
}
.social-media {
margin: 10px 0;
}
.social-media a {
margin: 0 10px;
color: #00796b; /* Teal color for social media icons */
font-size: 24px; /* Size of the icons */
transition: color 0.3s;
}
.social-media a:hover {
color: #004d40; /* Darker teal on hover */
}
footer p {
color: #333; /* Dark gray for footer text */
}