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 7: | Line 7: | ||
} | } | ||
#content { | #content { | ||
background-color: # | background-color: #F7EBCF; | ||
border: 2px ridge # | border: 2px ridge #AB9261; | ||
border-bottom-left-radius: 4px; | border-bottom-left-radius: 4px; | ||
border-bottom-right-radius: 4px; | border-bottom-right-radius: 4px; | ||
| Line 30: | Line 30: | ||
#right-navigation #p-views li:not(.selected) a { | #right-navigation #p-views li:not(.selected) a { | ||
background-color: #eabe82; | background-color: #eabe82; | ||
border-bottom: 2px ridge # | border-bottom: 2px ridge #AB9261; | ||
} | } | ||
#left-navigation #p-namespaces li a, | #left-navigation #p-namespaces li a, | ||
| Line 36: | Line 36: | ||
height: 40px; | height: 40px; | ||
background: none; | background: none; | ||
background-color: # | background-color: #F7EBCF; | ||
border-left: 2px ridge # | border-left: 2px ridge #AB9261; | ||
border-right: 2px ridge # | border-right: 2px ridge #AB9261; | ||
border-top: 2px ridge # | border-top: 2px ridge #AB9261; | ||
outline: none; | outline: none; | ||
border-top-left-radius: 4px; | border-top-left-radius: 4px; | ||
| Line 64: | Line 64: | ||
} | } | ||
#searchInput { | #searchInput { | ||
background-color: # | background-color: #F7EBCF; | ||
border: 2px ridge # | border: 2px ridge #AB9261; | ||
} | } | ||
Revision as of 18:39, 13 January 2025
/* Global style */
body {
background-color: #8A6215;
}
#mw-page-base {
background: none;
}
#content {
background-color: #F7EBCF;
border: 2px ridge #AB9261;
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 #AB9261;
}
#left-navigation #p-namespaces li a,
#right-navigation #p-views li a {
height: 40px;
background: none;
background-color: #F7EBCF;
border-left: 2px ridge #AB9261;
border-right: 2px ridge #AB9261;
border-top: 2px ridge #AB9261;
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: #F7EBCF;
border: 2px ridge #AB9261;
}
/* 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;
}