MediaWiki:Common.css: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 384: | Regel 384: | ||
.hover > ul span:after { | .hover > ul span:after { | ||
content: " >>"; | content: " >>"; | ||
+ | } | ||
+ | .list .row{ | ||
+ | display:block; | ||
} | } |
Versie van 28 okt 2020 12:45
/** 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; min-height: 15em; } .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 { position: absolute; transform: scaleX(0); overflow: hidden; transition: transform 0.5s; transform-origin: right; z-index: 99999999999; right: 7em; } 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); } 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); display:none; transition: transform 0.5s, filter 0.5s cubic-bezier(0.88, 0.01, 1, 0.04); } .info-tab{ transform-origin:bottom; } .edit-tab{ 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); display:block; } .__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 { z-index: 999999; text-transform: capitalize; margin: 0; display: none; position: absolute; white-space: nowrap; width: 100%; background: #6c8b99; width: fit-content; list-style: none; padding: 0; } .main-menu > ul:nth-child(1) { display: flex; position: relative; background: none; text-transform: uppercase; font-size: 1.2em; color: var(--main-color); } .main-menu > ul:nth-child(1) > li.hover{ color:#6c8b99; } .main-menu > ul { height: 100%; } .hover > ul{ display:block; } .main-menu ul div{ display: flex; align-items: flex-end; height: 100%; transform: scale(.9 ,1.1); cursor:pointer; } .main-menu > ul:nth-child(1) > li > div >a { color: var(--main-color); } .hover li { padding: .7em 2em .7em 0; border-bottom: 1px solid white; margin: 0 1em; color:white; } .hover li:last-child { border: none; } .hover > ul { display: block; filter: drop-shadow(2px 4px 6px #989898); color:white; } .hover a { color: white; } .hover > ul ul li { border-bottom: 1px solid #6c8b99; } .hover > ul ul a { color: #6c8b99; } .hover > ul ul { background: var(--footer-color); bottom: 0; top: 0; left: 100%; color: #6c8b99; } .hover > ul ul a { color: #535f65; } .main-menu .fa { position: absolute; right: -16px; } .hover > ul span:after { content: " >>"; } .list .row{ display:block; }