MediaWiki:Common.css

From Eva Weinmayr Wiki
Revision as of 11:38, 18 December 2019 by Manetta (talk | contribs)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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-Main_Page .mw-content-ltr ul {
  list-style: none;
  counter-reset: item1;
}
body.page-Main_Page .mw-content-ltr ul > li > ul {
  counter-reset: item2;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul{
  counter-reset: item3;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul > li > ul{
  counter-reset: item4;
}

body.page-Main_Page .mw-content-ltr ul > li {
  counter-increment: item1;
  font-weight: bold;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li {
  counter-increment: item2;
  font-weight: normal;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul > li {
  counter-increment: item3;
  font-weight: normal;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul > li > ul > li {
  counter-increment: item4;
  font-weight: normal;
}

body.page-Main_Page .mw-content-ltr ul > li:before {
  content: counter(item1) ". ";
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li:before {
  content: counter(item1) "." counter(item2) ". " ;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul > li:before {
  content: counter(item1) "." counter(item2) "." counter(item3) ". " ;
}
body.page-Main_Page .mw-content-ltr ul > li > ul > li > ul > li > ul > li:before {
  content: counter(item1) "." counter(item2) "." counter(item3) "." counter(item4) ". ";
}


/* interlinks & annotations */

/* 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;
}