forked from zyfer416/GYM-WEBSITE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPhysiFit.css
198 lines (166 loc) · 3.38 KB
/
PhysiFit.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, sans-serif;
}
:root {
/* Dark Mode Variables */
--bg-color: #000000;
--text-color: #ffffff;
--accent-color: white;
/* Light Mode Variables */
--light-bg-color: #ffffff;
--light-text-color: #000000;
--light-accent-color: #008000;
}
title{
background-color: #008000;
}
/* Light mode overrides */
body.light-mode {
--bg-color: var(--light-bg-color);
--text-color: var(--light-text-color);
--accent-color: var(--light-accent-color);
}
/* Body and General Typography */
body {
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
margin: 0;
font-size: 16px;
}
h1, h2 {
color: var(--accent-color);
}
h1 {
font-size: 2.5rem;
text-align: center;
margin-top: 2rem;
}
h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
p {
font-size: 1rem;
margin-bottom: 1.5rem;
}
ul {
margin-left: 1.5rem;
list-style: disc;
}
ul li {
margin-bottom: 0.5rem;
}
/* Header Section */
header {
background: var(--accent-color);
color: var(--bg-color);
text-align: center;
padding: 2rem 1rem;
transition: background-color 0.3s ease;
}
header h1 {
color: #008000;
font-size: 3rem;
}
header p {
font-size: 1.2rem;
margin-top: 0.5rem;
}
/* header:hover {
background-color: var(--bg-color);
color: var(--accent-color);
border: 2px solid var(--accent-color);
border-color: #008000;
} */
/* Section Styling */
section {
padding: 2rem 1rem;
max-width: 800px;
margin: 0 auto;
background-color: var(--bg-color);
color: var(--light-accent-color);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
border-radius: 10px;
transition: transform 0.3s ease;
}
/* section:hover {
transform: scale(1.02);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
border: 2px solid var(--accent-color);
border-color: #008000;
} */
section h2 {
margin-top: 2rem;
font-size: 1.8rem;
color: #008000;
}
section ul {
margin-top: 1rem;
padding-left: 1.5rem;
color:#008000;
}
section ul li {
font-size: 1rem;
position: relative;
transition: color 0.3s ease;
}
section ul li:hover {
color: var(--accent-color);
font-weight: bold;
}
/* Footer Styling */
footer {
text-align: center;
padding: 1rem 0;
background: var(--accent-color);
color: var(--bg-color);
margin-top: 2rem;
transition: background-color 0.3s ease;
}
footer:hover {
background-color: var(--bg-color);
color: var(--accent-color);
border: 2px solid var(--accent-color);
}
footer p {
font-size: 1rem;
transition: color 0.3s ease;
}
footer p:hover {
color: var(--text-color);
font-weight: bold;
}
/* Button-Like Hover for Links or Action Items */
a {
text-decoration: none;
color: var(--accent-color);
font-weight: bold;
transition: color 0.3s ease, background-color 0.3s ease;
padding: 0.5rem 1rem;
border-radius: 5px;
}
a:hover {
color: var(--bg-color);
background-color: var(--accent-color);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
/* Responsive Design */
@media (max-width: 768px) {
body {
font-size: 14px;
}
header h1 {
font-size: 2.5rem;
}
header p {
font-size: 1rem;
}
h2 {
font-size: 1.5rem;
}
}