MediaWiki:Monobook.css: Difference between revisions

From Wiki³
mNo edit summary
mNo edit summary
Line 8: Line 8:
  ** General CSS
  ** General CSS
  */
  */
a:link, a:visited {
a:link, a:visited { color: #0645ad !important; }
  color:#0645ad !important }
a.new:link, a.new:visited { color: #cc2200 !important; }
a.new:link, a.new:visited {
a.extiw:link, a.extiw:visited { color: #3366bb !important; }
  color:#cc2200 !important }
a.external:link, a.external:visited { color: #3366bb !important; }
a.extiw:link, a.extiw:visited {
  color:#3366bb !important }
a.external:link, a.external:visited {
  color:#3366bb !important }


body {
body {
   background:#f1f1f1;
   background: #f1f1f1;
   background-attachment:fixed;
   background-attachment: fixed;
   color:#313131;
   color: #313131;
   font-family:'Titillium Web',Tahoma,Geneva,sans-serif;
   font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
   font-size:8pt;
   font-size: 8pt;
   line-height:100% }
   line-height: 100%; }


h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
  font-weight:normal }
h5 { font-weight: bold; }
h5 {
  font-weight:bold }


input {
input {
   font-family:'Titillium Web',Tahoma,Geneva,sans-serif;
   font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
   font-size:8pt;
   font-size: 8pt;
   line-height:100% }
   line-height: 100%;
}


pre,textarea {
pre,textarea {
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100% }
   line-height: 100%;
}


/*
/*
  ** Left Sidepanel Containers
  ** Left Sidepanel Containers
  */
  */
#p-nav,#p-search,#p-tb,#footer {
#p-nav,#p-search,#p-tb,#footer { opacity: 0.8; }
  opacity:0.8 }
#p-cactions ul li,#p-cactions ul li a {
#p-cactions ul li,#p-cactions ul li a {
   -moz-border-radius-topleft:0.4em;
  border-radius-topleft: 0.4em;
   -moz-border-radius-topright:0.4em }
  border-radius-topright: 0.4em;
   -moz-border-radius-topleft: 0.4em;
   -moz-border-radius-topright: 0.4em;
  -webkit-border-radius-topleft: 0.4em;
  -webkit-border-radius-topright: 0.4em;
}
#content {
#content {
   -moz-border-radius-topleft:0.6em;
  border-radius-topleft: 0.6em;
   -moz-border-radius-bottomleft: 0.6em }
  border-radius-bottomleft: 0.6em;
   -moz-border-radius-topleft: 0.6em;
   -moz-border-radius-bottomleft: 0.6em;
  -webkit-border-radius-topleft: 0.6em;
  -webkit-border-radius-bottomleft: 0.6em;
}
div.pBody {
div.pBody {
   -moz-border-radius-topright:0.4em;
  border-radius-topright: 0.4em;
   -moz-border-radius-bottomright:0.4em }
  border-radius-bottomright: 0.4em;
   -moz-border-radius-topright: 0.4em;
   -moz-border-radius-bottomright: 0.4em;
  -webkit-border-radius-topright: 0.4em;
  -webkit-border-radius-bottomright: 0.4em;
}


/*
/*
Line 59: Line 69:
  */
  */
div[id=column-one] {
div[id=column-one] {
   position:fixed;
   position: fixed;
   height:100%;
   height: 100%;
   overflow: auto;
   overflow: auto;
   z-index:2; }
   z-index: 2;
div#p-lang .pBody ul{
}
  height:10em;
div#p-lang .pBody ul{ height: 10em; overflow: auto; }
  overflow:auto; }
div#footer {
div#footer {
   margin-left:13.6em;
   margin-left: 13.6em;
   border-left:solid 1px rgb(250, 189, 35);
   border-left: solid 1px rgb(250, 189, 35);
   -moz-border-radius-topleft:1em;  
  border-radius-topleft: 1em;
   -moz-border-radius-bottomleft:1em; }
  border-radius-bottomleft: 1em;
   -moz-border-radius-topleft: 1em;  
   -moz-border-radius-bottomleft: 1em;
  -webkit-border-radius-topleft: 1em;
  -webkit-border-radius-bottomleft: 1em;
}
/* Fix toolbar */
/* Fix toolbar */
#p-personal {
#p-personal {
Line 84: Line 98:
   background: none;
   background: none;
   overflow: visible;
   overflow: visible;
   line-height: 18px; }
   line-height: 18px;
#p-personal h5 {
}
  display:none; }
#p-personal h5 { display: none; }
#p-personal .portlet,
#p-personal .portlet,
#p-personal .pBody {
#p-personal .pBody {
   padding:0;
   padding: 0;
   margin:0;
   margin: 0;
   border:none;
   border: none;
   z-index:0;
   z-index: 0;
   overflow:visible;
   overflow: visible;
   background:none; }
   background: none;
}
/* this is the ul contained in the portlet */
/* this is the ul contained in the portlet */
#p-personal ul {
#p-personal ul {
   border:none;
   border: none;
   line-height:18px;
   line-height: 18px;
   color:#2f6fab;
   color: #2f6fab;
   padding:0em 2em 0 3em;
   padding: 0em 2em 0 3em;
   margin:0;
   margin: 0;
   text-align:right;
   text-align: right;
   text-transform:lowercase;
   text-transform: lowercase;
   list-style:none;
   list-style: none;
   z-index:0;
   z-index: 0;
   background:none; }
   background: none;
}
#p-personal li {
#p-personal li {
   z-index:0;
   z-index: 0;
   border:none;
   border: none;
   padding:0;
   padding: 0;
   display:inline;
   display: inline;
   color:#2f6fab;
   color: #2f6fab;
   margin-left:1em;
   margin-left: 1em;
   line-height:18px;
   line-height: 18px;
   background:none; }
   background: none;
}
#p-personal li a {
#p-personal li a {
   text-decoration:none;
   text-decoration: none;
   color:#005896;
   color: #005896;
   padding: 0 4px;
   padding: 0 4px;
   padding-bottom:0.2em;
   padding-bottom: 0.2em;
   border-top: 1px solid #f1f1f1;
   border-top: 1px solid #f1f1f1;
   border-left: 1px solid #f1f1f1;
   border-left: 1px solid #f1f1f1;
   border-right: 1px solid #f1f1f1;
   border-right: 1px solid #f1f1f1;
   background:none; }
   background: none;
}
#p-personal li a:hover {
#p-personal li a:hover {
   background-color:#fff;
   background-color: #fff;
   border-top: 1px solid #000;
   border-top: 1px solid #000;
   border-left: 1px solid #000;
   border-left: 1px solid #000;
   border-right: 1px solid #000;
   border-right: 1px solid #000;
   padding-bottom:0.2em;
   padding-bottom: 0.2em;
   text-decoration:none; }
   text-decoration: none;
}
li#pt-userpage,
li#pt-userpage,
li#pt-anonuserpage,
li#pt-anonuserpage,
Line 138: Line 157:
   background: url(/img/icons-shadowless/user-worker-boss.png) top left no-repeat;
   background: url(/img/icons-shadowless/user-worker-boss.png) top left no-repeat;
   padding-left: 20px;
   padding-left: 20px;
   text-transform: none; }
   text-transform: none;
}


#footer #f-list {
#footer #f-list { position: relative; top: 2px; }
  position:relative;
#footer #f-poweredbyico { position: relative; top: -1px; }
  top:2px; }
#footer #f-poweredbyico {
  position:relative;
  top:-1px; }


/*
/*
  ** Highlight Clicked References
  ** Highlight Clicked References
  */
  */
ol.references > li:target { background-color:#ddeeff; }
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color:#ddeeff; }
sup.reference:target { background-color: #ddeeff; }


/*
/*
  ** Right Aligned TOC
  ** Right Aligned TOC
  */
  */
div#tocalign {
div#tocalign { float: right; margin-left: 25px; }
  float:right;
  margin-left:25px }


/*
/*
  ** Sortable TABLE
  ** Sortable TABLE
  */
  */
table.sortable { border-collapse:collapse;border-spacing:0;border-top:solid 1px #96aac8;border-bottom:solid 1px #96aac8;margin:0 auto; }
table.sortable { border-collapse: collapse; border-spacing: 0; border-top: solid 1px #96aac8; border-bottom: solid 1px #96aac8; margin: 0 auto; }
table.sortable tr { border:none; }
table.sortable tr { border: none; }
table.sortable td, table.sortable th { border-right:solid 1px #96aac8;border-left:solid 1px #96aac8;padding:5px 10px;vertical-align:center; }
table.sortable td, table.sortable th { border-right: solid 1px #96aac8; border-left: solid 1px #96aac8; padding: 5px 10px; vertical-align: center; }
table.sortable th { border-bottom:solid 1px #96aac8; }
table.sortable th { border-bottom: solid 1px #96aac8; }


/*
/*
Line 172: Line 186:
  */
  */
.template-code {
.template-code {
   background-color:#ffe0e0;
   background-color: #ffe0e0;
   border:1px solid #cc6666;
   border: 1px solid #cc6666;
   border-left:10px solid #cc6666;
   border-left: 10px solid #cc6666;
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100%;
   line-height: 100%;
   margin:0 4px;
   margin: 0 4px;
   padding:2px 6px;
   padding: 2px 6px;
   white-space:pre }
   white-space: pre;
}


/*
/*
Line 186: Line 201:
  */
  */
.template-bbs {
.template-bbs {
   background-color:#090c19;
   background-color: #090c19;
   border:1px solid #313b65;
   border: 1px solid #313b65;
   color:#aeaeae;
   color: #aeaeae;
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100%;
   line-height: 100%;
   margin:0 4px;
   margin: 0 4px;
   padding:4px 8px;
   padding: 4px 8px;
   white-space:pre }
   white-space: pre;
}


/*
/*
Line 200: Line 216:
  */
  */
.template-console {
.template-console {
   background-color:#131313;
   background-color: #131313;
   border:1px solid #434343;
   border: 1px solid #434343;
   color:#a8a8a8;
   color: #a8a8a8;
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100%;
   line-height: 100%;
   margin:0 4px;
   margin: 0 4px;
   padding:4px 8px;
   padding: 4px 8px;
   white-space:pre }
   white-space: pre;
}


/*
/*
Line 214: Line 231:
  */
  */
.template-output {
.template-output {
   background-color:#c1ffc1;
   background-color: #c1ffc1;
   border:1px solid #00B000;
   border: 1px solid #00B000;
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100%;
   line-height: 100%;
   margin:0 4px;
   margin: 0 4px;
   padding:4px 8px;
   padding: 4px 8px;
   white-space:pre }
   white-space: pre;
}


/*
/*
Line 227: Line 245:
  */
  */
.template-note {
.template-note {
   background-color:#f9f9f9;
   background-color: #f9f9f9;
   border:1px dashed #2f6fab;
   border: 1px dashed #2f6fab;
   font-family:'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-size:10pt;
   font-size: 10pt;
   line-height:100%;
   line-height: 100%;
   margin:0 4px;
   margin: 0 4px;
   padding:4px 8px;
   padding: 4px 8px;
   white-space:pre }
   white-space: pre;
}


/*
/*
Line 240: Line 259:
  */
  */
.template-mono {
.template-mono {
   color:#007a00;
   /*color: #007a00;*/
   font-family:'Hack','Lucida Console',Monaco,monospace;
  background: #ffd;
   font-size:10pt;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   line-height:100% }
   font-size: 10pt;
   line-height: 100%;
}


/*
/*
  ** {{Template:Icon}}
  ** {{Template:Icon}}
  */
  */
.template-icon {
.template-icon { position: relative; top: -1px; }
  position:relative;
  top:-1px }


/*
/*
  ** {{Template:IconFix}}
  ** {{Template:IconFix}}
  */
  */
.template-iconfix {
.template-iconfix { position: relative; top: -3px; }
  position:relative;
  top:-3px }


/*
/*
Line 263: Line 280:
  */
  */
.template-infobox {
.template-infobox {
   background-color:#f1f1f1;
   background-color: #f1f1f1;
   border:1px solid #666;
   border: 1px solid #666;
   float:right;
   float: right;
   padding:4px }
   padding: 4px;
}


/*
/*
  ** {{Template:Hardware}}
  ** {{Template:Hardware}}
  */
  */
.template-hardware td {
.template-hardware td { border-bottom: 1px solid #ccc; padding: 2px 6px; }
  border-bottom:1px solid #ccc;
.template-hardware th { background-color: #ccc; }
  padding:2px 6px }
.template-hardware th {
  background-color:#ccc }


/*
/*
Line 281: Line 296:
  */
  */
.inventoryBG {
.inventoryBG {
   background-image:url(//webcdn.pathofexile.com/image/gen/inventory/MainInventory.png);
   background-image: url(//webcdn.pathofexile.com/image/gen/inventory/MainInventory.png);
   width:600px;
   width: 600px;
   height:781px }
   height: 781px;
.itemBG {
}
  background-image:url(//webcdn.pathofexile.com/image/game_ui/inventory_item_background.png) }
.itemBG { background-image: url(//webcdn.pathofexile.com/image/game_ui/inventory_item_background.png); }


/*
/*
Line 293: Line 308:
   -webkit-box-shadow: 0 0 6px rgba(0,0,0,1);
   -webkit-box-shadow: 0 0 6px rgba(0,0,0,1);
   box-shadow: 0 0 6px rgba(0,0,0,1);
   box-shadow: 0 0 6px rgba(0,0,0,1);
   margin:4px 2px; }
   margin: 4px 2px;
}

Revision as of 11:22, 6 July 2017

/*
 ** CSS Additions for Monobook skin
 */
@import url('//cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css');
@import url('https://fonts.googleapis.com/css?family=Titillium+Web');

/*
 ** General CSS
 */
a:link, a:visited { color: #0645ad !important; }
a.new:link, a.new:visited { color: #cc2200 !important; }
a.extiw:link, a.extiw:visited { color: #3366bb !important; }
a.external:link, a.external:visited { color: #3366bb !important; }

body {
  background: #f1f1f1;
  background-attachment: fixed;
  color: #313131;
  font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
  font-size: 8pt;
  line-height: 100%; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h5 { font-weight: bold; }

input {
  font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
  font-size: 8pt;
  line-height: 100%;
}

pre,textarea {
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
}

/*
 ** Left Sidepanel Containers
 */
#p-nav,#p-search,#p-tb,#footer { opacity: 0.8; }
#p-cactions ul li,#p-cactions ul li a {
  border-radius-topleft: 0.4em;
  border-radius-topright: 0.4em;
  -moz-border-radius-topleft: 0.4em;
  -moz-border-radius-topright: 0.4em;
  -webkit-border-radius-topleft: 0.4em;
  -webkit-border-radius-topright: 0.4em;
}
#content {
  border-radius-topleft: 0.6em;
  border-radius-bottomleft: 0.6em;
  -moz-border-radius-topleft: 0.6em;
  -moz-border-radius-bottomleft: 0.6em;
  -webkit-border-radius-topleft: 0.6em;
  -webkit-border-radius-bottomleft: 0.6em;
}
div.pBody {
  border-radius-topright: 0.4em;
  border-radius-bottomright: 0.4em;
  -moz-border-radius-topright: 0.4em;
  -moz-border-radius-bottomright: 0.4em;
  -webkit-border-radius-topright: 0.4em;
  -webkit-border-radius-bottomright: 0.4em;
}

/*
 ** Fixed Sidebar
 */
div[id=column-one] {
  position: fixed;
  height: 100%;
  overflow: auto;
  z-index: 2;
}
div#p-lang .pBody ul{ height: 10em; overflow: auto; }
div#footer {
  margin-left: 13.6em;
  border-left: solid 1px rgb(250, 189, 35);
  border-radius-topleft: 1em; 
  border-radius-bottomleft: 1em;
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
  -webkit-border-radius-topleft: 1em; 
  -webkit-border-radius-bottomleft: 1em;
}
/* Fix toolbar */
#p-personal {
  width: 50%;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 20px;
  z-index: 5;
  border: none;
  background: none;
  overflow: visible;
  line-height: 18px;
}
#p-personal h5 { display: none; }
#p-personal .portlet,
#p-personal .pBody {
  padding: 0;
  margin: 0;
  border: none;
  z-index: 0;
  overflow: visible;
  background: none;
}
/* this is the ul contained in the portlet */
#p-personal ul {
  border: none;
  line-height: 18px;
  color: #2f6fab;
  padding: 0em 2em 0 3em;
  margin: 0;
  text-align: right;
  text-transform: lowercase;
  list-style: none;
  z-index: 0;
  background: none;
}
#p-personal li {
  z-index: 0;
  border: none;
  padding: 0;
  display: inline;
  color: #2f6fab;
  margin-left: 1em;
  line-height: 18px;
  background: none;
}
#p-personal li a {
  text-decoration: none;
  color: #005896;
  padding: 0 4px;
  padding-bottom: 0.2em;
  border-top: 1px solid #f1f1f1;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  background: none;
}
#p-personal li a:hover {
  background-color: #fff;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding-bottom: 0.2em;
  text-decoration: none;
}
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
  /* @embed */
  background: url(/img/icons-shadowless/user-worker-boss.png) top left no-repeat;
  padding-left: 20px;
  text-transform: none;
}

#footer #f-list { position: relative; top: 2px; }
#footer #f-poweredbyico { position: relative; top: -1px; }

/*
 ** Highlight Clicked References
 */
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }

/*
 ** Right Aligned TOC
 */
div#tocalign { float: right; margin-left: 25px; }

/*
 ** Sortable TABLE
 */
table.sortable { border-collapse: collapse; border-spacing: 0; border-top: solid 1px #96aac8; border-bottom: solid 1px #96aac8; margin: 0 auto; }
table.sortable tr { border: none; }
table.sortable td, table.sortable th { border-right: solid 1px #96aac8; border-left: solid 1px #96aac8; padding: 5px 10px; vertical-align: center; }
table.sortable th { border-bottom: solid 1px #96aac8; }

/*
 ** {{Template:Code}}
 */
.template-code {
  background-color: #ffe0e0;
  border: 1px solid #cc6666;
  border-left: 10px solid #cc6666;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
  margin: 0 4px;
  padding: 2px 6px;
  white-space: pre;
}

/*
 ** {{Template:BBS}} & {{Template:BBSright}}
 */
.template-bbs {
  background-color: #090c19;
  border: 1px solid #313b65;
  color: #aeaeae;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
  margin: 0 4px;
  padding: 4px 8px;
  white-space: pre;
}

/*
 ** {{Template:Console}} & {{Template:ConsoleRight}}
 */
.template-console {
  background-color: #131313;
  border: 1px solid #434343;
  color: #a8a8a8;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
  margin: 0 4px;
  padding: 4px 8px;
  white-space: pre;
}

/*
 ** {{Template:Output}}
 */
.template-output {
  background-color: #c1ffc1;
  border: 1px solid #00B000;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
  margin: 0 4px;
  padding: 4px 8px;
  white-space: pre;
}

/*
 ** {{Template:Note}}
 */
.template-note {
  background-color: #f9f9f9;
  border: 1px dashed #2f6fab;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
  margin: 0 4px;
  padding: 4px 8px;
  white-space: pre;
}

/*
 ** {{Template:Mono}}
 */
.template-mono {
  /*color: #007a00;*/
  background: #ffd;
  font-family: 'Hack','Lucida Console',Monaco,monospace;
  font-size: 10pt;
  line-height: 100%;
}

/*
 ** {{Template:Icon}}
 */
.template-icon { position: relative; top: -1px; }

/*
 ** {{Template:IconFix}}
 */
.template-iconfix { position: relative; top: -3px; }

/*
 ** {{Template:Infobox}}
 */
.template-infobox {
  background-color: #f1f1f1;
  border: 1px solid #666;
  float: right;
  padding: 4px;
}

/*
 ** {{Template:Hardware}}
 */
.template-hardware td { border-bottom: 1px solid #ccc; padding: 2px 6px; }
.template-hardware th { background-color: #ccc; }

/*
 ** Path of Exile
 */
.inventoryBG {
  background-image: url(//webcdn.pathofexile.com/image/gen/inventory/MainInventory.png);
  width: 600px;
  height: 781px;
}
.itemBG { background-image: url(//webcdn.pathofexile.com/image/game_ui/inventory_item_background.png); }

/*
 ** DIY Images 
 */
.diy {
  -webkit-box-shadow: 0 0 6px rgba(0,0,0,1);
  box-shadow: 0 0 6px rgba(0,0,0,1);
  margin: 4px 2px;
}