Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 39: Line 39:




/* Category Tiles Grid */
/* Category Tiles Grid */
/* Category Tiles Grid */
.category-tiles-container {
.category-tiles-container {
Line 55: Line 56:
     transition: transform 0.2s, box-shadow 0.2s;
     transition: transform 0.2s, box-shadow 0.2s;
     overflow: hidden;
     overflow: hidden;
    cursor: pointer;
}
}


Line 60: Line 62:
     transform: translateY(-5px);
     transform: translateY(-5px);
     box-shadow: 0 5px 15px var(--box-shadow-color-base);
     box-shadow: 0 5px 15px var(--box-shadow-color-base);
}
/* Style the link inside the tile */
.category-tile a {
    color: var(--color-base);
    text-decoration: none;
    display: block;
    height: 100%;
}
/* Hide the underline that MediaWiki adds to links */
.category-tile a:hover {
    text-decoration: none;
}
.tile-content {
    display: block; /* Ensures the content fills the link */
}
}


Line 99: Line 84:
     background: var(--background-color-base);
     background: var(--background-color-base);
     color: var(--color-base);
     color: var(--color-base);
}
.tile-title a {
    color: var(--color-base);
    text-decoration: none;
}
.tile-title a:hover {
    text-decoration: none;
}
}