MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
. | /* ---------- DULL CATEGORY BUTTONS ---------- */ | ||
transition: | .cat-button { | ||
box-shadow: 0 | display: block; | ||
border-radius: | width: 200px; | ||
overflow: hidden; | margin: 0 auto; | ||
text-align: center; | |||
text-decoration: none; | |||
transition: box-shadow 0.2s ease; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.08); | |||
border-radius: 6px; | |||
overflow: hidden; | |||
background: #f9f9f9; | |||
} | } | ||
. | .cat-button:hover { | ||
box-shadow: 0 4px 10px rgba(0,0,0,0.12); | |||
box-shadow: 0 | background: #f5f5f5; | ||
} | |||
.cat-button img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
border-bottom: 1px solid #eee; | |||
} | |||
.cat-button .cat-label { | |||
display: block; | |||
padding: 8px 4px; | |||
font-size: 0.95em; | |||
color: #333; | |||
font-weight: 500; | |||
} | } | ||
Revision as of 09:27, 16 November 2025
/* ---------- DULL CATEGORY BUTTONS ---------- */
.cat-button {
display: block;
width: 200px;
margin: 0 auto;
text-align: center;
text-decoration: none;
transition: box-shadow 0.2s ease;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
border-radius: 6px;
overflow: hidden;
background: #f9f9f9;
}
.cat-button:hover {
box-shadow: 0 4px 10px rgba(0,0,0,0.12);
background: #f5f5f5;
}
.cat-button img {
display: block;
width: 100%;
height: auto;
border-bottom: 1px solid #eee;
}
.cat-button .cat-label {
display: block;
padding: 8px 4px;
font-size: 0.95em;
color: #333;
font-weight: 500;
}