Toggle menu
20
62
5
836
Irontide Fantasy Roleplay
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
.category-button {
/* ---------- DULL CATEGORY BUTTONS ---------- */
     transition: transform 0.2s ease-in-out; /* Smooth animation */
.cat-button {
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: block;
     border-radius: 8px; /* Rounded corners */
    width: 200px;
     overflow: hidden; /* Prevents image overflow on hover */
    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;
}
}


.category-button:hover {
.cat-button:hover {
    transform: scale(1.05);  /* Slight zoom on hover */
     box-shadow: 0 4px 10px rgba(0,0,0,0.12);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deeper shadow */
    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;
}