Jump to navigation Jump to search

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Custom styles for wikitable */
/* Custom styles for wikitable */
.wikitable {
body {
     border-collapse: collapse;
text-shadow: none;
     margin: 10px 0;
}
     font-size: 14px;
.wikitable > tr > th, .wikitable > * > tr > th {
     width: 100%;
     background-color: #2d477b;
     color: white;
     text-align: center;
}
 
.wikitable > * > tr > td {
     background-color: #41627f;
    color: white;
    border: 1px solid #aaa;
    padding: 0.2em 0.4em;
}
}


.wikitable th, .wikitable td {
#header nav {
    border: 1px solid #a3c9e2; /* Light blue border */
background: linear-gradient(#2c4379, #25284d);
    padding: 8px;
    text-align: left;
    background-color: #cce4f7; /* Light sky blue background */
    color: #333; /* Dark text color for readability */
}
}


.wikitable th {
 
     background-color: #7fb7e8; /* Sky blue header */
a.new {
     font-weight: bold;
     color: #d33 !important; /* Replace with your desired color */
     color: white;
     text-decoration: underline dotted; /* Optional: style the underline */
}
 
/* Hover effect for red links (optional) */
a.new:hover {
     color: #a00 !important;
}
 
a:visited {
color: #1778d0;
}
 
a.new:visited {
color: #58a1a5;
}
 
article a {
color: #00aadd;
}
 
.button.red, input[type="submit"] {
border: solid 1px #2355b1 !important;
background: #1778d0;
}
 
#sidebar {
    float: left;
    width: 300px;
    margin-left: 38px;
}
 
.widget {
    margin: 0 0 18px 0;
    clear: both;
    overflow: hidden;
border-image-slice: 27 27 27 27;
    border-image-width: 8px 8px 8px 8px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://dragonwilds.runescape.wiki/images/Wiki_container_border.png?efeca);
    border-style: solid;
    background: #221c19;
    padding: 0.5em 0.75em;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
}
}


.wikitable tr:nth-child(even) {
p {
    background-color: #e1f2fb; /* Very light sky blue for even rows */
color: white
}
}


.wikitable tr:hover {
li {
    background-color: #d0e7f9; /* Hover effect with slightly darker blue */
color: white
}
}

Latest revision as of 20:09, 28 April 2025

/* Custom styles for wikitable */
body {
text-shadow: none;
}
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #2d477b;
    color: white;
    text-align: center;
}

.wikitable > * > tr > td {
    background-color: #41627f;
    color: white;
    border: 1px solid #aaa;
    padding: 0.2em 0.4em;
}

#header nav {
background: linear-gradient(#2c4379, #25284d);
}


a.new {
    color: #d33 !important; /* Replace with your desired color */
    text-decoration: underline dotted; /* Optional: style the underline */
}

/* Hover effect for red links (optional) */
a.new:hover {
    color: #a00 !important;
}

a:visited {
color: #1778d0;
}

a.new:visited {
color: #58a1a5;
}

article a {
color: #00aadd;
}

.button.red, input[type="submit"] {
border: solid 1px #2355b1 !important;
background: #1778d0;
}

#sidebar {
    float: left;
    width: 300px;
    margin-left: 38px;
}

.widget {
    margin: 0 0 18px 0;
    clear: both;
    overflow: hidden;
border-image-slice: 27 27 27 27;
    border-image-width: 8px 8px 8px 8px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://dragonwilds.runescape.wiki/images/Wiki_container_border.png?efeca);
    border-style: solid;
    background: #221c19;
    padding: 0.5em 0.75em;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
}

p {
color: white
}

li {
color: white
}