ಟೆಂಪ್ಲೇಟು:Calendar/styles.css
ಗೋಚರ
/* Container styling for the calendar */
.calendar-container {
width: 100%; /* Adjust to fit the layout */
max-width: 300px;
border: 1px solid #ccc;
padding: 10px;
margin: 10px auto;
text-align: center;
font-family: 'Noto Sans Kannada', Arial, sans-serif;
background-color: #f9f9f9;
}
/* Header (Month and Year) */
.calendar-container h3 {
font-size: 18px;
margin: 0;
padding: 5px;
color: #333;
background-color: #e9e9e9;
border-bottom: 1px solid #ccc;
}
/* Table styling */
.calendar-container table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
font-size: 14px;
}
/* Table headers (days of the week) */
.calendar-container th {
padding: 5px;
background-color: #ddd;
color: #333;
font-weight: bold;
border: 1px solid #ccc;
text-align: center;
}
/* Table cells */
.calendar-container td {
padding: 10px;
border: 1px solid #ccc;
text-align: center;
vertical-align: middle;
background-color: #fff;
color: #000;
}
/* Weekend highlighting (Saturday and Sunday) */
.calendar-container td:nth-child(1), /* Sunday */
.calendar-container td:nth-child(7) /* Saturday */ {
background-color: #f4f4f4;
color: #d9534f; /* Highlight weekend text in red */
}
/* Empty cells before/after days */
.calendar-container td:empty {
background-color: #f9f9f9;
border: none;
}
/* Hover effect on cells */
.calendar-container td:hover {
background-color: #f0f8ff;
}
/* Highlight current day (optional, dynamic) */
.calendar-container .current-day {
background-color: #ffd700;
font-weight: bold;
color: #000;
}