MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 761: | Line 761: | ||
top: 13px; | top: 13px; | ||
} | } | ||
div#p-search form { | div#p-search form { | ||
background: none; | background: none; | ||
| Line 767: | Line 767: | ||
margin: 0; | margin: 0; | ||
} | } | ||
div#p-search form::before, | div#p-search form::before, | ||
div#p-search form::after { | div#p-search form::after { | ||
border: none; | border: none; | ||
} | } | ||
div#simpleSearch::before { | div#simpleSearch::before { | ||
border-left-color: transparent; | border-left-color: transparent; | ||
} | } | ||
div#simpleSearch::after { | div#simpleSearch::after { | ||
border-top-color: transparent; | border-top-color: transparent; | ||
} | } | ||
div#mw-navigation div#mw-panel { | div#mw-navigation div#mw-panel { | ||
position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */ | position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */ | ||
} | |||
#left-navigation,#content { | |||
margin-left:10px | |||
} | |||
#footer { | |||
margin-left: 8px | |||
} | |||
#footer:before { | |||
content: none | |||
} | |||
#left-navigation,#right-navigation { | |||
margin-top: 40px | |||
} | |||
#p-personal { | |||
top: -8px | |||
} | |||
div#mw-navigation div#mw-panel { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-evenly; | |||
width: 100% | |||
} | |||
.vector-legacy-sidebar .vector-menu-portal { | |||
width: 142px; | |||
flex-shrink: 0; | |||
display: var(--sidebar-display,flex); | |||
flex-direction: column | |||
} | |||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content { | |||
flex-grow: 1; | |||
display: block !important | |||
} | |||
#mw-panel nav.vector-menu-portal.collapsed h3:before { | |||
-webkit-transform: rotate(0deg); | |||
transform: rotate(0deg) | |||
} | |||
#p-search { | |||
float: none; | |||
position: absolute; | |||
right: 0; | |||
left: 0; | |||
margin: 0; | |||
bottom: -31px; | |||
margin-bottom: -1em | |||
} | |||
#p-search #searchform { | |||
margin: 0; | |||
padding: 0 calc(1em + 16px) | |||
} | |||
#p-search #searchform .cdx-search-input__input-wrapper { | |||
margin: 0; | |||
padding: 0; | |||
width: 100%; | |||
max-width: 100%; | |||
border-bottom: 3px solid var(--simplesearch-left-border-color); | |||
border-right: 3px solid var(--simplesearch-top-border-color) | |||
} | |||
#p-search #searchform .cdx-search-input__end-button { | |||
right: -2px | |||
} | |||
#p-search #searchform > .cdx-search-input__end-button { | |||
right: calc(1em + 14px) | |||
} | |||
.mw-body,.parsoid-body,div#content { | |||
padding-top: calc(2em + 33px); | |||
} | |||
#p-cactions { | |||
margin-right: -8px | |||
} | |||
.vector-menu-dropdown .vector-menu-content { | |||
left: unset; | |||
right: 7px | |||
} | |||
#p-search #searchform .cdx-search-input__input-wrapper:before,#p-search #searchform .cdx-search-input__input-wrapper:after,#mw-page-base::after { | |||
content: none | |||
} | } | ||
} | } | ||
@media screen and (max-width: 500px) { | @media screen and (max-width: 500px) { | ||