Difference between revisions of "MediaWiki:Common.css"
(Created page with "→CSS placed here will be applied to all skins: body{ min-width:1240px; } .mw-body-content{ width:calc(100% - 200px - 1em); min-width:800px; } →sidebar: ...") |
|||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | + | #mw-content-text{ | |
| − | |||
| − | |||
| − | |||
width:calc(100% - 200px - 1em); | width:calc(100% - 200px - 1em); | ||
| − | |||
} | } | ||
| Line 16: | Line 12: | ||
} | } | ||
#mw-panel .portal .body li#n-3\.1-AND-Publishing, | #mw-panel .portal .body li#n-3\.1-AND-Publishing, | ||
| − | #mw-panel .portal .body li#n-3\.2-Library-of-Inclusions-and-Omissions, | + | #mw-panel .portal .body li#n-3\.2--Library-of-Inclusions-and-Omissions, |
| − | #mw-panel .portal .body li#n-3\.3-The-Piracy-Project, | + | #mw-panel .portal .body li#n-3\.3--The-Piracy-Project, |
| − | #mw-panel .portal .body li#n-3\.4-Let\.27s-Mobilise\:-What-is-Feminist-Pedagogy\.3F, | + | #mw-panel .portal .body li#n-3\.4--Let\.27s-Mobilise\:-What-is-Feminist-Pedagogy\.3F, |
| − | #mw-panel .portal .body li#n-3\.5-Boxing-and-Unboxing{ | + | #mw-panel .portal .body li#n-3\.5--Boxing-and-Unboxing{ |
padding-left: 3em; | padding-left: 3em; | ||
text-indent: -2em; | text-indent: -2em; | ||
| Line 32: | Line 28: | ||
/* index */ | /* index */ | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul { |
list-style: none; | list-style: none; | ||
counter-reset: item1; | counter-reset: item1; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul { |
counter-reset: item2; | counter-reset: item2; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul{ |
counter-reset: item3; | counter-reset: item3; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul{ |
counter-reset: item4; | counter-reset: item4; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li { |
counter-increment: item1; | counter-increment: item1; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li { |
counter-increment: item2; | counter-increment: item2; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li { |
counter-increment: item3; | counter-increment: item3; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul > li { |
counter-increment: item4; | counter-increment: item4; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li:before { |
content: counter(item1) ". "; | content: counter(item1) ". "; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li:before { |
content: counter(item1) "." counter(item2) ". " ; | content: counter(item1) "." counter(item2) ". " ; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li:before { |
content: counter(item1) "." counter(item2) "." counter(item3) ". " ; | content: counter(item1) "." counter(item2) "." counter(item3) ". " ; | ||
} | } | ||
| − | body.page- | + | body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul > li:before { |
content: counter(item1) "." counter(item2) "." counter(item3) "." counter(item4) ". "; | content: counter(item1) "." counter(item2) "." counter(item3) "." counter(item4) ". "; | ||
} | } | ||
| Line 80: | Line 76: | ||
.interlink, | .interlink, | ||
| − | + | .annotation-text { | |
| − | width: | + | width: 200px; |
| + | right: 0px; | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| − | margin: 0 calc(- | + | margin: 0.25em calc(-200px - 1em) 0.5em 0.5em; |
font-size: small; | font-size: small; | ||
line-height: 1.2; | line-height: 1.2; | ||
| Line 102: | Line 99: | ||
.annotation-text{ | .annotation-text{ | ||
color: magenta; | color: magenta; | ||
| − | |||
} | } | ||
| − | .page- | + | .page-Annotations #content{ |
background-color: #ffc0fe; | background-color: #ffc0fe; | ||
} | } | ||
| Line 117: | Line 113: | ||
.results-wrapper a { | .results-wrapper a { | ||
color:white; | color:white; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* Sidebar, letting the Tools section disappear */ | ||
| + | |||
| + | div#mw-panel div#p-tb li#t-whatlinkshere, | ||
| + | div#mw-panel div#p-tb li#t-recentchangeslinked, | ||
| + | div#mw-panel div#p-tb li#t-info, | ||
| + | div#mw-panel div#p-tb li#t-permalink, | ||
| + | div#mw-panel div#p-tb li#t-smwbrowselink{ | ||
| + | display: none; | ||
| + | } | ||
| + | div#mw-panel div#p-tb{ | ||
| + | margin-top: -0.8em; | ||
| + | } | ||
| + | div#mw-panel div#p-tb h3#p-tb-label{ | ||
| + | display:none; | ||
| + | } | ||
| + | div#mw-panel div#p-tb div.body{ | ||
| + | background-image:none; | ||
} | } | ||
Latest revision as of 07:36, 2 October 2020
/* CSS placed here will be applied to all skins */
#mw-content-text{
width:calc(100% - 200px - 1em);
}
/* sidebar */
#mw-panel .portal .body li{
padding-left: 1em;
text-indent: -1em;
}
#mw-panel .portal .body li#n-3\.1-AND-Publishing,
#mw-panel .portal .body li#n-3\.2--Library-of-Inclusions-and-Omissions,
#mw-panel .portal .body li#n-3\.3--The-Piracy-Project,
#mw-panel .portal .body li#n-3\.4--Let\.27s-Mobilise\:-What-is-Feminist-Pedagogy\.3F,
#mw-panel .portal .body li#n-3\.5--Boxing-and-Unboxing{
padding-left: 3em;
text-indent: -2em;
}
#mw-panel .portal .body li#n-1--Introduction{
padding-top:1em;
}
#mw-panel .portal .body li#n-7-Appendix{
padding-bottom:1em;
}
/* index */
body.page-1_Contents .mw-content-ltr ul {
list-style: none;
counter-reset: item1;
}
body.page-1_Contents .mw-content-ltr ul > li > ul {
counter-reset: item2;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul{
counter-reset: item3;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul{
counter-reset: item4;
}
body.page-1_Contents .mw-content-ltr ul > li {
counter-increment: item1;
font-weight: bold;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li {
counter-increment: item2;
font-weight: normal;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li {
counter-increment: item3;
font-weight: normal;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul > li {
counter-increment: item4;
font-weight: normal;
}
body.page-1_Contents .mw-content-ltr ul > li:before {
content: counter(item1) ". ";
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li:before {
content: counter(item1) "." counter(item2) ". " ;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li:before {
content: counter(item1) "." counter(item2) "." counter(item3) ". " ;
}
body.page-1_Contents .mw-content-ltr ul > li > ul > li > ul > li > ul > li:before {
content: counter(item1) "." counter(item2) "." counter(item3) "." counter(item4) ". ";
}
/* interlinks & annotations */
.interlink,
.annotation-text {
width: 200px;
right: 0px;
float: right;
clear: right;
margin: 0.25em calc(-200px - 1em) 0.5em 0.5em;
font-size: small;
line-height: 1.2;
}
.interlink p{
margin: 0.15em 0;
}
.annotation-icon,
.annotation-icon a{
color: magenta;
}
.annotation-icon img{
margin-top:-10px;
padding-left: 0.15em;
}
.annotation-text{
color: magenta;
}
.page-Annotations #content{
background-color: #ffc0fe;
}
/* Styling the Shelf template */
.results-wrapper {
background:magenta;
padding: 0.5em;
}
.results-wrapper a {
color:white;
}
/* Sidebar, letting the Tools section disappear */
div#mw-panel div#p-tb li#t-whatlinkshere,
div#mw-panel div#p-tb li#t-recentchangeslinked,
div#mw-panel div#p-tb li#t-info,
div#mw-panel div#p-tb li#t-permalink,
div#mw-panel div#p-tb li#t-smwbrowselink{
display: none;
}
div#mw-panel div#p-tb{
margin-top: -0.8em;
}
div#mw-panel div#p-tb h3#p-tb-label{
display:none;
}
div#mw-panel div#p-tb div.body{
background-image:none;
}