MediaWiki:Common.css
From Project Rebearth
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.top-bar, .top-bar-section ul li {
background: #562C1B !important;
}
button, .button, .label {
background: #e8daa8 !important;
color: #562c1b !important
}
#navwrapper {
border-bottom: 3px solid #e8daa8 !important;
}
.top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
background: #e8daa8 !important;
color: #562c1b !important
}
.top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button):hover {
background: #D3C194 !important;
}
.iconimg img {
vertical-align: -5%;
}
.mw-editsection {
float: right;
margin-left: 1em;
}
.mw-heading {
display: flex;
align-items: baseline;
}
.mw-heading h2, .mw-heading h3, .mw-heading h4, .mw-heading h5, .mw-heading h6 {
flex: 1;
}
.mw-editsection {
float: none;
white-space: nowrap;
margin-left: 0.5em;
}
/* new table styling yay!! */
.rb-table-frame {
background-color: #e8daa8;
padding: 3px;
margin: 1em 0;
mask:
radial-gradient(circle at top left, transparent 10px, black 10.5px) top left,
radial-gradient(circle at top right, transparent 10px, black 10.5px) top right,
radial-gradient(circle at bottom left, transparent 10px, black 10.5px) bottom left,
radial-gradient(circle at bottom right, transparent 10px, black 10.5px) bottom right;
-webkit-mask:
radial-gradient(circle at top left, transparent 10px, black 10.5px) top left,
radial-gradient(circle at top right, transparent 10px, black 10.5px) top right,
radial-gradient(circle at bottom left, transparent 10px, black 10.5px) bottom left,
radial-gradient(circle at bottom right, transparent 10px, black 10.5px) bottom right;
mask-size: 51% 51%;
-webkit-mask-size: 51% 51%;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
}
.rb-table-inner {
background-color: #faf4e0;
overflow: hidden;
mask:
radial-gradient(circle at top left, transparent 7px, black 7.5px) top left,
radial-gradient(circle at top right, transparent 7px, black 7.5px) top right,
radial-gradient(circle at bottom left, transparent 7px, black 7.5px) bottom left,
radial-gradient(circle at bottom right, transparent 7px, black 7.5px) bottom right;
-webkit-mask:
radial-gradient(circle at top left, transparent 7px, black 7.5px) top left,
radial-gradient(circle at top right, transparent 7px, black 7.5px) top right,
radial-gradient(circle at bottom left, transparent 7px, black 7.5px) bottom left,
radial-gradient(circle at bottom right, transparent 7px, black 7.5px) bottom right;
-webkit-mask-size: 51% 51%;
mask-size: 51% 51%;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
}
.rb-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background-color: #faf4e0;
color: #3e2318;
font-size: 0.9rem;
line-height: 1.5;
margin: 0;
overflow: hidden;
}
.rb-table th {
background-color: #562c1b;
color: #e8daa8;
font-weight: 700;
padding: 8px 14px;
text-align: left;
font-size: 0.88rem;
letter-spacing: 0.3px;
border: none;
}
.rb-table th a {
color: #e8daa8;
text-decoration: none;
}
.rb-table th a:hover {
color: #ebb933;
}
.rb-table td {
padding: 8px 14px;
border: none;
border-bottom: 1px solid #e0d5a6;
vertical-align: top;
background-color: #faf4e0;
}
.rb-table tr:nth-child(odd) td {
background-color: #f5edd2;
}
.rb-table tr:last-child td {
border-bottom: none;
}
.rb-table td a {
color: #8b4513;
text-decoration: none;
}
.rb-table td a:hover {
color: #ebb933;
}
.rb-table .rb-section td {
background-color: #6e3a24;
color: #e8daa8;
font-weight: 700;
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 1px;
padding: 6px 14px;
border-bottom: none;
}
.rb-table .rb-section td a {
color: #e8daa8;
}
.rb-table .rb-section td a:hover {
color: #ebb933;
}
.rb-table .rb-buff {
color: #4a7c3f;
font-weight: 700;
}
.rb-table .rb-nerf {
color: #943a2e;
font-weight: 700;
}
.rb-table .rb-center {
text-align: center;
}
@media (max-width: 600px) {
.rb-table {
font-size: 0.82rem;
}
.rb-table th,
.rb-table td {
padding: 6px 10px;
}
}