MediaWiki:Common.css: Difference between revisions

From Henry's personal library
No edit summary
No edit summary
Line 1: Line 1:
/* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
#mw-content-container { background-color: #15130f; }
#mw-header-container {
    background-color: #000000;
    color: #fff;
    }


.mw-content-ltr {
#p-logo-text a { color: #fff; }
/* @noflip */
direction: ltr;
}


.mw-content-rtl {
#mw-site-navigation .sidebar-chunk {  
/* @noflip */
    background-color: #070605;
direction: rtl;
    border: #15130f;
}
    box-shadow: 0 1px 2px 1px rgba(255,255,255,0.02);
    }


/* Most input fields should be in site direction */
#mw-site-navigation .sidebar-chunk label, #mw-site-navigation .sidebar-chunk h3 {
.sitedir-ltr textarea,
    border-bottom: solid 2px #37332e;
.sitedir-ltr input {
    color: #fff;
/* @noflip */
    }
direction: ltr;
}


.sitedir-rtl textarea,
#mw-site-navigation .sidebar-chunk {
.sitedir-rtl input {
    background: 070605;
/* @noflip */
    }
direction: rtl;
}


.mw-userlink {
#mw-content {
unicode-bidi: embed;
    background: #000;
}
    color: #fff;
 
    }
/* User-Agent styles for new HTML5 elements */
mark {
background-color: #00f;
color: #fff;
}
 
/* Override default values */
textarea[ dir='ltr' ],
input[ dir='ltr' ] {
/* @noflip */
direction: ltr;
}
 
textarea[ dir='rtl' ],
input[ dir='rtl' ] {
/* @noflip */
direction: rtl;
}
 
/* rev_deleted stuff */
li span.deleted,
span.history-deleted {
text-decoration: line-through;
color: #8d8882;
font-style: italic;
}
 
/* Patrol stuff */
.not-patrolled {
background-color: #0055ff;
}
 
.unpatrolled {
font-weight: bold;
color: #28cccc;
}
 
/* Error, warning, success and neutral messages */
.warning {
color: #5399ff;
}
 
.success {
color: #eb7992;
}
 
/* Info box */
.mw-infobox {
border: 2px solid #03c;
}
 
/* Links */
a.new {
color: #45ffff;
}
 
/* wikitable class */
.wikitable {
background-color: #070606;
color: #ddd;
border: 1px solid #5d564e;
}
 
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border: 1px solid #5d564e;
}
 
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color: #15130f;
}
 
/* Data table */
.mw-datatable th {
background-color: #151100;
}
 
.mw-datatable td {
background-color: #000;
}
 
.mw-datatable tr:hover td {
background-color: #150c00;
}


/* carousel */
/* carousel */

Revision as of 13:59, 7 February 2025

#mw-content-container { background-color: #15130f; }
#mw-header-container { 
    background-color: #000000; 
    color: #fff;
    }

#p-logo-text a { color: #fff; }

#mw-site-navigation .sidebar-chunk { 
    background-color: #070605; 
    border: #15130f;
    box-shadow: 0 1px 2px 1px rgba(255,255,255,0.02);
    }

#mw-site-navigation .sidebar-chunk label, #mw-site-navigation .sidebar-chunk h3 {
    border-bottom: solid 2px #37332e;
    color: #fff;
    }

#mw-site-navigation .sidebar-chunk {
    background: 070605;
    }

#mw-content {
    background: #000;
    color: #fff;
    }

/* carousel */
.jcarousel {
    position: relative;
    overflow: hidden;
}
 
.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}
 
.jcarousel .jcarousel-list {
    width: 20000em;
    position: relative;
    margin: 0;
    padding: 0;
}
 
.jcarousel .jcarousel-item {
    float: left;
}
 
.jcarousel-item img {
    display: block;
    max-width: 100%;
    height: auto !important;
}
 
.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    border-radius: 30px;
    box-shadow: 0 0 2px #999;
}
 
.jcarousel-control-prev {
    left: -15px;
}
 
.jcarousel-control-next {
    right: -15px;
}
 
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}
 
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}
 
.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 15px;
}
 
.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
 
.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}