MediaWiki:Timeless.css: Difference between revisions

From Azyrah
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 57: Line 57:
.mw-headline:target {
.mw-headline:target {
   background-color: gold;
   background-color: gold;
}
body {
    background: url(https://de-wiki.metin2.gameforge.com/images/5/57/Background_Angeln.jpg) no-repeat fixed center top #000000;
    background-size: cover;
}
.mw-wiki-logo {
    background-image: url(https://de-wiki.metin2.gameforge.com/images/7/7c/Wiki_Logo_Pfau.png);
}
/*#################################
############### Fix ###############
#################################*/
body {
    line-height: 1.4em;
}
body.skin-apioutput {
    background: none;
}
li {
    width: fit-content;
}
#mw-footer ul, #mw-footer li {
    text-align: -webkit-center;
}
#searchInput {
    margin: 0 0 0 2em;
    padding: 0.4em 4.5em 0.2em 0;
    width: 97%;
}
.oo-ui-textInputWidget.oo-ui-iconElement input,
.oo-ui-textInputWidget.oo-ui-iconElement textarea {
    margin-left: 2.64285714em;
    padding-left: 0.3em;
}
#contentSub2 {
    font-size: 12px;
    padding-bottom: 5px;
}
span.mw-revdelundel-link,
strong.mw-revdelundel-link {
    font-size: 11px;
}
li.gallerybox div.thumb,
div.tleft div.thumbinner,
div.tright div.thumbinner,
div.tnone div.thumbinner {
    background: url("https://de-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent !important;
    border: 1px solid #88283a;
    padding: 5px;
}
/*
div.thumbinner {
    width: auto;
    max-width: 258px;
    padding: 5px;
}
.thumbinner .thumbimage {
    border: solid 1px #0c0604;
    max-width: 256px;
    height: auto;
}
*/
.thumbcaption {
    font-size: 12px;
}
table.diff,
td.diff-otitle,
td.diff-ntitle,
td.diff-context {
    background: none;
}
td.diff-deletedline {
    border-color: #FFA700 !important;
}
td.diff-deletedline .diffchange {
    background: #FFA700 !important;
}
body.mw-special-Recentchanges .flaggedrevs-pending {
    color: red;
}
.flaggedrevs-pending {
    background: none;
}
body.mw-special-Recentchanges .flaggedrevs-unreviewed {
    color: red;
}
.flaggedrevs-unreviewed {
    background: none;
}
#pagehistory li {
    margin: 2px;
    padding: 0px 2px;
    width: initial;
}
#pagehistory li.selected {
    background-color: rgba(153, 0, 0, 0.05);
    border: 2px solid #990000;
}
li.fr-hist-stable-margin {
    margin-top: 0;
}
#mw-content dt {
    font-weight: bold;
    font-family: 'PTSans','Trebuchet MS','Helvetica Neue','Nimbus Sans','Helvetica','Arial',sans-serif;
    line-height: 1.4em;
    margin: 0;
}
body.mw-special-Recentchanges #mw-content dt {
    line-height: 1.25em !important;
}
body.mw-special-Recentchangeslinked #mw-content dt {
    line-height: 1.25em !important;
}
body.mw-special-Watchlist #mw-content dt {
    line-height: 1.25em !important;
}
dl {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}
.mw-changeslist-legend dd {
    margin-left: 3.2em;
}
.mw-plusminus-pos {
    margin-right: 0 !important;
}
th span a.mw-collapsible-text {
    color: #f0d9a2;
}
a.mw-selflink.selflink {
    text-decoration: none !important;
    font-weight: bold;
}
a.new:visited,
.new a:visited {
    color: #dd4444;
}
hr {
    border-color: #969696;
    margin: 0.2em 0;
}
table {
    border-spacing: 0px;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    padding: 2px;
}
td, th {
    padding: 2px;
}
code {
    line-height: 1.6em;
}
input[type="submit"]:disabled {
    background-color: buttonface;
}
#personal .dropdown {
    text-transform: none;
}
body.mw-special-Contributions li#t-contributions {
    display: none;
}
.ajaxpoll {
    width: 390px !important;
    border: 2px solid #0c0604 !important;
}
.ajaxpoll .ajaxpoll-our-vote div {
    border: 2px solid #008000;
    top: -2px;
    left: -2px;
    background-color: rgba(0, 128, 0, 0.3) !important;
}
.ajaxpoll .ajaxpoll-answer-vote div {
    background: rgba(255, 0, 0, 0.3);
}
.ajaxpoll .ajaxpoll-answer-vote span {
    top: -3px !important;
}
.mw-echo-ui-overlay {
    z-index: 101;
}
}

Revision as of 01:17, 14 June 2022

/* All CSS here will be loaded for users of the Timeless skin */
/* Indefinite content width */
@media screen and (min-width: 851px) {
    .color-middle-container,
    .ts-inner { max-width: none; }
}
/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}

/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}

/* Re-aligning bottom logos */
#footer { padding-right: 1em; }
/* Top bar font modernization */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation *  { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif  }

/* Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
    height: 1.5em;
    position:relative;
    bottom:0.1em
}

/* Triangle position patch */
#personal h2::after {
   position: relative;
   bottom: 0.5em;
}
.mw-headline:target {
  background-color: gold;
}
body {
    background: url(https://de-wiki.metin2.gameforge.com/images/5/57/Background_Angeln.jpg) no-repeat fixed center top #000000;
    background-size: cover;
}

.mw-wiki-logo {
    background-image: url(https://de-wiki.metin2.gameforge.com/images/7/7c/Wiki_Logo_Pfau.png);
}

/*#################################
############### Fix ###############
#################################*/

body {
    line-height: 1.4em;
}

body.skin-apioutput {
    background: none;
}

li {
    width: fit-content;
}

#mw-footer ul, #mw-footer li {
    text-align: -webkit-center;
}

#searchInput {
    margin: 0 0 0 2em;
    padding: 0.4em 4.5em 0.2em 0;
    width: 97%;
}

.oo-ui-textInputWidget.oo-ui-iconElement input,
.oo-ui-textInputWidget.oo-ui-iconElement textarea {
    margin-left: 2.64285714em;
    padding-left: 0.3em;
}

#contentSub2 {
    font-size: 12px;
    padding-bottom: 5px;
}

span.mw-revdelundel-link,
strong.mw-revdelundel-link {
    font-size: 11px;
}

li.gallerybox div.thumb,
div.tleft div.thumbinner,
div.tright div.thumbinner,
div.tnone div.thumbinner {
    background: url("https://de-wiki.metin2.gameforge.com/images/9/9f/Transparentbackground.png") repeat scroll 0% 0% transparent !important;
    border: 1px solid #88283a;
    padding: 5px;
}
/*
div.thumbinner {
    width: auto;
    max-width: 258px;
    padding: 5px;
}

.thumbinner .thumbimage {
    border: solid 1px #0c0604;
    max-width: 256px;
    height: auto;
}
*/
.thumbcaption {
    font-size: 12px;
}

table.diff,
td.diff-otitle, 
td.diff-ntitle,
td.diff-context {
    background: none;
}

td.diff-deletedline {
    border-color: #FFA700 !important;
}

td.diff-deletedline .diffchange {
    background: #FFA700 !important;
}

body.mw-special-Recentchanges .flaggedrevs-pending {
    color: red;
}

.flaggedrevs-pending {
    background: none;
}

body.mw-special-Recentchanges .flaggedrevs-unreviewed {
    color: red;
}

.flaggedrevs-unreviewed {
    background: none;
}

#pagehistory li {
    margin: 2px;
    padding: 0px 2px;
    width: initial;
}

#pagehistory li.selected {
    background-color: rgba(153, 0, 0, 0.05);
    border: 2px solid #990000;
}

li.fr-hist-stable-margin {
    margin-top: 0;
}

#mw-content dt {
    font-weight: bold;
    font-family: 'PTSans','Trebuchet MS','Helvetica Neue','Nimbus Sans','Helvetica','Arial',sans-serif;
    line-height: 1.4em;
    margin: 0;
}

body.mw-special-Recentchanges #mw-content dt {
    line-height: 1.25em !important;
}

body.mw-special-Recentchangeslinked #mw-content dt {
    line-height: 1.25em !important;
}

body.mw-special-Watchlist #mw-content dt {
    line-height: 1.25em !important;
}

dl {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.mw-changeslist-legend dd {
    margin-left: 3.2em;
}

.mw-plusminus-pos {
    margin-right: 0 !important;
}

th span a.mw-collapsible-text {
    color: #f0d9a2;
}

a.mw-selflink.selflink {
    text-decoration: none !important;
    font-weight: bold;
}

a.new:visited,
.new a:visited {
    color: #dd4444;
}

hr {
    border-color: #969696;
    margin: 0.2em 0;
}

table {
    border-spacing: 0px;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    padding: 2px;
}

td, th {
    padding: 2px;
}

code {
    line-height: 1.6em;
}

input[type="submit"]:disabled {
    background-color: buttonface;
}

#personal .dropdown {
    text-transform: none;
}

body.mw-special-Contributions li#t-contributions {
    display: none;
}

.ajaxpoll {
    width: 390px !important;
    border: 2px solid #0c0604 !important;
}

.ajaxpoll .ajaxpoll-our-vote div {
    border: 2px solid #008000;
    top: -2px;
    left: -2px;
    background-color: rgba(0, 128, 0, 0.3) !important;
}

.ajaxpoll .ajaxpoll-answer-vote div {
    background: rgba(255, 0, 0, 0.3);
}

.ajaxpoll .ajaxpoll-answer-vote span {
    top: -3px !important;
}

.mw-echo-ui-overlay {
    z-index: 101;
}