Content added Content deleted
m (ChaoticShadow moved page Template:Main Page/Navigation/styles.css to Template:Main Page navigation/styles.css without leaving a redirect) |
m (use variables instead of fixed values) |
||
Line 7: | Line 7: | ||
.mp-nav-button { |
.mp-nav-button { |
||
border: 1px solid |
border: 1px solid var(--theme-primary-0); |
||
background-color: rgba(47, 217, 227, 0.1); |
background-color: rgba(47, 217, 227, 0.1); |
||
} |
} |
||
.mp-link { |
.mp-link { |
||
border: 1px solid |
border: 1px solid var(--theme-primary-0); |
||
background-color: rgba(47, 217, 227, 0.1); |
background-color: rgba(47, 217, 227, 0.1); |
||
} |
} |
Revision as of 05:52, 4 July 2022
.mp-navigation {
margin-bottom: 1.5em;
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(auto-fill, minmax(12em, auto));
}
.mp-nav-button {
border: 1px solid var(--theme-primary-0);
background-color: rgba(47, 217, 227, 0.1);
}
.mp-link {
border: 1px solid var(--theme-primary-0);
background-color: rgba(47, 217, 227, 0.1);
}
/*
* Different screen sizes
*/
@media only screen and (max-width: 576px) {
.mp-navigation {
grid-template-columns: repeat(3, 12em) !important;
grid-template-rows: repeat(5, 3em);
overflow-x: scroll;
}
}
/*
* Vector skin
*/
/*
* Citizen skin
*/
body.skin-citizen .mp-nav-button {
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border-radius: var(--border-radius--medium);
}
body.skin-citizen .mp-nav-button:hover {
background-color: var(--color-surface-3);
border: 1px solid var(--color-surface-4);
transition: 0.15s ease-in-out;
}
body.skin-citizen .mp-nav-button a {
color: var(--color-base);
}