MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* SimpleCalendar styling */ | /* SimpleCalendar styling */ | ||
table.simplecalendar { | |||
table. | |||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Line 12: | Line 9: | ||
} | } | ||
. | .simplecalendar th, | ||
. | .simplecalendar td { | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
padding: 0.75em; | padding: 0.75em; | ||
text-align: center; | text-align: center; | ||
vertical-align: top; | vertical-align: top; | ||
min-width: | min-width: 90px; | ||
} | } | ||
. | .simplecalendar td a { | ||
display: block; | display: block; | ||
color: #0366d6; | color: #0366d6; | ||
| Line 29: | Line 26: | ||
} | } | ||
. | .simplecalendar td a:hover { | ||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
Revision as of 15:25, 12 May 2025
/* CSS placed here will be applied to all skins */
/* SimpleCalendar styling */
table.simplecalendar {
width: 100%;
border-collapse: collapse;
font-family: sans-serif;
font-size: 0.95em;
margin: 1em 0;
}
.simplecalendar th,
.simplecalendar td {
border: 1px solid #ccc;
padding: 0.75em;
text-align: center;
vertical-align: top;
min-width: 90px;
}
.simplecalendar td a {
display: block;
color: #0366d6;
text-decoration: none;
font-weight: bold;
padding: 0.3em;
}
.simplecalendar td a:hover {
background-color: #f5f5f5;
border-radius: 4px;
}