Common.css: Difference between revisions
From Project Rebearth
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 50: | Line 50: | ||
padding: 3px; | padding: 3px; | ||
margin: 1em 0; | margin: 1em 0; | ||
overflow: hidden; | |||
mask: | mask: | ||
radial-gradient(circle at top left, transparent 10px, black 10.5px) top left, | radial-gradient(circle at top left, transparent 10px, black 10.5px) top left, | ||
| Line 106: | Line 107: | ||
letter-spacing: 0.3px; | letter-spacing: 0.3px; | ||
border: none; | border: none; | ||
border-left: 1px solid #6e3a24; | |||
} | |||
.rb-table th:first-child { | |||
border-left: none; | |||
} | } | ||
| Line 121: | Line 127: | ||
border: none; | border: none; | ||
border-bottom: 1px solid #e0d5a6; | border-bottom: 1px solid #e0d5a6; | ||
border-left: 1px solid #e0d5a6; | |||
vertical-align: top; | vertical-align: top; | ||
background-color: #faf4e0; | background-color: #faf4e0; | ||
} | |||
.rb-table td:first-child { | |||
border-left: none; | |||
} | } | ||
Latest revision as of 17:49, 3 March 2026
.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;
overflow: hidden;
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 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;
-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;
border-left: 1px solid #6e3a24;
}
.rb-table th:first-child {
border-left: 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;
border-left: 1px solid #e0d5a6;
vertical-align: top;
background-color: #faf4e0;
}
.rb-table td:first-child {
border-left: none;
}
.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;
}
}