MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.publication .main-details table{ | |||
width: clamp(300px, 40vw, 670px) | |||
text-align: left; | |||
} | |||
.publication .side-details{ | |||
vertical-align: top | |||
} | |||
.publication .side-details table{ | |||
width: clamp(280px, 24vw, 370px); | |||
} | |||
.publication .main-details{ | |||
padding-right: 20px; | |||
} | |||
.page-Main_Page.rootpage-Main_Page .mw-list-item.selected a{ | .page-Main_Page.rootpage-Main_Page .mw-list-item.selected a{ | ||
border: 1px solid #F0EAE5; | border: 1px solid #F0EAE5; |
Revision as of 23:26, 14 February 2024
/* CSS placed here will be applied to all skins */ .publication .main-details table{ width: clamp(300px, 40vw, 670px) text-align: left; } .publication .side-details{ vertical-align: top } .publication .side-details table{ width: clamp(280px, 24vw, 370px); } .publication .main-details{ padding-right: 20px; } .page-Main_Page.rootpage-Main_Page .mw-list-item.selected a{ border: 1px solid #F0EAE5; border-radius: 10px; } .no-data-{ display: none !important; } .home-box h1{ border-bottom: 0px; } .homebox-cell{ width: 50%; } .homebox-cell h2{ margin-top: 0px; border-bottom: 0px; text-align: left; } .homebox-cell ul{ text-align: left; } .middle-boxes{ width: 100%; } .page-Main_Page.rootpage-Main_Page #firstHeading{ display: none; } .page-Main_Page.rootpage-Main_Page #bodyContent .homebox-cell table{ background: white; border: 1px solid #F0EAE5; border-radius: 5px; width: 100%; padding: 15px; } .homebox-cell:first-child{ padding-right: 8px; } .homebox-cell:last-child{ padding-left: 8px; } .page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-header.home-box td:first-child{ padding: 15px; } .page-Main_Page.rootpage-Main_Page #bodyContent .cat-class{ font-weight: 600; font-size: 16px; text-align: left; padding-top: 20px; padding-bottom: 5px; } .page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-categories{ padding: 15px; } .page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-categories h2{ border-bottom: 0px; text-align: left; margin-top: 0px; } .page-Main_Page.rootpage-Main_Page #bodyContent{ background: transparent; border: none; padding: 0px; } .page-Main_Page.rootpage-Main_Page #bodyContent .home-box{ background: white; border: 1px solid #F0EAE5; border-radius: 5px; } .page-Main_Page.rootpage-Main_Page #bodyContent .home-box td{ width: 50%; } .page-Main_Page.rootpage-Main_Page #bodyContent .home-box td img{ width: 100%; height: auto; } #p-Categories .mw-list-item{ border-top: 1px solid #F0EAE5; padding-top: 3px; padding-bottom: 3px; } [aria-label="Contents"]{ display: none !important;} .vector-feature-zebra-design-disabled .vector-header-container { max-width: 100%; } #p-Categories{ margin-top: 30px; } #vector-main-menu .vector-menu-heading{ display: none !important; } .vector-feature-zebra-design-disabled .vector-pinnable-element > *:not(:last-child){ border-bottom: none; } #p-Main li a,.vector-feature-zebra-design-disabled .vector-pinnable-element .mw-list-item a, .vector-feature-zebra-design-disabled .vector-dropdown-content .mw-list-item a{ color: #365461; } .mw-logo-icon{ width: 190px; } .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #F0EAE5; padding: 0.3em 0.4em; } .vector-header-container{ border-bottom: 1px solid #F0EAE5; background-color: white; position: fixed; top: 0px; left: 0; right: 0; z-index: 9999; } #bodyContent{ padding: 15px; } .vector-feature-zebra-design-disabled body { background-color: #F6F6F6; color: #213A45; padding-top: 100px; } .wikitable > tr > th, .wikitable > * > tr > th { background-color: inherit; text-align: left; color: #64757D; font-weight: 300; } .wikitable tr:nth-child(even){ background-color: #FEFAF5; } .wikitable { background-color: #FFFFFF; color: #213A45; } #catlinks ul li a, .cat-link a{ background-color:#E9F5FA; display: inline-block; padding: 7px 20px; border-radius: 20px; } .catlinks { background-color: transparent; border: none; } .cat-link a{ margin-right: 6px; margin-bottom: 8px; } .catlinks li{ border-left: none; } #catlinks ul li a:visited, .cat-link a:visited{ background-color:#EFEDF5; } #catlinks ul li a.new, .cat-link a.new{ background-color: #FFEDED; } .wikitable-categories td{ width: 50%;} .vector-feature-zebra-design-disabled .mw-page-container{ background: transparent; } #p-views li a{ color: #556E79 !important } .vector-feature-zebra-design-disabled .mw-page-container-inner{ display: block; } .vector-page-titlebar, .vector-page-toolbar-container{ box-shadow: none; } #p-associated-pages .mw-list-item.selected a{ background: white; border: 1px solid #F0EAE5; border-bottom: 0px; border-top-right-radius: 10px; border-top-left-radius: 10px; padding-left: 10px !important; padding-right: 10px !important; padding-top: 10px !important; padding-bottom: 9px; } .vector-page-toolbar{ z-index: 9; margin-bottom: 0px; } #bodyContent{ background: white; margin-top: -2px; border: 1px solid #F0EAE5; border-radius: 4px; padding-bottom: 30px; } .vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu{ padding: 0px 0px; background-color: transparent; } #p-associated-pages{ } #searchInput, .cdx-typeahead-search .cdx-text-input--has-start-icon .cdx-text-input__input{ background-color: #FEFAF5; border: 1px solid #F0EAE5; } .cdx-typeahead-search .cdx-text-input--has-start-icon .cdx-text-input__input{ padding-left: 10px; } .cdx-button.cdx-search-input__end-button, .cdx-search-input--has-end-button{ background: transparent; border: 0; } #searchform { } .cdx-search-input .cdx-text-input__icon.cdx-text-input__start-icon{ display: none; } .cdx-button.cdx-search-input__end-button{ position: absolute; right: 0px; } .mw-header .vector-typeahead-search-container{ max-width: 280px; position: relative; } .cdx-button.cdx-search-input__end-button{ font-size: 0px; background-image: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="7.57241" cy="7.19834" r="5.93667" transform="rotate(-90 7.57241 7.19834)" stroke="%23204150" stroke-width="1.86969"/><path d="M11.8608 11.3959L16.9994 16.5345" stroke="%23204150" stroke-width="1.86969"/></svg>'); background-repeat: no-repeat; background-position: 50% 50%; } #searchform .cdx-icon cdx-icon--medium.cdx-text-input__icon-vue.cdx-text-input__start-icon{ display: none; } .vector-menu-tabs .mw-list-item a, a,#pt-userpage-2 a:not(.mw-selflink), .mw-parser-output a.extiw, .mw-parser-output a.external{ color: #2C80A5; } a:visited { color: #8A75DE; } a[href="/index.php?title=Special:Preferences&useskin=vector&wprov=vctw1#mw-prefsection-rendering-skin"]{ display: none !important;} @media screen and (min-width: 1200px){ .vector-feature-main-menu-pinned-enabled .vector-header-container { padding-left: 20px; padding-right: 20px; } .vector-feature-main-menu-pinned-enabled #mw-navigation{ position: fixed; left: 0px; top: 0px; bottom: 0px; padding: 100px 10px 10px 30px; background: white; border-right: 1px solid #F0EAE5; min-width: 160px; } .vector-feature-main-menu-pinned-enabled .mw-page-container{ padding-left: 230px; background: transparent; } }