MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 72: | Line 72: | ||
.cFloat { | |||
position: fixed; | |||
right: 2em; | |||
top: 6em; | |||
background-color: #fff; | |||
z-index: 1; /*This keeps it above the Circles.*/ | |||
max-width: 700px; | |||
} | } | ||
.cFloat:not(:hover) { | |||
opacity: 0.65; | |||
} | |||
.cFloat:hover { | |||
opacity: 1.0; | |||
} | |||
/* Limit the number of subheadings to one level */ | /* Limit the number of subheadings to one level */ | ||
Revision as of 16:27, 21 March 2024
/* CSS placed here will be applied to all skins */
body h1.firstHeading { display: none; }
/* 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; }
.cFloat {
position: fixed;
right: 2em;
top: 6em;
background-color: #fff;
z-index: 1; /*This keeps it above the Circles.*/
max-width: 700px;
}
.cFloat:not(:hover) {
opacity: 0.65;
}
.cFloat:hover {
opacity: 1.0;
}
/* 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 */
}
#simpleSearch, #searchInput::placeholder {
color: #72777d;
placeholder: "Test placeholder";
aria-label: "Test placeholder";
title: "Test placeholder";
}