-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
221 lines (187 loc) · 4.51 KB
/
index.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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
}
:root {
--color-primary: #191d2b;
--color-secondary: #da3e3e;
--color-white: #FFFFFF;
--color-black: #000;
--color-grey0: #f8f8f8;
--color-grey-1: #dbe1e8;
--color-grey-2: #b2becd;
--color-grey-3: #6c7983;
--color-grey-4: #a98114;
--color-grey-5: #2a2e35;
--color-grey-6: #12181b;
--br-sm-2: 14px;
--box-shadow-1: 0 3px 15px rgba(0,0,0,.3);
}
body {
background-color: var(--color-primary);
font-family: "Poppins", sans-serif;
font-size: 1.1rem;
color: var(--color-white);
transition: all 0.4s ease-in-out;
}
.timeline-blog{
color:var(--color-primary) ;
font-family: cursive;
}
.timeline-blog {
color:black ;
font-family: cursive;
.content-blog{
background-color: #94bb3b;
}
}
a {
display: inline-block;
text-decoration: none;
color: inherit;
font-family: inherit;
}
header {
min-height: 100vh;
color: var(--color-white);
overflow: hidden;
padding: 0 !important;
}
section {
min-height: 100vh;
width: 100%;
position: absolute;
left: 0;
top: 0;
padding: 3rem 18rem;
}
.container {
display: none;
transform: translateY(-100%) scale(0);
transition: all 0.4s ease-in-out;
background-color: var(--color-primary);
}
.active {
display: block;
animation: appear 1s ease-in-out;
transform: translateY(0) scaleY(1);
}
@keyframes appear {
0% {
transform: translateY(-100%) scaleY(0);
}
100% {
transform: translateY(0) scaleY(1);
}
}
body.loaded { overflow: overlay; }
body.nav-active { overflow: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background-color: var(--white);
border-radius: 20px;
}
.calendar {
background-color: #1a202c; /* Dark background */
color: #cbd5e0; /* Light text color */
display: flex;
justify-content: center;
align-items: center;display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2rem;
margin-top: 3rem;
}
.port-text {
padding: 2rem 0;
text-align: center;
}
.calendar-container {
width: 90%;
max-width: 600px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
color: #e0e0e0;
padding: 10px;
padding-bottom: 20px;
position: relative; /* Needed for positioning the legend */
}
.days-of-week {
display: grid;
grid-template-columns: repeat(7, 1fr);
background-color: #2b2b2b; /* Background for days of the week */
border-bottom: 1px solid #444;
}
.day-of-week {
text-align: center;
padding: 5px;
font-weight: bold;
font-size: 0.8em; /* Smaller font size for days of the week */
}
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 2px;
padding: 10px;
}
.date-cell {
width: 100%;
height: 20px; /* Smaller height for date cells */
border-radius: 4px;
text-align: center;
cursor: pointer;
background-color: #2e2e2e;
font-size: 0.8em; /* Smaller font size for dates */
}
.date-cell.low {
background-color: #312f2f; /* Fade gray */
}
.date-cell.medium {
background-color: #c6e48b; /* Light green */
color: #0009;
}
.date-cell.high {
background-color: #7bc96f; /* Medium green */
color: #0017;
}
.date-cell.very-high {
background-color: #239a3b; /* Dark green */
}
.date-cell:hover {
background-color: #00ccff2f; /* Light cyan on hover */
}
/* New legend styles */
.legend {
position: absolute;
display: flex;
gap: 5px;
background-color: #1a202c;
border-radius: 2px;
font-size: small;
}
/* Styling for individual legend items */
.legend-item {
margin-top: 5px;
width: 10px;
height: 10px;
border: 1px solid #444; /* Border color to match the calendar */
}
/* Color styles for legend items */
.legend-item.low {
background-color: #312f2f; /* Fade gray */
}
.legend-item.medium {
background-color: #c6e48b; /* Light green */
}
.legend-item.high {
background-color: #7bc96f; /* Medium green */
}
.legend-item.very-high {
background-color: #239a3b; /* Dark green */
}
/* Optional: Add hover effect for legend items */
.legend-item:hover {
border-color: #00ccff; /* Change border color on hover */
}