MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
AlphSpirit (talk | contribs) No edit summary |
AlphSpirit (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* Global style */ | /* Global style */ | ||
body { | body { | ||
background-color: # | background-color: #8A6215; | ||
} | } | ||
#mw-page-base { | #mw-page-base { | ||
Revision as of 18:37, 13 January 2025
/* Global style */
body {
background-color: #8A6215;
}
#mw-page-base {
background: none;
}
#content {
background-color: #faddb4;
border: 2px ridge #9c6b34;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
#left-navigation,
#right-navigation {
position: relative;
top: 1px;
}
#left-navigation nav,
#right-navigation nav {
background: none;
padding: 0;
}
#left-navigation #p-namespaces li,
#right-navigation #p-views li {
background: none;
overflow: hidden;
}
#left-navigation #p-namespaces li:not(.selected) a,
#right-navigation #p-views li:not(.selected) a {
background-color: #eabe82;
border-bottom: 2px ridge #9c6b34;
}
#left-navigation #p-namespaces li a,
#right-navigation #p-views li a {
height: 40px;
background: none;
background-color: #faddb4;
border-left: 2px ridge #9c6b34;
border-right: 2px ridge #9c6b34;
border-top: 2px ridge #9c6b34;
outline: none;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
padding: 10px 15px;
}
#right-navigation #p-views #ca-unwatch a,
#right-navigation #p-views #ca-watch a{
padding-left: 24px;
}
#right-navigation #p-views #ca-unwatch a {
width: 90px;
}
#right-navigation #p-views #ca-watch a {
width: 80px;
}
#right-navigation #p-views #ca-unwatch a::before,
#right-navigation #p-views #ca-watch a::before{
top: initial;
}
.vector-menu-tabs, .vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
background: none;
}
#searchInput {
background-color: #faddb4;
border: 2px ridge #9c6b34;
}
/* Custom table */
.tsTable {
display: inline-block;
border: 2px ridge #5b8680;
border-radius: 4px;
}
.tsTableGrid {
display: grid;
}
.tsTableGrid3 {
grid-template-columns: auto auto auto;
}
.tsTableGrid3 .tsTableCell:nth-child(3n+1) {
border-right: 1px solid #5b8680;
}
.tsTableGrid3 .tsTableCell:nth-child(3n+2) {
border-right: 1px solid #5b8680;
}
.tsTableGrid3 .tsTableCell:nth-child(6n+1),
.tsTableGrid3 .tsTableCell:nth-child(6n+2),
.tsTableGrid3 .tsTableCell:nth-child(6n+3) {
background-color: #eabe82;
}
.tsTableHeader, .tsTableCell {
padding: 0 0.5rem;
line-height: 2;
}
.tsTableHeader {
background-color: #809e95;
font-weight: bold;
color: white;
}