MediaWiki:Common.css: Difference between revisions

From Henry's personal library
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will affect users of the Timeless skin */
/* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
@import url(https://tools-static.wmflabs.org/fontcdn/css?family=Merriweather);
 
html {
.mw-content-ltr {
background: rgb(0,0,0) !important;
/* @noflip */
height: 100%;
direction: ltr;
font-size: 1.1em;
filter: brightness(100%) contrast(100%) grayscale(0%) !important;
-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
overflow-x: hidden;
}
}
body {
 
margin: 0;
.mw-content-rtl {
background: #000;
/* @noflip */
color: #ccccff;
direction: rtl;
font-family: 'Merriweather', serif;
}
}
a {
 
color: #cc6600;
/* Most input fields should be in site direction */
.sitedir-ltr textarea,
.sitedir-ltr input {
/* @noflip */
direction: ltr;
}
}
a:hover, a:visited {
 
color: #cc3300;
.sitedir-rtl textarea,
.sitedir-rtl input {
/* @noflip */
direction: rtl;
}
}
h1 {
 
color: white;
.mw-userlink {
text-shadow: 1px 1px 1px #000;
unicode-bidi: embed;
font-size: 40px !important;
}
h1, h2, h3, h4 {
color: #6699ff;
font-family: 'Merriweather', serif;
}
#personal .dropdown b {
font-weight: normal;
}
b, strong {
text-shadow: 1px 1px 1px #000;
}
#f-list {
text-align: center;
font-size: 14px;
}
div.editOptions {
border: #222;
background: #555;
}
#mw-header-nav-hack {
border-top: solid 2px #333;
background: #333;
}
#mw-site-navigation .sidebar-inner {
background: #333;
border: 0;
}
}


}
/* User-Agent styles for new HTML5 elements */
@media screen and (max-width: 850px) {
mark {
#p-logo-text {
background-color: #00f;
margin-top: 0;
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#p-logo-text a.long {
padding-left: 7px;
float: left;
font-size: 23px !important;
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-inner {
background: #222 !important;
border: solid #111;
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
background: #222;
border: solid #111;
}
}
#mw-site-navigation .sidebar-chunk {
border: outset #222;
background: #333;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
border-radius: 3px;
}
@media screen and (max-width: 851px) {
#mw-site-navigation .sidebar-chunk {
padding: 0 15px 5px 20px;
}
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
background: #222 !important;
border: solid #111 !important;
}
}
.mw-parser-output a.external {
color: #ff9900;
}
#searchInput {
padding: 0.2em 4.5em 0.2em 2em !important;
margin: 0;
}
#searchInput-container {
background: #333;
height: 35px;
}
#simpleSearch {
border: inset 1px #000;
border-radius: 3px;
background: #333;
height: 35px;
width: 48vw;
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
top: 7px;
}
#user-tools {
position: fixed;
right: 86px;
}
@media screen and (min-width: 851px) {
#user-tools {
left: 74vw;
top: 5px;
}
}
.mw-notification {
background: #222;
border: #111;
background: #111;
border-radius: 5px;
color: #999;
width: 200px;
}
.postedit-container {
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
padding: 0;
padding: 15px 0 15px 15px;
text-align: right;
}
.postedit-icon {
margin: auto;
padding: 0;
}
.mw-wiki-logo {
background-size: contain;
}
#mw-header-container {
background: #555;
}
#mw-header {
width: 100%;
max-width: 100%;
padding: 0;
position: static;
}
@media screen and (max-width: 850px) {
#menus-cover {
background: #000;
}
}
@media screen and (max-width: 850px) {
#personal h2 {
display: none;
}
}
#mw-content-container {
background: #1d1d16;
}
@media screen and (max-width: 850px) {
#mw-content-block {
background: #000;
}
}
@media screen and (max-width: 850px) {
#site-tools h2 {
right: 3em;
top: 0.9em;
padding-bottom: 5px;
}
}
@media screen and (max-width: 850px) {
#p-logo-text a.long {
width: 100%;
top: 7px;
text-align: center;
font-size: 40px !important;
}
}
@media screen and (min-width: 851px) {
#p-logo-text {
width: 29em;
}
}
@media screen and (min-width: 851px) {
#personal h2:after {
width: 36px;
}
}
@media screen and (max-width: 850px) {
#p-logo-text {
position: static;
left: 0 !important;
right: 0;
margin-left: 0;
margin-right: 0;
width: 100%;
top: 3.3em;
}
}
@media only screen and (min-width: 992px) and (max-width:768px) {
#p-logo-text {
right:74vw;
}
}
@media only screen and (min-width: 900px) and (max-width:100px) {
#p-logo-text {
right: 74vw;
top: 3em;
}
}
@media screen and (max-width: 900px) and (min-width: 100px) {
#p-logo-text a.long {
font-size: 43px !important;
}
}
@media screen and (max-width: 1700px) and (min-width: 800px) {
#p-logo-text {
left: 12px !important;
}
}
@media screen and (max-width: 1700px) and (mix: 851px) {
#mw-site-navigation {
background: #000;
}
}
#mw-content {
background: #333;
border: solid #946c20;
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
#mw-page-header-links li.selected a {
color: #cccc00;
}
#mw-related-navigation .sidebar-chunk {
background: #333;
border: outset #222;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
border-radius: 3px;
}
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-chunk {
background: #333;
border: outset #222;
box-shadow: 2px 2px 1px rgba(0,0,0,0.5);
border-radius: 3px;
padding: 0 15px 5px 20px;
}
}
.color-middle-container, .ts-inner {
padding: 0;
}
#p-logo-text {
left: 120px;
}
#p-logo-text a.long {
padding-top: 5px;
padding-left: 6px;
font-size: 30px;
text-shadow: 1px 1px 1px #222;
}
#p-search {
width: 70em;
padding-right: 33px;
}
#personal .dropdown h3 {
line-height: 25px;
}
#personal h2 {
text-shadow: 2px 2px 0 #333;
padding-top: 7px;
font-size: 24px;
text-transform: lowercase;
}
#personal .dropdown {
background: #222!important;
border: solid #000;
}
.codeEditor-status {
color: #000;
}
.oo-ui-labelElement-label {
text-shadow: 1px 2px #333;
}
#iframeframe {
height: 700px;
}
#wpSave {
text-shadow: 2px 2px 2px #000 !important
}
#mw-footer-container {
background: #000;
padding-top: 1em;
}
fieldset {
background: #222!important;
border: solid #111;
}
input {
background: #333;
border: solid 1px #111!important;
border-radius: 2px;
padding-left: 5px;
color: #999;
}
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button {
border: solid 1px #333!important;
border-bottom: 0!important;
text-shadow: 0 0 0 #000 !important;
border-bottom: solid 1px #333!important;
}
.oo-ui-flaggedElement-destructive {
background: #111;
border: 1px solid #444;
color: #FF3333 !important;
padding-left: 15px !important;
padding-right: 15px !important;
}
.oo-ui-flaggedElement-destructive:hover {
background: #222;
color: #CC0000 !important;
}
#searchInput {
border: 0!important;
}
@media screen and (max-width: 850px) {
#searchInput {
padding: 0 0 0 6px !important;
}
}
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
background-color: #333;
color: #fff;
color: #fff;
}
}
.oo-ui-textInputWidget > .oo-ui-labelElement-label {
 
line-height: 0.5em;
/* Override default values */
textarea[ dir='ltr' ],
input[ dir='ltr' ] {
/* @noflip */
direction: ltr;
}
}
#pagehistory li.selected {
 
background-color: #555;
textarea[ dir='rtl' ],
input[ dir='rtl' ] {
/* @noflip */
direction: rtl;
}
}
.warningbox {
 
background: #1d1d16;
/* rev_deleted stuff */
li span.deleted,
span.history-deleted {
text-decoration: line-through;
color: #8d8882;
font-style: italic;
}
}
a.new:hover, .new a:hover, a.new:visited, .new a:visited {
 
color: #FF3333;
/* Patrol stuff */
.not-patrolled {
background-color: #0055ff;
}
}
.mw-plusminus-neg {
 
color: #FF0000;
.unpatrolled {
font-weight: bold;
color: #28cccc;
}
}
#searchButton, #mw-searchButton {
 
border: 0 !important;
/* Error, warning, success and neutral messages */
left: 38vw;
.warning {
right: 0;
color: #5399ff;
margin-left: auto;
margin-right: auto;
}
}
#mw-footer-container a:hover {
 
color: #ffff33;
.success {
color: #eb7992;
}
}
#mw-footer-container a:visited {
 
color: #ffff66;
/* Info box */
.mw-infobox {
border: 2px solid #03c;
}
}
#mw-footer .footer-places li {
 
float: right;
/* Links */
display: block;
a.new {
color: #45ffff;
}
}
#mw-footer ul, #mw-footer li {
 
margin: 0 auto;
/* wikitable class */
.wikitable {
background-color: #070606;
color: #ddd;
border: 1px solid #5d564e;
}
}
#mw-footer #lastmod {
 
float: left;
.wikitable > tr > th,
left: 25px;
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border: 1px solid #5d564e;
}
}
.diff-addedline .diffchange {
 
background: #1d1d16;
.wikitable > tr > th,
padding-left: 7px;
.wikitable > * > tr > th {
background-color: #15130f;
}
}
.oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
 
text-shadow: 0 0 0 #000 !important;
/* Data table */
.mw-datatable th {
background-color: #151100;
}
}
.oo-ui-labelElement-label {
 
text-shadow: 0 0 0 #000
.mw-datatable td {
background-color: #000;
}
}
.oo-ui-panelLayout-expanded {
 
background: #222;
.mw-datatable tr:hover td {
}
background-color: #150c00;
.oo-ui-messageDialog-message {
color: #999;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
color: #999;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid #111
}
.oo-ui-dialog-content > .oo-ui-window-body {
outline: 1px solid #111;
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid #111;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #000;
}
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 1px solid #000;
}
textarea[style] {
background: #111 !important;
color: #fff;
}
pre, .mw-code {
background: #222;
color: #B0B0B0;
border: 1px solid #444;
}
.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
background-color: #B0B0B0;
border: 1px solid #333;
}
}



Revision as of 13:49, 7 February 2025

/* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */

.mw-content-ltr {
	/* @noflip */
	direction: ltr;
}

.mw-content-rtl {
	/* @noflip */
	direction: rtl;
}

/* Most input fields should be in site direction */
.sitedir-ltr textarea,
.sitedir-ltr input {
	/* @noflip */
	direction: ltr;
}

.sitedir-rtl textarea,
.sitedir-rtl input {
	/* @noflip */
	direction: rtl;
}

.mw-userlink {
	unicode-bidi: embed;
}

/* 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 */
.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);
}