MediaWiki:Common.css: Difference between revisions

From Lost Waves Wiki
(Added another CSS Style.)
No edit summary
 
(118 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.vector-header-container, .mw-page-container
{
    padding: 0px 22px !important;
}


.infobox { border: 1px solid #a2a9b1; background: #f8f9fa; margin-bottom: .5em; margin-left: 1em; padding: .4em; float: right; clear: right; font-size: 90%; width: 23em; vertical-align: middle; text-align: left; line-height: 1.5em; border-collapse: separate; border-spacing: 2px; } .infobox > caption { font-size: 125%; font-weight: bold; padding: .2em; } .infobox td, .infobox th { vertical-align: top; }
.vector-main-menu-container
{
    width: 200px;
}


.infobox-above { background: #cfe3ff; font-size: 120%; text-align: center; } .infobox-image { padding-left: 0; padding-right: 0; text-align: center; } .infobox-header { background: #dcebff; text-align: center; } .infobox-below { background: #dcebff; text-align: center; }
.mw-page-container-inner
{
    column-gap: 4px !important;
}


.infobox-child { width: 100%; margin: 0; padding: 0; border: none; font-size: 100%; }
.infobox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
margin-bottom: .5em;
margin-left: 1em;
padding: .4em;
float: right;
clear: right;
font-size: 90%;
width: 23em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px;
}
.infobox > caption {
font-size: 125%;
font-weight: bold;
padding: .2em;
}
.infobox td,
.infobox th {
vertical-align: top;
}


.infobox th:not(.noplainlist) > ul, .infobox td:not(.noplainlist) > ul, .infobox [data-wikidata-property-id] > ul { list-style-type: none; list-style-image: none; margin: 0; } .infobox .noplainlist > ul:first-child { margin-top: 0; } .infobox th > ol, .infobox td > ol, .infobox [data-wikidata-property-id] > ol { margin: 0 0 0 2em; } .infobox th > dl, .infobox td > dl, .infobox [data-wikidata-property-id] > dl { margin: 0; } .infobox li, .infobox dt, .infobox dd { margin-bottom: 0; } .infobox th > ol.references, .infobox td > ol.references { line-height: 1.25em; } .infobox th > ol.references li, .infobox td > ol.references li { margin-bottom: 0.1em; } .infobox th > ol.references li:last-child, .infobox td > ol.references li:last-child { margin-bottom: 0; }
.infobox-above {
background: #cfe3ff;
font-size: 120%;
text-align: center;
}
.infobox-image {
padding-left: 0;
padding-right: 0;
text-align: center;
}
.infobox-header {
background: #dcebff;
text-align: center;
}
.infobox-below {
background: #dcebff;
text-align: center;
}


/* ToDo: temporarily fix */ .infobox td p { margin: 0 !important; }
.infobox-child {
width: 100%;
margin: 0;
padding: 0;
border: none;
font-size: 100%;
}


.infobox small, .navbox small, .references small { font-size: 90%; }
.infobox th:not(.noplainlist) > ul,
.infobox td:not(.noplainlist) > ul,
.infobox [data-wikidata-property-id] > ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
.infobox .noplainlist > ul:first-child {
margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
margin-bottom: 0;
}
 
/* ToDo: temporarily fix */
.infobox td p {
margin: 0 !important;
}
 
.infobox small,
.navbox small,
.references small {
font-size: 90%;
}
 
.thumb-player
{
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.thumb-player .player-mini
{
    position: absolute;
}
 
audio, video
{
    vertical-align: middle;
}
 
.player-mini
{
    cursor: pointer;
    user-select: none;
    background: black;
    height: 40px;
    width: 40px;
    font-size: 22px;
    color: white;
}
 
.dark-table
{
    color: #dfdedd !important;
    background-color: #070605;
    border: 1px solid #5d564e;
}
 
.dark-table > tr > th, .dark-table > * > tr > th {
  background-color: #15130f;
}
 
.dark-table > tr > th, .dark-table > tr > td, .dark-table > * > tr > th, .dark-table > * > tr > td {
  border: 1px solid #5d564e;
}
 
.dark-table th.headerSort
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMjEgOSIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTE0LjUgNS00IDQtNC00em0wLTEtNC00LTQgNHoiLz48L3N2Zz4=") !important;
}
 
.dark-table th.headerSortUp
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgMjEgNCIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTYuNSA0IDQtNCA0IDR6Ii8+PC9zdmc+") !important;
}
 
.dark-table th.headerSortDown
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgMjEgNCIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTE0LjUgMC00IDQtNC00eiIvPjwvc3ZnPg==") !important;
}
 
.dark-table a
{
    color: #cc9933;
}
 
.dark-table a:visited
{
    color: #86a34d;
}
 
.dark-table a.new
{
    color: #28cccc;
}
 
video
{
  max-width: 300px;
}

Latest revision as of 18:29, 23 July 2024

.vector-header-container, .mw-page-container
{
    padding: 0px 22px !important;
}

.vector-main-menu-container
{
    width: 200px;
}

.mw-page-container-inner
{
    column-gap: 4px !important;
}

.infobox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin-bottom: .5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 90%;
	width: 23em;
	vertical-align: middle;
	text-align: left;
	line-height: 1.5em;
	border-collapse: separate;
	border-spacing: 2px;
}
.infobox > caption {
	font-size: 125%;
	font-weight: bold;
		padding: .2em;
}
.infobox td,
.infobox th {
	vertical-align: top;
}

.infobox-above {
	background: #cfe3ff;
	font-size: 120%;
	text-align: center;
}
.infobox-image {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
.infobox-header {
	background: #dcebff;
	text-align: center;
}
.infobox-below {
	background: #dcebff;
	text-align: center;
}

.infobox-child {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 100%;
}

.infobox th:not(.noplainlist) > ul,
.infobox td:not(.noplainlist) > ul,
.infobox [data-wikidata-property-id] > ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
}
.infobox .noplainlist > ul:first-child {
	margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
	margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
	margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
	margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
	line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
	margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
	margin-bottom: 0;
}

/* ToDo: temporarily fix */
.infobox td p {
	margin: 0 !important;
}

.infobox small,
.navbox small,
.references small {
	font-size: 90%;
}

.thumb-player
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumb-player .player-mini
{
    position: absolute;
}

audio, video
{
    vertical-align: middle;
}

.player-mini
{
    cursor: pointer;
    user-select: none;
    background: black;
    height: 40px;
    width: 40px;
    font-size: 22px;
    color: white;
}

.dark-table 
{
    color: #dfdedd !important;
    background-color: #070605;
    border: 1px solid #5d564e;
}

.dark-table > tr > th, .dark-table > * > tr > th {
  background-color: #15130f;
}

.dark-table > tr > th, .dark-table > tr > td, .dark-table > * > tr > th, .dark-table > * > tr > td {
  border: 1px solid #5d564e;
}

.dark-table th.headerSort
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMjEgOSIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTE0LjUgNS00IDQtNC00em0wLTEtNC00LTQgNHoiLz48L3N2Zz4=") !important;
}

.dark-table th.headerSortUp
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgMjEgNCIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTYuNSA0IDQtNCA0IDR6Ii8+PC9zdmc+") !important;
}

.dark-table th.headerSortDown
{
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgMjEgNCIgc3R5bGU9ImZpbGw6I2ZmZiI+PHBhdGggZD0ibTE0LjUgMC00IDQtNC00eiIvPjwvc3ZnPg==") !important;
}

.dark-table a
{
    color: #cc9933;
}

.dark-table a:visited
{
    color: #86a34d;
}

.dark-table a.new
{
    color: #28cccc;
}

video
{
   max-width: 300px;
}