MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
max-width: 125px; | max-width: 125px; | ||
max-height: 125px; | max-height: 125px; | ||
} | |||
.b-header { | |||
width: 100%; | |||
background-color: #0f82af; | |||
height: 48px; | |||
margin-bottom: 0; | |||
} | |||
.b-header #brand-logo { | |||
max-height: 32px; | |||
} | |||
.nav-pills>li { | |||
float: left; | |||
margin-right: 5px; | |||
} | |||
b-header nav.links { | |||
float: left; | |||
} | |||
.b-header .nav-pills { | |||
margin-bottom: 0; | |||
} | |||
.nav-pills, .nav-stacked { | |||
margin-left: 0; | |||
list-style: none; | |||
} | |||
.b-header .title { | |||
float: left; | |||
margin-right: 24px; | |||
} | |||
.b-header .nav-pills>li>a { | |||
color: #222; | |||
line-height: 22px; | |||
} | |||
.nav-pills, .nav-stacked { | |||
list-style: none; | |||
} | |||
.wrap { | |||
margin-right: auto; | |||
margin-left: auto; | |||
padding: 0 8px; | |||
} | |||
.nav-pills>li>a { | |||
border: none; | |||
padding: 6px 12px; | |||
color: #ddd; | |||
font-size: 1.1487em; | |||
line-height: 1; | |||
box-sizing: border-box; | |||
min-height: 30px; | |||
display: flex; | |||
align-items: center; | |||
transition: background 0.15s; | |||
} | |||
.b-header .contents { | |||
padding: 8px 0; | |||
} | |||
.b-header .nav-pills>li>a:hover { | |||
color: #c14924; | |||
background-color: dark-light-diff(#c14924, #0f82af, -70%, 70%); | |||
} | |||
.nav-pills>li>a:hover { | |||
color: #c14924; | |||
background-color: #3a160b; | |||
} | |||
.ccheader{ | |||
background-color: #0f82af; | |||
} | } |
Revision as of 21:01, 29 November 2018
/* CSS placed here will be applied to all skins */ li.gallerybox div.thumb img { max-width: 125px; max-height: 125px; } .b-header { width: 100%; background-color: #0f82af; height: 48px; margin-bottom: 0; } .b-header #brand-logo { max-height: 32px; } .nav-pills>li { float: left; margin-right: 5px; } b-header nav.links { float: left; } .b-header .nav-pills { margin-bottom: 0; } .nav-pills, .nav-stacked { margin-left: 0; list-style: none; } .b-header .title { float: left; margin-right: 24px; } .b-header .nav-pills>li>a { color: #222; line-height: 22px; } .nav-pills, .nav-stacked { list-style: none; } .wrap { margin-right: auto; margin-left: auto; padding: 0 8px; } .nav-pills>li>a { border: none; padding: 6px 12px; color: #ddd; font-size: 1.1487em; line-height: 1; box-sizing: border-box; min-height: 30px; display: flex; align-items: center; transition: background 0.15s; } .b-header .contents { padding: 8px 0; } .b-header .nav-pills>li>a:hover { color: #c14924; background-color: dark-light-diff(#c14924, #0f82af, -70%, 70%); } .nav-pills>li>a:hover { color: #c14924; background-color: #3a160b; } .ccheader{ background-color: #0f82af; }