MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
body { | body { | ||
background-image: url(https://wiki.unrailed.gg/images/f/f2/Website_Background-Cd8FaNtb.jpg); | background-image: url(https://wiki.unrailed.gg/images/f/f2/Website_Background-Cd8FaNtb.jpg); | ||
background-repeat: no-repeat; | |||
background-attachment: fixed; | |||
background-position-x: center; | |||
background-position-y: bottom; | |||
background-size: cover; | |||
} | } | ||
.clear-both { | .clear-both { | ||
Line 12: | Line 12: | ||
.navbox { | .navbox { | ||
margin-top: 3em; | |||
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
Line 24: | Line 25: | ||
} | } | ||
.navbox ul { | .navbox ul, .navbox-big ul { | ||
margin: 0; | margin: 0; | ||
padding-right: 5px; | padding-right: 5px; | ||
} | } | ||
.navbox li { | .navbox li, .navbox-big li { | ||
display: inline-block; | display: inline-block; | ||
} | |||
.navbox li:not(:first-child):not(:last-child), .navbox-big li:not(:first-child):not(:last-child) { | |||
margin-right: 10px; | |||
} | } | ||
Line 52: | Line 57: | ||
} | } | ||
#p-logo a{ | #p-logo a{ | ||
background-size: contain; | background-size: contain; | ||
} | } | ||
# | |||
#mw-panel .vector-menu-content li a { | |||
display: inline-block; | display: inline-block; | ||
padding: 2px; | padding: 2px; | ||
Line 65: | Line 71: | ||
border: 1px solid #A7D7F9; | border: 1px solid #A7D7F9; | ||
background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%); | background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%); | ||
} | |||
#wagon-list li { | |||
list-style: none; | |||
} | |||
.article-table { | |||
background-color: #F8F9FA; | |||
border-collapse: collapse; | |||
border: 0 none #C8CCD1; | |||
margin: 1em 1em 1em 0; | |||
} | |||
.article-table th { | |||
padding: 6px 12px; | |||
background-color: #DFE0E1; | |||
border-bottom: 1px solid #939494; | |||
text-align: left; | |||
} | |||
.article-table td { | |||
padding: 6px 12px; | |||
border-bottom: 1px solid #C8CCD1; | |||
} | |||
.article-table td.td-hl { | |||
background-color: #DFE0E1; | |||
border-right: 1px solid #939494; | |||
} | |||
.png-icon > a > img { | |||
-webkit-filter: drop-shadow(1px 1px 0 #A8A7A4) | |||
drop-shadow(-1px -1px 0 #A8A7A4); | |||
filter: drop-shadow(1px 1px 0 #A8A7A4) | |||
drop-shadow(-1px -1px 0 #A8A7A4); | |||
} | |||
ul { | |||
list-style-image: url("https://wiki.unrailed.gg/images/thumb/5/5f/Arrow_Right.png/8px-Arrow_Right.png"); | |||
} | } |
Latest revision as of 05:57, 9 December 2024
body { background-image: url(https://wiki.unrailed.gg/images/f/f2/Website_Background-Cd8FaNtb.jpg); background-repeat: no-repeat; background-attachment: fixed; background-position-x: center; background-position-y: bottom; background-size: cover; } .clear-both { clear: both; } .navbox { margin-top: 3em; width: 100%; text-align: center; background-color: #F8F9FA; border: 1px solid #A2A9B1; box-shadow: 0 2px 3px -2px rgba(0,0,0,0.1); clear: both; } .navbox th { border-bottom: 1px solid #A2A9B1; } .navbox ul, .navbox-big ul { margin: 0; padding-right: 5px; } .navbox li, .navbox-big li { display: inline-block; } .navbox li:not(:first-child):not(:last-child), .navbox-big li:not(:first-child):not(:last-child) { margin-right: 10px; } .portal .body li a, .vector-menu-portal .body li a { display: inline-block; padding: 2px; background-color: #FFFFFF8C; box-shadow: 0 0.1rem 0.1rem -0.1rem rgb(0,0,0); } #p-cactions { background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%); } #simpleSearch { background-color: #FFFFFF; } #mw-page-base { background: none !important; } #p-logo a{ background-size: contain; } #mw-panel .vector-menu-content li a { display: inline-block; padding: 2px; background-color: #FFFFFF8C; box-shadow: 0 0.1rem 0.1rem -0.1rem rgb(0,0,0); } #p-personal li { padding: 6px; border: 1px solid #A7D7F9; background-image: linear-gradient(to top, #77C1F6 0, #E8F2F8 1px, #FFFFFF 100%); } #wagon-list li { list-style: none; } .article-table { background-color: #F8F9FA; border-collapse: collapse; border: 0 none #C8CCD1; margin: 1em 1em 1em 0; } .article-table th { padding: 6px 12px; background-color: #DFE0E1; border-bottom: 1px solid #939494; text-align: left; } .article-table td { padding: 6px 12px; border-bottom: 1px solid #C8CCD1; } .article-table td.td-hl { background-color: #DFE0E1; border-right: 1px solid #939494; } .png-icon > a > img { -webkit-filter: drop-shadow(1px 1px 0 #A8A7A4) drop-shadow(-1px -1px 0 #A8A7A4); filter: drop-shadow(1px 1px 0 #A8A7A4) drop-shadow(-1px -1px 0 #A8A7A4); } ul { list-style-image: url("https://wiki.unrailed.gg/images/thumb/5/5f/Arrow_Right.png/8px-Arrow_Right.png"); }