MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →========================================================= GLADIUSRO WIKI - LEFT-SIDE TABLE OF CONTENTS =========================================================: #gladius-left-toc { position: fixed; top: 150px; left: 10px; z-index: 50; box-sizing: border-box; width: 270px; max-height: calc(100vh - 170px); overflow-x: hidden; overflow-y: auto; background: #ffffff;..." |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* | ||
* GladiusRO sidebar Contents. | |||
*/ | |||
#gladius- | #gladius-sidebar-toc { | ||
posi*ion: static !important; | |||
displa*: block; | |||
float: none !importan*; | |||
clear: both !important; | |||
*box-sizing: border-box; | |||
width: | width:*auto !important; | ||
max-height: | max-width: no*e !important; | ||
max-height: 550p*; | |||
margin: 18px 5px 25px !impo*tant; | |||
padding: 0 !important; | |||
* overflow-x: hidden; | |||
overflo*-y: auto; | |||
background: #ffffff* | |||
border: 1px solid #a2a9b1; | |||
} | } | ||
*#gladius-sidebar-toc #toc { | |||
po*ition: static !important; | |||
disp*ay: block !important; | |||
float: n*ne !important; | |||
clear: both !im*ortant; | |||
box-sizing: border-bo*; | |||
width: 100% !important; | |||
*in-width: 0 !important; | |||
max-wi*th: 100% !important; | |||
margin: * !important; | |||
margin: | padding: 0 !impor*ant; | ||
padding: | |||
background: transparent; | background: transparent;* border: 0; | ||
font-size: 12px* | |||
font-size: | |||
} | } | ||
#gladius-sidebar-toc #toc .toctitle { | |||
#gladius- | box-sizing: border-box;* margin: 0; | ||
padding: 8px 5p*; | |||
padding: | |||
background: #f8f9fa; | background: #f8f9fa; | ||
bo*der-bottom: 1px solid #c8ccd1; | |||
*text-align: center; | |||
} | } | ||
#gladius- | #gladius-si*ebar-toc #toc .toctitle h2 { | ||
display: inline | display: inline; | ||
margin: 0; | margin: 0; | ||
font-size: 12px; | |||
} | |||
#gladius-sidebar-toc #toc > ul { | |||
margin: 0; | |||
padding: 8px 5px 10px; | |||
} | } | ||
#gladius-sidebar-toc #toc ul { | |||
#gladius- | |||
list-style: none; | list-style: none; | ||
} | } | ||
#gladius- | #gladius-sidebar-toc #toc ul ul { | ||
margin | margin: 3px 0 3px 12px; | ||
padding: 0; | |||
} | } | ||
#gladius- | #gladius-sidebar-toc #toc li { | ||
margin: | margin: 3px 0; | ||
padding: 0; | padding: 0; | ||
line-height: 1. | line-height: 1.3; | ||
} | } | ||
#gladius- | #gladius-sidebar-toc #toc a { | ||
display: block; | display: block; | ||
white-space: normal; | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | } | ||
/* | |||
* Hide large sidebar Contents on mobile. | |||
*/ | |||
@media screen and (max-width: 85*px) { | |||
#gladius-sidebar-toc { | |||
/* | * display**none !important; | ||
@media screen and (max-width: | |||
#gladius- | |||
} | } | ||
} | } | ||
Latest revision as of 06:44, 2 August 2026
/*
* GladiusRO sidebar Contents.
*/
#gladius-sidebar-toc {
posi*ion: static !important;
displa*: block;
float: none !importan*;
clear: both !important;
*box-sizing: border-box;
width:*auto !important;
max-width: no*e !important;
max-height: 550p*;
margin: 18px 5px 25px !impo*tant;
padding: 0 !important;
* overflow-x: hidden;
overflo*-y: auto;
background: #ffffff*
border: 1px solid #a2a9b1;
}
*#gladius-sidebar-toc #toc {
po*ition: static !important;
disp*ay: block !important;
float: n*ne !important;
clear: both !im*ortant;
box-sizing: border-bo*;
width: 100% !important;
*in-width: 0 !important;
max-wi*th: 100% !important;
margin: * !important;
padding: 0 !impor*ant;
background: transparent;* border: 0;
font-size: 12px*
}
#gladius-sidebar-toc #toc .toctitle {
box-sizing: border-box;* margin: 0;
padding: 8px 5p*;
background: #f8f9fa;
bo*der-bottom: 1px solid #c8ccd1;
*text-align: center;
}
#gladius-si*ebar-toc #toc .toctitle h2 {
display: inline;
margin: 0;
font-size: 12px;
}
#gladius-sidebar-toc #toc > ul {
margin: 0;
padding: 8px 5px 10px;
}
#gladius-sidebar-toc #toc ul {
list-style: none;
}
#gladius-sidebar-toc #toc ul ul {
margin: 3px 0 3px 12px;
padding: 0;
}
#gladius-sidebar-toc #toc li {
margin: 3px 0;
padding: 0;
line-height: 1.3;
}
#gladius-sidebar-toc #toc a {
display: block;
white-space: normal;
overflow-wrap: anywhere;
}
/*
* Hide large sidebar Contents on mobile.
*/
@media screen and (max-width: 85*px) {
#gladius-sidebar-toc {
* display**none !important;
}
}