Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
.vector-menu-tabs, .vector-menu-tabs a { | .vector-menu-tabs, .vector-menu-tabs a { | ||
background-image: none; | |||
background-repeat: no-repeat; | |||
background-size: 1px 100%; | |||
background-color: #E2DBC8; | |||
} | } | ||
Line 12: | Line 12: | ||
/* Topmost */ | /* Topmost */ | ||
#mw-page-base { | #mw-page-base { | ||
background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); | |||
background-repeat: no-repeat; | |||
background-position: 0px 0px; | |||
background-color: #C0A886; | |||
} | } | ||
/* Leftmost */ | /* Leftmost */ | ||
body { | body { | ||
background-color: #C0A886; | |||
overflow-y: scroll; | |||
background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); | |||
background-repeat: no-repeat; | |||
background-position: 0px 0px; | |||
} | } | ||
/* BODY (Beige) */ | /* BODY (Beige) */ | ||
.mw-body { | .mw-body { | ||
border: transparent; | |||
background-color: #E2DBC8; | |||
box-shadow: 0 0 7px rgb(0 0 0 / 15%); | |||
margin-top: 0; | |||
} | } | ||
/* Code */ | /* Code */ | ||
.mw-code { | .mw-code { | ||
background-color: #DDD4BB; | |||
border: 1px solid #94866d; | |||
} | } | ||
/* Top Tabs - Focused */ | /* Top Tabs - Focused */ | ||
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { | .vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { | ||
background-color: #E2DBC8; | |||
padding: 0 0.75em; | |||
padding-top: 1em; | |||
} | } | ||
/* Top Tabs - Unfocused */ | /* Top Tabs - Unfocused */ | ||
nav.vector-menu-tabs li a { | nav.vector-menu-tabs li a { | ||
background-color: #C0A886; | |||
padding: 0 0.75em; | |||
padding-top: 1em; | |||
color: #52351E; | |||
} | } | ||
/* 'Discussion' Recolor */ | /* 'Discussion' Recolor */ | ||
.vector-menu-tabs .new a { | .vector-menu-tabs .new a { | ||
color: #52351E; | |||
} | } | ||
/* Side Text */ | /* Side Text */ | ||
.vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited { | .vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited { | ||
color: #52351e; | |||
line-height: 1.2em; | |||
font-family: roboto; | |||
font-weight: 400; | |||
font-size: 1.2em; | |||
padding-left: 1em; | |||
} | } | ||
/* Side Text */ | /* Side Text */ | ||
.vector-menu-portal h3 { | .vector-menu-portal h3 { | ||
color: #54595d; | |||
font-size: 0.9em; | |||
font-weight: 600; | |||
background-image:none; | |||
} | } | ||
/* Search Bar */ | /* Search Bar */ | ||
#searchInput { | #searchInput { | ||
background-color: #EFEEE6; | |||
} | } | ||
/* More DDL */ | /* More DDL */ | ||
.vector-menu-dropdown h3 { | .vector-menu-dropdown h3 { | ||
padding-top: 1em; | |||
color: #52351E; | |||
} | } | ||
.vector-menu-dropdown h3:after { | .vector-menu-dropdown h3:after { | ||
content: ''; | |||
background-image: url(/w/skins/Vector/resources/common/images/arrow-down.svg?9426f); | |||
background-position: 100% 50%; | |||
background-repeat: no-repeat; | |||
position: absolute; | |||
top: 0.76923077em; | |||
right: 8px; | |||
bottom: 0; | |||
width: 1.23076923em; | |||
opacity: 0.84; | |||
margin-bottom: 0.4em; | |||
} | } | ||
/* Personalized Top Right UI */ | /* Personalized Top Right UI */ | ||
#p-personal ul { | #p-personal ul { | ||
padding: 2px 1em 4px 0.4em; | |||
background-color: #D6CDB8; | |||
border-radius: .3em; | |||
} | } | ||
#p-personal ul a{ | #p-personal ul a{ | ||
color: #52351E; | |||
} | } | ||
/* Remove Random UI Border */ | /* Remove Random UI Border */ | ||
#mw-head .vector-menu-dropdown h3 { | #mw-head .vector-menu-dropdown h3 { | ||
background-image: none; | |||
} | } | ||
/* Search Bar */ | /* Search Bar */ | ||
#right-navigation { | #right-navigation { | ||
background-color: #C0A886; | |||
} | } | ||
/* Recolor Top Right UI */ | /* Recolor Top Right UI */ | ||
.vector-menu-tabs ul { | .vector-menu-tabs ul { | ||
background-color: #C0A886; | |||
} | } | ||
/* Content Table - TITLE */ | /* Content Table - TITLE */ | ||
.wikitable > * > tr > th { | .wikitable > * > tr > th { | ||
background-color: #B8A282; | |||
text-align: left; | |||
} | } | ||
/* Content Table - ROWS*/ | /* Content Table - ROWS*/ | ||
.wikitable > * > tr > td { | .wikitable > * > tr > td { | ||
border: 1px solid #94866d38; | |||
padding: 0.2em 0.4em; | |||
background-color: #D8CCB4; | |||
} | } | ||
/* Content Table - BORDERS */ | /* Content Table - BORDERS */ | ||
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { | ||
border-color: #94866d; | |||
} | } | ||
#n-Discord a { | #n-Discord a { | ||
color: white; | |||
font-size: 12px; | |||
font-weight: bold; | |||
border-radius: 5px; | |||
border: 1px solid black; | |||
background-color: #5865f2; | |||
display: block; | |||
position: relative; | |||
padding: 4px 0 5px calc(17px + 6.5px * 2); | |||
box-shadow: 0 2px 3px rgba(0,0,0,0.1); | |||
transition: 0.2s ease; | |||
margin-bottom: 5em; | |||
} | } | ||
#n-Discord a::before { | #n-Discord a::before { | ||
content: 'Chat on '; | |||
font-weight: normal; | |||
opacity: 0.85; | |||
} | } | ||
#n-Discord a::after { | #n-Discord a::after { | ||
content: ''; | |||
background: url(/w/images/Discord_icon.png) no-repeat; | |||
background-size: 17px 13px; | |||
filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); | |||
position: absolute; | |||
top: 5px; | |||
left: 7px; | |||
width: 17px; | |||
height: 13px; | |||
} | } | ||
#n-Discord a:hover { | #n-Discord a:hover { | ||
text-decoration: none; | |||
background-color: #525EE0; | |||
} | } | ||
.mainpage-header .header-intro { | .mainpage-header .header-intro { | ||
flex: 2; | |||
} | } | ||
.mainpage-header .header-intro h1 { | .mainpage-header .header-intro h1 { | ||
font-size: 2.5em; | |||
font-weight: bold; | |||
border: none; | |||
margin: 0 0 0.15em; | |||
} | } | ||
.mainpage-header .header-intro p { | .mainpage-header .header-intro p { | ||
font-size: 1.1em; | |||
line-height: 1.7em; | |||
} | } |
Revision as of 16:06, 15 February 2022
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } .vector-menu-tabs, .vector-menu-tabs a { background-image: none; background-repeat: no-repeat; background-size: 1px 100%; background-color: #E2DBC8; } /* Topmost */ #mw-page-base { background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); background-repeat: no-repeat; background-position: 0px 0px; background-color: #C0A886; } /* Leftmost */ body { background-color: #C0A886; overflow-y: scroll; background-image: url('https://wiki.zeah.gg/w/images/1/1f/Background.jpg'); background-repeat: no-repeat; background-position: 0px 0px; } /* BODY (Beige) */ .mw-body { border: transparent; background-color: #E2DBC8; box-shadow: 0 0 7px rgb(0 0 0 / 15%); margin-top: 0; } /* Code */ .mw-code { background-color: #DDD4BB; border: 1px solid #94866d; } /* Top Tabs - Focused */ .vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { background-color: #E2DBC8; padding: 0 0.75em; padding-top: 1em; } /* Top Tabs - Unfocused */ nav.vector-menu-tabs li a { background-color: #C0A886; padding: 0 0.75em; padding-top: 1em; color: #52351E; } /* 'Discussion' Recolor */ .vector-menu-tabs .new a { color: #52351E; } /* Side Text */ .vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited { color: #52351e; line-height: 1.2em; font-family: roboto; font-weight: 400; font-size: 1.2em; padding-left: 1em; } /* Side Text */ .vector-menu-portal h3 { color: #54595d; font-size: 0.9em; font-weight: 600; background-image:none; } /* Search Bar */ #searchInput { background-color: #EFEEE6; } /* More DDL */ .vector-menu-dropdown h3 { padding-top: 1em; color: #52351E; } .vector-menu-dropdown h3:after { content: ''; background-image: url(/w/skins/Vector/resources/common/images/arrow-down.svg?9426f); background-position: 100% 50%; background-repeat: no-repeat; position: absolute; top: 0.76923077em; right: 8px; bottom: 0; width: 1.23076923em; opacity: 0.84; margin-bottom: 0.4em; } /* Personalized Top Right UI */ #p-personal ul { padding: 2px 1em 4px 0.4em; background-color: #D6CDB8; border-radius: .3em; } #p-personal ul a{ color: #52351E; } /* Remove Random UI Border */ #mw-head .vector-menu-dropdown h3 { background-image: none; } /* Search Bar */ #right-navigation { background-color: #C0A886; } /* Recolor Top Right UI */ .vector-menu-tabs ul { background-color: #C0A886; } /* Content Table - TITLE */ .wikitable > * > tr > th { background-color: #B8A282; text-align: left; } /* Content Table - ROWS*/ .wikitable > * > tr > td { border: 1px solid #94866d38; padding: 0.2em 0.4em; background-color: #D8CCB4; } /* Content Table - BORDERS */ .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-color: #94866d; } #n-Discord a { color: white; font-size: 12px; font-weight: bold; border-radius: 5px; border: 1px solid black; background-color: #5865f2; display: block; position: relative; padding: 4px 0 5px calc(17px + 6.5px * 2); box-shadow: 0 2px 3px rgba(0,0,0,0.1); transition: 0.2s ease; margin-bottom: 5em; } #n-Discord a::before { content: 'Chat on '; font-weight: normal; opacity: 0.85; } #n-Discord a::after { content: ''; background: url(/w/images/Discord_icon.png) no-repeat; background-size: 17px 13px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); position: absolute; top: 5px; left: 7px; width: 17px; height: 13px; } #n-Discord a:hover { text-decoration: none; background-color: #525EE0; } .mainpage-header .header-intro { flex: 2; } .mainpage-header .header-intro h1 { font-size: 2.5em; font-weight: bold; border: none; margin: 0 0 0.15em; } .mainpage-header .header-intro p { font-size: 1.1em; line-height: 1.7em; }