MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 670:
.client-js .mw-content-ltr .toc {
display: none !important;
}
 
/* ======================================================= */
/* FORCE STICKY TOC ON IPAD / TABLET */
/* ======================================================= */
@media screen and (min-width: 768px) {
#cps-open-toc {
/* Force Display */
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
/* Ensure it sits on top of the iPad header */
z-index: 9999 !important;
/* Ensure positioning is correct */
position: fixed !important;
top: 8px !important;
right: 100px !important;
/* Visual Safety: slight background to ensure it's not white-on-white */
background-color: rgba(0, 0, 0, 0.05) !important;
width: 44px !important;
height: 44px !important;
border-radius: 8px !important;
}
/* Ensure the icon inside is large enough */
#cps-open-toc .icon {
font-size: 30px !important;
color: #fff !important; /* Ensure icon is white */
display: block !important;
}
}