MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Floating sidebar testing Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 170: | Line 170: | ||
padding-top: 0; | padding-top: 0; | ||
} | } | ||
/* Transform the user toolbar into a sidebox */ | |||
div#p-personal { | |||
position:relative; | |||
z-index:3; | |||
width: 11.6em; | |||
} | |||
div#p-personal .pBody { | |||
width: 10.7em; | |||
border: none; | |||
margin: 0 0 0.1em 0em; | |||
float: none; | |||
overflow: hidden; | |||
font-size: 95%; | |||
background: White; | |||
border-collapse: collapse; | |||
border: 1px solid #aaaaaa; | |||
padding: 0 0.8em 0.3em .5em; | |||
} | |||
div#p-personal ul { | |||
line-height: 1.5em; | |||
list-style-type: square; | |||
list-style-image: url("/style/monobook/bullet.gif"); | |||
font-size:95%; | |||
margin: 0 0 0 1.5em; | |||
padding:0; | |||
text-align:left; | |||
text-transform: none; | |||
} | |||
div#p-personal li { | |||
display: list-item; | |||
padding:0; | |||
margin: 0 0 0 0; | |||
margin-bottom: 0.1em; | |||
} | |||
/* suppress the person icon by your username */ | |||
/* needed if not already in place */ | |||
li#pt-userpage { background: none } | |||
/* End styling for the Main Page */ | /* End styling for the Main Page */ | ||
Revision as of 14:32, 5 March 2024
/* CSS placed here will be applied to all skins */
/* Don't number the table of contents. Currently numbering is applied manually to the heading title */
.tocnumber {
display:none
}
/* Preferred ordered list styles (to match the old PDF BDMs) */
div ol {
list-style-type:decimal
}
div ol ol {
list-style-type:lower-alpha
}
div ol ol ol {
list-style-type:lower-roman
}
div ol ol ol ol {
list-style-type:disc
}
div ol ol ol ol ol {
list-style:none
}
/* Custom "alpha" list style */
div.alpha_list ol {
list-style-type:lower-alpha
}
div.alpha_list ol ol {
list-style-type:lower-roman
}
div.alpha_list ol ol ol {
list-style-type:decimal
}
div.alpha_list ol ol ol ol {
list-style-type:disc
}
div.alpha_list ol ol ol ol ol {
list-style:none
}
/* Not sure what these are for */
div#mydiv ol ol ol ol {
list-style-type:decimal
}
div ol ol ol ol ol > li {
counter-increment:section
}
div ol ol ol ol ol > li:before {
content: "(" counter(section, decimal) ") "
}
div ol ol ol ol ol ol {
list-style:none;
margin:0;
padding:0
}
div ol ol ol ol ol ol > li {
counter-increment:subsection
}
div ol ol ol ol ol ol > li:before {
content:counter(subsection, disc)" "
}
/* Change page sections to DelDOT orange */
h2 {
/* color:#fe9901; This is the DelDOT website button orange */
color:#F47920; /* Got this orange from the Restore the Corridor website */
} /* (xxx.x) */
h5, h6 {
font-style: italic; /* Most skins don't do this. It matches the PDF BDM */
}
/* Adds some space between paragraphs */
.mw-body-content p {
margin: 0.75em 0;
}
/* List styling for reports */
.deldotreport ol {
counter-reset: section;
list-style-type: none;
}
.deldotreport ol li::before {
counter-increment: section;
content: counter(section, upper-roman) ". ";
}
.deldotreport ol li > ol li::before {
counter-increment: section;
content: counters(section,".") " ";
}
/* End styling for reports */
/* 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;
}
/* Fix the sidebar's position while you scroll */
div[id=column-one] { /* Using the attribute selector hides this from IE */
position: fixed;
height: 100%; /* If you shrink the browser too small, the side column will */
overflow: auto; /* become scrollable, so stuff is always accessible, albeit ugly */
z-index: 2;
}
div#p-lang .pBody ul{ /* Sets the language box to a fixed height and scrollable if too long to fit */
height: 10em;
overflow: auto;
}
body { /* Fix the background image, too, so it looks nice as you scroll */
background-attachment: fixed;
}
div#footer { /* Fix the footer so it looks nice and doesn't overlap the sidebar */
margin-left: 13.6em;
border-left: solid 1px rgb(250, 189, 35);
/* Uncomment this if you use rounded edges: */
/*
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
*/
}
/* Don't use any logo, move the boxes onto that area instead */
div#p-logo {
display: none;
}
div#column-one {
padding-top: 0;
}
/* Transform the user toolbar into a sidebox */
div#p-personal {
position:relative;
z-index:3;
width: 11.6em;
}
div#p-personal .pBody {
width: 10.7em;
border: none;
margin: 0 0 0.1em 0em;
float: none;
overflow: hidden;
font-size: 95%;
background: White;
border-collapse: collapse;
border: 1px solid #aaaaaa;
padding: 0 0.8em 0.3em .5em;
}
div#p-personal ul {
line-height: 1.5em;
list-style-type: square;
list-style-image: url("/style/monobook/bullet.gif");
font-size:95%;
margin: 0 0 0 1.5em;
padding:0;
text-align:left;
text-transform: none;
}
div#p-personal li {
display: list-item;
padding:0;
margin: 0 0 0 0;
margin-bottom: 0.1em;
}
/* suppress the person icon by your username */
/* needed if not already in place */
li#pt-userpage { background: none }
/* End styling for the Main Page */