Template:Home/Navigation/styles.css: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
m Heku moved page Template:Homei/Navigation/styles.css to Template:Home/Navigation/styles.css without leaving a redirect
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 00:21, 11 August 2020

.mainpage-navigation .card {
    width: calc(100%/5 - 0.4rem);
    min-width: calc(860px/5 - 0.4rem);
    border: 0;
}

.mainpage-navigation .card:hover .card-caption {
    color: white;
}

.mainpage-navigation .card-caption {
    padding: 0.4rem;
    background: #304665;
    color: #bfcee7;
    text-align: center;
    transition: color 0.2s ease;
}

.mainpage-navigation .card-image {
    height: 180px;
    background-color: #f8f9fa;
    overflow: hidden;
}

@media (prefers-color-scheme: dark) {
    .mainpage-navigation .card-image {
        background: #2b2f36;
    }
}