MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
body h1.firstHeading { display: none; } | body h1.firstHeading { display: none; } | ||
/*START - DELETE DCK testing 3/22/24*/ | |||
.tab { | |||
margin-left: 25px; | |||
} | |||
/*END - DELETE DCK Testing*/ | |||
/* Indentation Settings -------------------------------------------------------------------------*/ | /* Indentation Settings -------------------------------------------------------------------------*/ | ||
Revision as of 11:35, 22 March 2024
/* CSS placed here will be applied to all skins */
body h1.firstHeading { display: none; }
/*START - DELETE DCK testing 3/22/24*/
.tab {
margin-left: 25px;
}
/*END - DELETE DCK Testing*/
/* Indentation Settings -------------------------------------------------------------------------*/
/* Indent subheadings and their text */
h2, h3, h4, h5, h6 {
margin-left: 0px; /* Adjust the indentation size as needed */
}
/* Increase indentation for deeper levels of subheadings */
h3 {
margin-left: 20px; /* Adjust the indentation size as needed */
}
h4 {
margin-left: 40px; /* Adjust the indentation size as needed */
}
h5 {
margin-left: 60px; /* Adjust the indentation size as needed */
}
h6 {
margin-left: 80px; /* Adjust the indentation size as needed */
}
/* Indent all text by the same amount */
body {
margin-left: 20px; /* Adjust the indentation size as needed */
}
/* Don't number the table of contents. Currently numbering is applied manually to the heading title */
.tocnumber {
display:none
}
/* Styling for the Main Page */
body.page-Main_Page h1 {
display: none; /* Don't show the title ("Main Page") of the main page */
}
/* Apply flex-box to screens (not print) */
@media screen {
.main-flexcontainer {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
}
.main-flexbox {
border: 1px solid #CCC;
padding: 0 1em 1em;
margin: 0 10px 20px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.main-flexbox ul {
list-style: none;
line-height: 2;
margin-left: 0.5em;
}
/* End styling for the Main Page */
/* Site wide edits here */
body #p-coll-print_export {display:none}
#footer { display: none; }
body { font-size: larger; }
/* Float Table of Contents to the right */
#toc {
float: right;
margin:0 0 1em 1em;
position:fixed;
top:100px;
right:10px;
max-width:50%;
max-height: 1%; /* Adjust the maximum height as needed */
overflow-y: scroll;
}
/* Limit the number of subheadings to one level */
#toc ul ul ul {
display: none;
}
#toc > ul > li > ul > li > ul {
display: block;
}
/* Add ellipsis (...) for hidden second-level subheadings */
#toc li.tochidden:after {
content: ' ...'; /* You can customize the ellipsis as needed */
color: #888; /* Adjust the color as needed */
}