MediaWiki:Common.css: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 307: | Regel 307: | ||
.main-menu > ul { | .main-menu > ul { | ||
height: 100%; | height: 100%; | ||
+ | } | ||
+ | .hover{ | ||
+ | display:flex; | ||
} | } | ||
Versie van 16 okt 2020 09:42
/** CSS die hier wordt geplaatst heeft invloed op alle skins */ /** CSS die hier wordt geplaatst heeft invloed op alle skins <style>*/ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap'); .mw-body { padding: 0; margin:0; } html, body { font-family: 'Open Sans', sans-serif; background-color:white !important; } a, a:visited, div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited, #mw-panel.collapsible-nav .portal.collapsed h3 a, div.vectorTabs li a { color: black; } div#footer { margin-top: 0; direction: ltr; background: none; background-repeat: repeat; border-top: 0; padding: 1.5em; } .container{ max-width:100%; padding:0; } .container > .row { margin: 0; } .main-wrapper{ width:100%; margin:0 auto; } @media (min-width: 576px){ .main-wrapper { max-width: 540px; } } @media (min-width: 768px){ .main-wrapper{ max-width: 720px; } } @media (min-width: 992px){ .main-wrapper{ max-width: 960px; } } @media (min-width: 1200px){ .main-wrapper{ max-width: 1140px; } } .container > .row { width: 100%; } body{ --color-input:359; --main-color:hsl(calc(var(--color-input)*1deg) 79% 65%); --back-color:hsl(calc(var(--color-input)/2.175*1deg) 8% 90%); --footer-color:hsl(calc(var(--color-input)/1.889*1deg) 9% 73%); --button-color:hsl(calc(var(--color-input)/1.8229*1deg) 37% 37%); } .fake-slider-group{ position:relative; } #change-color{ cursor: col-resize; width: 100%; height: 3em; } #fake-slider { width: 100%; height: 3em; cursor: col-resize; position:absolute; pointer-events:none; } /* header */ .row.row-wsheader { margin-bottom: 2em; border-bottom: 2px solid var(--main-color); } hr{ border-top: 2px solid var(--main-color); } h1 { border: none; text-transform: uppercase; color: var(--main-color); font-weight: 800; } h2 { border: none; margin: 0 !important; padding: 0; font-weight: 600; } .btn { border: 1px solid var(--button-color); margin-left: 0.5em !important; border-radius: 0; text-transform: uppercase; font-size: unset; font-weight: 900; cursor:pointer; } .btn:hover { border-bottom: 2px solid; margin-top: -1px; } label{ margin:0 } .width-none{ transform:scaleX(0); overflow:hidden; transition:transform 0.5s; transform-origin: right; } input[type="checkbox"]:checked ~ .width-none { transform:scaleX(1); } input#searchInput { font-size: 1em; border-radius: unset; border: 1px solid var(--button-color); } .card { border: none; border-radius: unset; margin-bottom: 2em; background: unset; } .bg-gray { background: var(--back-color); } .red { color: var(--main-color); font-weight: 900; } .red:visited { color: var(--main-color); } .card-top { min-height: 21em; background-position: center; background-repeat: no-repeat; background-size: cover; } .col-md-4 .card-top{ min-height: 14em; } /* footer */ body > div.container > div.mt-5.row{ margin-top:0 !important } div#footer { background: var(--footer-color); } div#footer .main-wrapper > div:nth-child(2) { border-left: 2px solid var(--main-color); border-right: 2px solid var(--main-color); } body{ position: relative; min-height: 100vh; } body > .container{ max-width:none; padding: 0; padding-bottom: 17.3rem; } body > div.container > div:nth-child(4) { position: absolute; bottom: 0; width: 100%; height: 17.3rem; } input.form-control, textarea.form-control{ font-size: 1em; border-radius: unset; border: 1px solid var(--button-color); } .image-wrapper img{ width:100%; height:auto; } .upload-group img{ border: 1px solid var(--button-color); } .rs-border{ border: 1px solid var(--button-color); } .upload-group { margin-bottom:1em; } .upload-group, .upload-group img{ width:100%; height:auto; } .upload-group input, .upload-group .btn{ border-top:none; } [name="Image"]:checked ~ label .fa-star{ color:var(--main-color) } .edit-tab, .info-tab{ filter: grayscale(1); transform: scaleY(0); transition: transform 0.5s, filter 0.5s cubic-bezier(0.88, 0.01, 1, 0.04); } .info-tab{ transform-origin:bottom; } .edit-tab{ position: absolute; top: 0; left: 0; width:100%; transform-origin:top; } #edit-tab:checked ~ .edit-tab, #info-tab:checked ~ .info-tab{ transform:scaleY(1); filter: grayscale(0); } .__editor{ border: 1px solid var(--button-color)!important; font-family:unset!important; overflow:auto!important; } html { font-size: 1em; scroll-behavior: smooth; } .out .btn:hover:before { content: "x"; position: absolute; top: -8px; left: -3px; } .out .btn { position: relative; background: white; margin: .4em; } /* .mt-1{ display:none } */ #mw-navigation{ display:none } .main-menu li { padding: 0 0.5em; } .main-menu ul { margin: 0; display: none; position: absolute; white-space: nowrap; width: 100%; background: white; width: fit-content; border-radius: 5px; list-style: none; padding: 0; } .main-menu > ul:nth-child(1) { display: flex; position: relative; background: none; } .main-menu > ul { height: 100%; } .hover{ display:flex; } .main-menu ul div{ display: flex; align-items: center; height: 100%; }