MediaWiki:Common.css: Difference between revisions
From Cheeky Factor
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
@media(min-width: 768px) { .responsive-1 { width: 728px; height: 90px; } } | @media(min-width: 768px) { .responsive-1 { width: 728px; height: 90px; } } | ||
#toc { | |||
position: sticky; | |||
top: 10px; /* Sticks the TOC 10px from the top */ | |||
z-index: 1000; /* Ensures the TOC stays above other content */ | |||
background-color: white; /* Optional: Set background color to avoid overlap issues */ | |||
border: 1px solid #ccc; /* Optional: Add border for better visual separation */ | |||
padding: 10px; /* Optional: Add some padding inside the TOC */ | |||
} | |||
Revision as of 16:11, 25 September 2024
/* CSS placed here will be applied to all skins */
.p-navbar {
background-color: #88b5d7;
}
.nav-link a {
filter: invert(10%) sepia(95%) saturate(685%) hue-rotate(168deg) brightness(94%) contrast(107%);
}
.jsbc-breadcrumbs {margin-top: 20px;}
.responsive-1 { width: 320px; height: 50px; }
@media(min-width: 500px) { .responsive-1 { width: 468px; height: 60px; } }
@media(min-width: 768px) { .responsive-1 { width: 728px; height: 90px; } }
#toc {
position: sticky;
top: 10px; /* Sticks the TOC 10px from the top */
z-index: 1000; /* Ensures the TOC stays above other content */
background-color: white; /* Optional: Set background color to avoid overlap issues */
border: 1px solid #ccc; /* Optional: Add border for better visual separation */
padding: 10px; /* Optional: Add some padding inside the TOC */
}