MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
table. | /* ==== SimpleCalendar Styling ==== */ | ||
table. | |||
/* Make calendar table fill the width */ | |||
.mw-parser-output table.calendar { | |||
width: 100% !important; | width: 100% !important; | ||
border-collapse: collapse !important; | border-collapse: collapse !important; | ||
font-family: sans-serif !important; | font-family: sans-serif !important; | ||
table-layout: fixed !important; | |||
margin: 1em 0 !important; | margin: 1em 0 !important; | ||
font-size: 28px !important; | |||
} | |||
/* Style headers (month names and weekdays) */ | |||
.mw-parser-output .calendar th { | |||
background-color: #f0f0f0; | |||
padding: 0.75em; | |||
font-size: 32px !important; | |||
text-align: center; | |||
} | } | ||
. | /* Style each day cell */ | ||
.calendar | .mw-parser-output .calendar td { | ||
border: 1px solid #ccc; | |||
padding: 0.6em; | |||
border: 1px solid #ccc | vertical-align: top; | ||
padding: 0. | text-align: center; | ||
text-align: center | font-size: 28px !important; | ||
height: 100px; | |||
overflow: hidden; | |||
} | } | ||
.calendar | /* Style the day number links */ | ||
.mw-parser-output .calendar td a { | |||
display: block !important; | display: block; | ||
color: #0366d6 | font-size: 32px !important; | ||
text-decoration: none | line-height: 40px !important; | ||
font-weight: bold | color: #0366d6; | ||
padding: 0.3em | text-decoration: none; | ||
font-weight: bold; | |||
padding: 0.3em; | |||
} | } | ||
.calendar | /* Hover effect */ | ||
.mw-parser-output .calendar td a:hover { | |||
background-color: # | background-color: #e0e0e0; | ||
border-radius: | border-radius: 6px; | ||
} | } | ||
Latest revision as of 15:51, 12 May 2025
/* ==== SimpleCalendar Styling ==== */
/* Make calendar table fill the width */
.mw-parser-output table.calendar {
width: 100% !important;
border-collapse: collapse !important;
font-family: sans-serif !important;
table-layout: fixed !important;
margin: 1em 0 !important;
font-size: 28px !important;
}
/* Style headers (month names and weekdays) */
.mw-parser-output .calendar th {
background-color: #f0f0f0;
padding: 0.75em;
font-size: 32px !important;
text-align: center;
}
/* Style each day cell */
.mw-parser-output .calendar td {
border: 1px solid #ccc;
padding: 0.6em;
vertical-align: top;
text-align: center;
font-size: 28px !important;
height: 100px;
overflow: hidden;
}
/* Style the day number links */
.mw-parser-output .calendar td a {
display: block;
font-size: 32px !important;
line-height: 40px !important;
color: #0366d6;
text-decoration: none;
font-weight: bold;
padding: 0.3em;
}
/* Hover effect */
.mw-parser-output .calendar td a:hover {
background-color: #e0e0e0;
border-radius: 6px;
}