MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /* collapsible header box */ | ||
.headerbox { | |||
background: #f9f9f9; | |||
border: 1px solid #a2a9b1; | |||
border-radius: 4px; | |||
} | padding: 1em; | ||
margin: 1em auto; | |||
max-width: 800px; | |||
text-align: center; | |||
} | |||
.headerbox .small { | |||
font-size: 1.1em; | |||
font-style: italic; | |||
margin-top: 0.2em; | |||
} | } | ||
. | /* horizontal list of buttons */ | ||
.mw-hlist > tbody > tr > td { | |||
padding: 0.2em 1em; | |||
} | } | ||
. | /* gallery tweaks */ | ||
.gallerybox { | |||
border: none; | |||
box-shadow: none; | |||
} | |||
.gallerytext { | |||
font-size: 95%; | |||
} | } | ||
/* | /* in-page hlist (for action links) */ | ||
. | .mw-hlist { | ||
display: inline-table; | |||
} | |||
.mw-hlist td { | |||
border: 1px solid #ccc; | |||
border-radius: 4px; | |||
background: #fff; | |||
padding: 0.5em 1em; | |||
margin: 0 0.5em; | |||
transition: transform 0.2s, box-shadow 0.2s; | |||
} | |||
.mw-hlist td:hover { | |||
transform: scale(1.05); | transform: scale(1.05); | ||
box-shadow: 0 | box-shadow: 0 4px 10px rgba(0,0,0,0.1); | ||
} | |||
/* collapsible widget styling */ | |||
.mw-collapsible { | |||
position: relative; | |||
} | |||
.mw-collapsible.mw-collapsed > .mw-collapsible-toggle { | |||
display: inline-block; | |||
margin-bottom: 0.5em; | |||
cursor: pointer; | |||
color: #025E8D; | |||
font-weight: bold; | |||
} | } | ||
body.page-Main_Page h1.firstHeading { | |||
.page-Main_Page h1.firstHeading { | display: none !important; | ||
display: none; | |||
} | } |
Latest revision as of 14:59, 7 May 2025
/* collapsible header box */ .headerbox { background: #f9f9f9; border: 1px solid #a2a9b1; border-radius: 4px; padding: 1em; margin: 1em auto; max-width: 800px; text-align: center; } .headerbox .small { font-size: 1.1em; font-style: italic; margin-top: 0.2em; } /* horizontal list of buttons */ .mw-hlist > tbody > tr > td { padding: 0.2em 1em; } /* gallery tweaks */ .gallerybox { border: none; box-shadow: none; } .gallerytext { font-size: 95%; } /* in-page hlist (for action links) */ .mw-hlist { display: inline-table; } .mw-hlist td { border: 1px solid #ccc; border-radius: 4px; background: #fff; padding: 0.5em 1em; margin: 0 0.5em; transition: transform 0.2s, box-shadow 0.2s; } .mw-hlist td:hover { transform: scale(1.05); box-shadow: 0 4px 10px rgba(0,0,0,0.1); } /* collapsible widget styling */ .mw-collapsible { position: relative; } .mw-collapsible.mw-collapsed > .mw-collapsible-toggle { display: inline-block; margin-bottom: 0.5em; cursor: pointer; color: #025E8D; font-weight: bold; } body.page-Main_Page h1.firstHeading { display: none !important; }