Difference between revisions of "MediaWiki:Common.css"

From Pangaea Wiki
Jump to: navigation, search
 
(144 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/**** Background ****/
 
html,body {background-color:#0e0907}
 
div#mw-head {background:#0e0907 url(/resources/assets/pang/pangaea-header.png); background-repeat: no-repeat; background-position: left top}
 
  
div#mw-head div.vectorMenu h3 span, div#p-personal a, div#mw-panel div.portal div.body ul li a:link, div#mw-panel div.portal div.body ul li a:visited, div#footer a{color:#ff3f00}
+
/* list styling */
 +
.mw-content-ltr ul {list-style-image:url(resources/assets/pang/bullet_ankh.png)}
  
div#mw-panel div.portal h3, div#footer #footer-info-lastmod {color:#fffffb}
+
/* ============= MAIN GRID (navigation) ===================== */
 +
#main-page-navigation {
 +
  display: grid;
 +
  grid-template-columns:1fr 1fr 1fr;
 +
}
  
.new a:link, .new a:visited {color:#ba0000}
+
/* ============= TABLE THEMES===================== */
 +
/* WIKITABLE (default) */
  
 +
table.wikitable {
 +
  margin: 1em 0;
 +
  background-color:#fff7e4;
 +
  border: 1px solid #561503;
 +
  border-collapse: collapse;
 +
  color: #000;
 +
}
 +
table.wikitable > tr > th,
 +
table.wikitable > tr > td,
 +
table.wikitable > * > tr > th,
 +
table.wikitable > * > tr > td {
 +
  border: 1px solid #561503;
 +
  padding: 0.2em 0.4em;
 +
}
 +
table.wikitable > tr > th,
 +
table.wikitable > * > tr > th {
 +
  background-color: #8a2405;
 +
  text-align: center; color:#fff;
 +
}
 +
table.wikitable > * th > a{color:#ffdc58;}
 +
table.wikitable > * td > a{color:#8a2405;}
 +
table.wikitable > caption {
 +
  font-weight: bold;
 +
}
 +
/* ============= MESSAGE BOX ===================== */
 +
/* Messagebox templates */
 +
.messagebox {
 +
    border: 1px solid #a2a9b1;
 +
    background-color: #f8f9fa;
 +
    width: 80%;
 +
    margin: 0 auto 1em auto;
 +
    padding: .2em;
 +
}
 +
.messagebox.merge {
 +
    border: 1px solid #c0b8cc;
 +
    background-color: #f0e5ff;
 +
    text-align: center;
 +
}
 +
.messagebox.cleanup {
 +
    border: 1px solid #9f9fff;
 +
    background-color: #efefff;
 +
    text-align: center;
 +
}
 +
.messagebox.standard-talk {
 +
    border: 1px solid #c0c090;
 +
    background-color: #f8eaba;
 +
    margin: 4px auto;
 +
}
 +
/* For old WikiProject banners inside banner shells. */
 +
.mbox-inside .standard-talk,
 +
.messagebox.nested-talk {
 +
    border: 1px solid #c0c090;
 +
    background-color: #f8eaba;
 +
    width: 100%;
 +
    margin: 2px 0;
 +
    padding: 2px;
 +
}
 +
.messagebox.small {
 +
    width: 238px;
 +
    font-size: 85%;
 +
    /* @noflip */
 +
    float: right;
 +
    clear: both;
 +
    /* @noflip */
 +
    margin: 0 0 1em 1em;
 +
    line-height: 1.25em;
 +
}
 +
.messagebox.small-talk {
 +
    width: 238px;
 +
    font-size: 85%;
 +
    /* @noflip */
 +
    float: right;
 +
    clear: both;
 +
    /* @noflip */
 +
    margin: 0 0 1em 1em;
 +
    line-height: 1.25em;
 +
    background: #F8EABA;
 +
}
  
/**** Content ****/
+
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
div#content {background:#333; color:#f78d43;border: 1px #333;}
+
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
div#content a:link, div#content a:visited {color:#8fb662}
+
    border: none;
h1,h2,h3,h4 {color:#8fb662}
+
    /* @noflip */
 +
    padding: 0.25em 0.9em;    /* 0.9em left/right */
 +
    width: 100%;              /* Make all mboxes the same width regardless of text length */
 +
}
 +
td.mbox-image {               /* The left image cell */
 +
    border: none;
 +
    /* @noflip */
 +
    padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
 +
    text-align: center;
 +
}
 +
td.mbox-imageright {          /* The right image cell */
 +
    border: none;
 +
    /* @noflip */
 +
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
 +
    text-align: center;
 +
}
 +
td.mbox-empty-cell {           /* An empty narrow cell */
 +
    border: none;
 +
    padding: 0;
 +
    width: 1px;
 +
}
  
/**** EDIT options ****/
+
/* Article message box styles */
 +
table.ambox {
 +
    margin: 0 10%;                  /* 10% = Will not overlap with other elements */
 +
    border: 1px solid #a2a9b1;
 +
    /* @noflip */
 +
    border-left: 10px solid #36c;  /* Default "notice" blue */
 +
    background: #fbfbfb;
 +
}
 +
table.ambox + table.ambox {      /* Single border between stacked boxes. */
 +
    margin-top: -1px;
 +
}
 +
.ambox th.mbox-text,
 +
.ambox td.mbox-text {            /* The message body cell(s) */
 +
    padding: 0.25em 0.5em;      /* 0.5em left/right */
 +
}
 +
.ambox td.mbox-image {          /* The left image cell */
 +
    /* @noflip */
 +
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
 +
}
 +
.ambox td.mbox-imageright {      /* The right image cell */
 +
    /* @noflip */
 +
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
 +
}
  
div.vectorTabs li.selected span, div.vectorTabs li.selected span a, {color:ba0000;#background:#333;}
+
table.ambox-notice {
div#p-namespaces a, div#p-views a {background:#333;background-repeat:no-repeat;color:#8fb662;}
+
    /* @noflip */
div.editOptions {background:#333;border:none;}
+
    border-left: 10px solid #36c;   /* Blue */
 +
}
 +
table.ambox-speedy {
 +
    /* @noflip */
 +
    border-left: 10px solid #b32424;    /* Red */
 +
    background: #fee7e6;                   /* Pink */
 +
}
 +
table.ambox-delete {
 +
    /* @noflip */
 +
    border-left: 10px solid #b32424;    /* Red */
 +
}
 +
table.ambox-content {
 +
    /* @noflip */
 +
    border-left: 10px solid #f28500;   /* Orange */
 +
}
 +
table.ambox-style {
 +
    /* @noflip */
 +
    border-left: 10px solid #fc3;   /* Yellow */
 +
}
 +
table.ambox-move {
 +
    /* @noflip */
 +
    border-left: 10px solid #9932cc;   /* Purple */
 +
}
 +
table.ambox-protection {
 +
    /* @noflip */
 +
    border-left: 10px solid #a2a9b1;       /* Gray-gold */
 +
}
  
/**** Table Themes ****/
 
/* pangtable */
 
  
table.pangtable {
+
/* "Muted" v0.1 color bars for the article message box templates */
   margin: 1em 0;
+
table.mbox-delete {
  background-color: #f9f9f9;
+
   border-left: 10px solid #B22222 ;
  border: 1px solid #aaa;
+
  border-collapse: collapse;
+
  color: black;
+
 
}
 
}
table.pangtable > tr > th,
+
table.mbox-content {
table.pangtable > tr > td,
+
   border-left: 10px solid #FFCC66 ;
table.pangtable > * > tr > th,
+
table.pangtable > * > tr > td {
+
   border: 1px solid #aaa;
+
  padding: 0.2em 0.4em;
+
 
}
 
}
table.pangtable > tr > th,
+
table.mbox-style {
table.pangtable > * > tr > th {
+
   border-left: 10px solid #F3EF84 ;
   background-color: #f2f2f2;
+
  text-align: center;
+
 
}
 
}
table.pangtable > caption {
+
table.mbox-move {
   font-weight: bold;
+
   border-left: 10px solid #BB99FF ;
 +
}
 +
table.mbox-notice {
 +
  border-left: 10px solid #BBE3F4 ;
 +
}
 +
/*  NAVBOX WIKITABLE */
 +
table.navbox {                    /* Navbox container style */
 +
    border: 1px solid #989cb7;
 +
    width: 100%;
 +
    margin: auto;
 +
    clear: both;
 +
    font-size: 88%;
 +
    text-align: center;
 +
    padding: 1px;
 +
}
 +
.navbox-inner,
 +
.navbox-subgroup {
 +
    width: 100%;
 +
}
 +
.navbox-group,
 +
.navbox-title,
 +
.navbox-abovebelow {
 +
    padding: 0.25em 1em;      /* Title, group and above/below styles */
 +
    line-height: 1.5em;
 +
    text-align: center;
 +
}
 +
th.navbox-group {            /* Group style */
 +
    white-space: nowrap;
 +
    /* @noflip */
 +
    text-align: right;
 +
}
 +
.navbox,
 +
.navbox-subgroup {
 +
    background: #fdfdfd;      /* Background color */
 +
}
 +
.navbox-list {
 +
    line-height: 1.8em;
 +
    border-color: #fdfdfd;    /* Must match background color */
 +
}
 +
.navbox th,
 +
.navbox-title {
 +
    background: #ccccff;      /* Level 1 color */
 +
}
 +
.navbox-abovebelow,
 +
th.navbox-group,
 +
.navbox-subgroup .navbox-title {
 +
    background: #ddddff;      /* Level 2 color */
 +
}
 +
.navbox-subgroup .navbox-group,
 +
.navbox-subgroup .navbox-abovebelow {
 +
    background: #e6e6ff;      /* Level 3 color */
 +
}
 +
.navbox-even {
 +
    background: #f7f7f7;      /* Even row striping */
 +
text-align:left;
 +
}
 +
.navbox-odd {
 +
    background: transparent;  /* Odd row striping */
 +
text-align:left;
 +
}
 +
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
 +
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
 +
}
 +
.navbox .hlist td dl,
 +
.navbox .hlist td ol,
 +
.navbox .hlist td ul,
 +
.navbox td.hlist dl,
 +
.navbox td.hlist ol,
 +
.navbox td.hlist ul {
 +
    padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
 +
}
 +
ol + table.navbox,
 +
ul + table.navbox {
 +
    margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
 
}
 
}

Latest revision as of 16:08, 20 August 2018

/* CSS placed here will be applied to all skins */


/* list styling */
.mw-content-ltr ul {list-style-image:url(resources/assets/pang/bullet_ankh.png)}

/* ============= MAIN GRID (navigation) ===================== */
#main-page-navigation {
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
}

/* ============= TABLE THEMES===================== */
/* WIKITABLE (default) */

table.wikitable {
  margin: 1em 0;
  background-color:#fff7e4;
  border: 1px solid #561503;
  border-collapse: collapse;
  color: #000;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
  border: 1px solid #561503;
  padding: 0.2em 0.4em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
  background-color: #8a2405;
  text-align: center; color:#fff;
}
table.wikitable > * th > a{color:#ffdc58;}
table.wikitable > * td > a{color:#8a2405;}
table.wikitable > caption {
  font-weight: bold;
}
/* ============= MESSAGE BOX ===================== */
/* Messagebox templates */
.messagebox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
    border: none;
    /* @noflip */
    padding: 0.25em 0.9em;     /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
    border: none;
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;
}
td.mbox-imageright {           /* The right image cell */
    border: none;
    /* @noflip */
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
    border: none;
    padding: 0;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #a2a9b1;
    /* @noflip */
    border-left: 10px solid #36c;  /* Default "notice" blue */
    background: #fbfbfb;
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    /* @noflip */
    border-left: 10px solid #36c;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b32424;    /* Red */
    background: #fee7e6;                   /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b32424;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #fc3;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #a2a9b1;       /* Gray-gold */
}


/* "Muted" v0.1 color bars for the article message box templates */
table.mbox-delete {
  border-left: 10px solid #B22222 ;
}
table.mbox-content {
  border-left: 10px solid #FFCC66 ;
}
table.mbox-style {
  border-left: 10px solid #F3EF84 ;
}
table.mbox-move {
  border-left: 10px solid #BB99FF ;
}
table.mbox-notice {
  border-left: 10px solid #BBE3F4 ;
}
/*  NAVBOX WIKITABLE */
table.navbox {                     /* Navbox container style */
    border: 1px solid #989cb7;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
	text-align:left;
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
	text-align:left;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}