Difference between revisions of "MediaWiki:Common.css"

From World of Entorais Wiki
Jump to navigationJump to search
(Undo revision 9868 by Sebastian Romu (talk))
Tags: Undo Reverted
(Undo revision 9865 by Sebastian Romu (talk))
Tag: Reverted
Line 38: Line 38:
/* style the table of contents */
/* style the table of contents */
.toc {
.toc {
     background-color: #f4eddc;
     background-color: #d8d2c3;
     border-top-right-radius: 1em;
     border-top-right-radius: 1em;
     border-top-left-radius: 1em;
     border-top-left-radius: 1em;

Revision as of 22:58, 24 September 2021

/* CSS placed here will be applied to all skins */

/* Change the background colour behind the content area and the tabs*/
#content, #content table
#p-cactions ul li a { background: #b8c59f; }

/* stop background image from scrolling with content area */
body { background-attachment: fixed; }

/* replace the book in the background with something else */
body { 
    background-image: none;
    background: #b8c59f; }

/* changes the background of pre areas  */
pre { background: #f4eddc; }

/* change background of unselected tabs */
#p-cactions ul li a { background:  #b8c59f; }

/* change background of selected tabs */
#p-cactions ul li.selected a { background: #f4eddc; }

/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }

/* style the search box and the buttons below it */
.searchButton {
    background-color: #d8d2c3;
    border: 1px outset;
}
#searchInput { border: 1px inset; }

/* style the table of contents */
.toc {
    background-color: #d8d2c3;
    border-top-right-radius: 1em;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

/* standard link colors */
a:link { color: #0645ad; }
a:visited { color: #0b0080; }
a.new:link { color: #cc2200; }
a.new:visited { color: #a55858; }

/* links to other Wikipedias */
a.extiw:link { color: #3366bb; }
a.extiw:visited { color: #3366bb; }

/* external links */
a.external:link { color: #3366bb; }
a.external:visited { color: #3366bb; }

/* Prevent the new CSS in "Typography Refresh" (since early 2014) from showing page titles and headings in serif font */
h1, h2 { font-family: inherit !important; }

/* make a few corners round */
#p-cactions ul li, #p-cactions ul li a {
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}
#content {
  border-top-left-radius: 1em;
  border-bottom-left-radius: 1em;
}
.pBody {
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}