Skip to content

Commit 14ebe85

Browse files
committed
minor update
1 parent e4921cd commit 14ebe85

File tree

1 file changed

+34
-10
lines changed

1 file changed

+34
-10
lines changed

docs/calendar.html

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@
7070
width: 100%;
7171
margin-top: 20px;
7272
table-layout: fixed;
73-
}
73+
border-radius: 15px;
74+
border-collapse: separate;
75+
border-spacing: initial;
76+
}
7477

7578
th, td {
7679
border: 1px solid #ddd;
@@ -111,12 +114,17 @@
111114
.today {
112115
background-color: rgb(73, 171, 73);
113116
color: white;
117+
border-radius: 10px;
114118
}
115119

116120
.saturday {
117121
color: #e31227;
118122
}
119123

124+
.today.saturday {
125+
color: white !important;
126+
}
127+
120128
.empty {
121129
background-color: #f1f1f1;
122130
}
@@ -238,8 +246,14 @@
238246
.tithi {
239247
color: #106bdb;
240248
font-size: xx-small;
249+
font-weight: lighter !important;
241250
}
242251

252+
.today .tithi {
253+
color: white !important;
254+
font-weight: bold !important;
255+
}
256+
243257
.gregorian {
244258
color: rgb(231 175 68);
245259
font-size: 65%;
@@ -250,15 +264,24 @@
250264
}
251265

252266
.gregorian-month-display {
253-
/* margin-right: 38px; */
254-
font-size: x-small;
255-
color: #827a7a;
256-
display: flex;
257-
flex-direction: column;
258-
flex-wrap: wrap;
259-
justify-content: flex-end;
267+
font-size: x-small;
268+
color: #827a7a;
269+
display: flex;
270+
flex-direction: column;
271+
flex-wrap: wrap;
272+
justify-content: flex-end;
273+
}
274+
.ConverterLink {
275+
display: block;
276+
padding: 10px 20px;
277+
font-weight: bold;
278+
color: white;
279+
background-color: #007bff;
280+
text-align: center;
281+
text-decoration: none;
282+
border-radius: 5px;
283+
transition: background-color 0.3s ease;
260284
}
261-
262285

263286
</style>
264287
</head>
@@ -285,7 +308,8 @@ <h1>विक्रम सम्बत क्यालेण्डर</h1>
285308
<button onclick="nextYear()">Next Year</button>
286309
<button class="today-button" onclick="goToToday()">Today</button>
287310
</div>
288-
<div id="calendar"></div>
311+
<div id="calendar"></div><br>
312+
<a href="index.html" class="ConverterLink">&#128073; Calendar Example</a>
289313
</div>
290314
<div id="tithiModal" class="modal">
291315
<div class="modal-content">

0 commit comments

Comments
 (0)