Created page with "→Custom styles for wikitable: .wikitable { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; } .wikitable th, .wikitable td { border: 1px solid #ddd; padding: 8px; text-align: left; } .wikitable th { background-color: #f2f2f2; font-weight: bold; } .wikitable tr:nth-child(even) { background-color: #f9f9f9; } .wikitable tr:hover { background-color: #f1f1f1; }" |
No edit summary Tag: Manual revert |
||
(33 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Custom styles for wikitable */ | /* Custom styles for wikitable */ | ||
.wikitable { | body { | ||
text-shadow: none; | |||
border | } | ||
.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 { | ||
background | 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 | |||
} | } |
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 }