MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
PeaceDeadC (talk | contribs) Created page with "/* * MediaWiki upgrade note: * On the server side, the following style files are modified for PBC: * * resources/src/mediawiki.skinning/elements.css * skins/Vector/variab..." |
PeaceDeadC (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
Line 58:
li {
list-style-position: inside;
}
.mobile-indicators {
display: flex;
justify-content: flex-end;
order: 10;
}
/******************************
/* Prettytable (Black tables) *
/******************************/
table.wikitable > tr > td.prettytables,
table.wikitable > * > tr > td.prettytables,
table.wikitable > tr > th.prettytables,
table.wikitable > * > tr > th.prettytables,
table.wikitable > tr.prettytables > th,
table.wikitable > * > tr.prettytables > th,
table.wikitable > tr.prettytables > td,
table.wikitable > * > tr.prettytables > td,
table.wikitable.prettytables > tr > th,
table.wikitable.prettytables > * > tr > th,
table.wikitable.prettytables > tr > td,
table.wikitable.prettytables > * > tr > td {
background: linear-gradient(180deg, rgba(39, 43, 55,.8) 0%, rgba(41, 41, 51,.8) 50%, rgba(32, 32, 41,.8) 100%);
}
Line 68 ⟶ 93:
span.bisexual a { color: red; }
span.straight a { color: red; }
span.hivnegative a { color: green; }
span.hivpositive a { color: red; }
span.reference /* for Parsoid */ {
Line 99 ⟶ 126:
}
div.nav .box { width:
div.nav.thin .box { width:
div.nav.wide .box { width:
div.nav.full .box { width:unset; }
Line 240 ⟶ 267:
}
/* sex orientation nav */
div.nav.mech1 .heading { background-color:#69C; }▼
div.nav.
div.nav.sexorientation .heading-white { background-color:#69C; }
div.nav.mech1 dd,▼
div.nav.
div.nav.sexorientation dt,
div.nav.mech1 table th { border-color:#69C; }▼
div.nav.sexorientation table th { border-color:#69C; }
/* hivstatus */
.table.hivstatus > :first-child > tr:first-child,
.table.hivstatus > :first-child > tr:first-child > *,
.table.hivstatus > * > tr.heading,
.table.hivstatus > * > tr.heading > * {
background-color:#6C3 !important;
border-color:#52A329 !important;
}
.table.hivstatus > * > tr > th,
.table > * > tr.npc > th {
background-color:#B3E699;
border-color:#8FB87A;
}
.table.hivstatus > tbody > tr:nth-child(odd),
.table > tbody > tr.npc:nth-child(odd) {
background-color:#E8F8E1;
}
div.nav.hivstatus dt,
div.nav .hivstatus a {
color:#FFFFFF;
}
/* Hide and reduce margins of horizontal rules between multiple navs */
Line 533 ⟶ 587:
line-height: normal;
}
/* Biobox4 Form tables */
div.infobox.biobox4form .heading { background-color:#066; }
div.infobox.biobox4form dd,
div.infobox.biobox4form dt { border-color:#066; }
.table.biobox4form > :first-child > tr:first-child,
.table.biobox4form > :first-child > tr:first-child > *,
.table.biobox4form > * > tr.heading,
.table.biobox4form > * > tr.heading > * {
background-color:#72C1D9 !important;
border-color:#5B9AAE !important;
}
.table.biobox4form > * > tr > th,
.table > * > tr.biobox4form > th {
background-color:#B9E0EC;
border-color:#94B3BD;
}
.table.biobox4form > tbody > tr:nth-child(odd),
.table > tbody > tr.biobox4form:nth-child(odd) {
background-color:#EAF6F9;
}
div.nav.biobox4form .heading { background-color:#39C; }
div.nav.biobox4form dd,
div.nav.biobox4form dt,
div.nav.biobox4form table th { border-color:#39C; }
.table.bioboxform { width:100%; max-width:100em; display:table; }
.table.bioboxform > :first-child > tr:first-child ~ tr th[colspan] { text-align:left; }
.table.bioboxform > :first-child > tr:first-child ~ tr th[colspan] span.editsection { display:none; }
.table.bioboxform > :first-child > tr:first-child ~ tr th[colspan] h4 { margin-top:5px !important; margin-bottom:5px !important; }
/* Highlight data points in the info action if specified in the URL */
Line 2,400 ⟶ 2,486:
margin: 1px;
margin-left: 0.5em;
float:right;
}
Line 2,414 ⟶ 2,501:
text-align: center;
overflow: hidden;
float:right;
}
| |||