MediaWiki:Monobook.css: Difference between revisions

From Wiki³
mNo edit summary
mNo edit summary
Line 2: Line 2:
  ** CSS Additions for Monobook skin
  ** CSS Additions for Monobook skin
  */
  */
@import url('//cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css');
@import url('//cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css');
@import url('//fonts.googleapis.com/css?family=Titillium+Web');
@import url('//fonts.googleapis.com/css?family=Titillium+Web');


/*
/* Links */
** General CSS
*/
a:link, a:active, a:visited { color: #07b !important; }
a:link, a:active, a:visited { color: #07b !important; }
a:hover { color: #666 !important; }
a:hover { color: #666 !important; }
/* Links - Page Does Not Exist */
a.new:link, a.new:active, a.new:visited { color: #a00 !important; }
a.new:link, a.new:active, a.new:visited { color: #a00 !important; }
a.new:hover { color: #666 !important; }
a.new:hover { color: #666 !important; }
/* Links - External Wikipedia */
a.extiw:link, a.extiw:active, a.extiw:visited { color: #07b !important; }
a.extiw:link, a.extiw:active, a.extiw:visited { color: #07b !important; }
a.extiw:hover { color: #666 !important; }
a.extiw:hover { color: #666 !important; }
/* Links - External */
a.external:link, a.external:active, a.external:visited { color: #07b !important; }
a.external:link, a.external:active, a.external:visited { color: #07b !important; }
a.external:hover { color: #666 !important; }
a.external:hover { color: #666 !important; }
/*
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 - Colors / Fonts */
body {
body {
   background: #f1f1f1;
   background: #f1f1f1;
Line 31: Line 31:
   line-height: 100%; }
   line-height: 100%; }


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


/* Inputs - Font */
input {
input {
   font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
   font-family: 'Titillium Web',Tahoma,Geneva,sans-serif;
Line 40: Line 42:
}
}


/* Textarea - Monospace Font */
pre,textarea {
pre,textarea {
   font-family: 'Hack','Lucida Console',Monaco,monospace;
   font-family: 'Hack','Lucida Console',Monaco,monospace;
Line 46: Line 49:
}
}


/*
/* Read-Only Mode - Color */
* Wiki Read-Only Mode
*/
#mw-read-only-warning { color: #a00; }
#mw-read-only-warning { color: #a00; }
#mw-read-only-warning > p > strong { display: block; }
#mw-read-only-warning > p > strong { display: block; }


/*
/* Sidepanel - Rounded Corners / No Headers */
** Left Sidepanel Containers
*/
#p-cactions ul li,#p-cactions ul li a {
#p-cactions ul li,#p-cactions ul li a {
   border-radius: 0.4em 0.4em 0 0;
   border-radius: 0.4em 0.4em 0 0;
Line 75: Line 74:




/*
/* Footer - Text Position */
* Fix Footer Text
*/
#footer #f-list { position: relative; top: 7px; }
#footer #f-list { position: relative; top: 7px; }
#footer #f-poweredbyico { position: relative; top: -1px; }
#footer #f-poweredbyico { position: relative; top: -1px; }


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


/*
/* TOC - Alignment (Right) */
** Right Aligned TOC
*/
div#tocalign { float: right; margin-left: 25px; }
div#tocalign { 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; }
Line 100: Line 91:
table.sortable th { border-bottom: solid 1px #96aac8; }
table.sortable th { border-bottom: solid 1px #96aac8; }


/*
/* Template:Code */
** {{Template:Code}}
*/
.template-code {
.template-code {
   background-color: #ffe0e0;
   background-color: #ffe0e0;
Line 115: Line 104:
}
}


/*
/* Template:BBS & Template:BBSright */
** {{Template:BBS}} & {{Template:BBSright}}
*/
.template-bbs {
.template-bbs {
   background-color: #090c19;
   background-color: #090c19;
Line 130: Line 117:
}
}


/*
/* Template:Console & Template:ConsoleRight */
** {{Template:Console}} & {{Template:ConsoleRight}}
*/
.template-console {
.template-console {
   background-color: #131313;
   background-color: #131313;
Line 145: Line 130:
}
}


/*
/* Template:Output */
** {{Template:Output}}
*/
.template-output {
.template-output {
   background-color: #c1ffc1;
   background-color: #c1ffc1;
Line 159: Line 142:
}
}


/*
/* Template:Note */
** {{Template:Note}}
*/
.template-note {
.template-note {
   background-color: #f9f9f9;
   background-color: #f9f9f9;
Line 173: Line 154:
}
}


/*
/* Template:Mono */
** {{Template:Mono}}
*/
.template-mono {
.template-mono {
   color: #007a00;
   color: #007a00;
Line 183: Line 162:
}
}


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


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


/*
/* Template:Infobox */
** {{Template:Infobox}}
*/
.template-infobox {
.template-infobox {
   background-color: #f1f1f1;
   background-color: #f1f1f1;
Line 203: Line 176:
}
}


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


/*
/* Path of Exile */
** Path of Exile
*/
.inventoryBG {
.inventoryBG {
   background-image: url(//webcdn.pathofexile.com/image/gen/inventory/MainInventory.png);
   background-image: url(//webcdn.pathofexile.com/image/gen/inventory/MainInventory.png);
Line 219: Line 188:
.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); }


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

Revision as of 22:03, 6 July 2017

/*
 ** CSS Additions for Monobook skin
 */

@import url('//cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css');
@import url('//fonts.googleapis.com/css?family=Titillium+Web');

/* Links */
a:link, a:active, a:visited { color: #07b !important; }
a:hover { color: #666 !important; }

/* Links - Page Does Not Exist */
a.new:link, a.new:active, a.new:visited { color: #a00 !important; }
a.new:hover { color: #666 !important; }

/* Links - External Wikipedia */
a.extiw:link, a.extiw:active, a.extiw:visited { color: #07b !important; }
a.extiw:hover { color: #666 !important; }

/* Links - External */
a.external:link, a.external:active, a.external:visited { color: #07b !important; }
a.external:hover { color: #666 !important; }

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

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

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

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

/* Read-Only Mode - Color */
#mw-read-only-warning { color: #a00; }
#mw-read-only-warning > p > strong { display: block; }

/* Sidepanel - Rounded Corners / No Headers */
#p-cactions ul li,#p-cactions ul li a {
  border-radius: 0.4em 0.4em 0 0;
  -moz-border-radius: 0.4em 0.4em 0 0;
  -webkit-border-radius: 0.4em 0.4em 0 0;
}
#content {
  border-radius: 0.6em 0 0 0.6em;
  -moz-border-radius: 0.6em 0 0 0.6em;
  -webkit-border-radius: 0.6em 0 0 0.6em;
}
div.pBody {
  border-radius: 0 0.4em 0.4em 0;
  -moz-border-radius: 0 0.4em 0.4em 0;
  -webkit-border-radius: 0 0.4em 0.4em 0;
}
.portlet h3 { display: none; }
#p-search.portlet { position: relative; top: 16px; }
#p-tb.portlet { position: relative; top: 32px; }


/* Footer - Text Position */
#footer #f-list { position: relative; top: 7px; }
#footer #f-poweredbyico { position: relative; top: -1px; }

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

/* TOC - Alignment (Right) */
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;
  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;
}