MediaWiki:Common.css
Uit Dorpsbelang Den Hout
Versie door Ad Strack van Schijndel (overleg | bijdragen) op 21 sep 2024 om 14:48
Opmerking: nadat u de wijzigingen hebt opgeslagen is het wellicht nodig uw browsercache te legen.
- Firefox / Safari: houd Shift ingedrukt terwijl u op Vernieuwen klikt of druk op Ctrl-F5 of Ctrl-R (⌘-Shift-R op een Mac)
- Google Chrome: druk op Ctrl-Shift-R (⌘-Shift-R op een Mac)
- Internet Explorer: houd Ctrl ingedrukt terwijl u op Vernieuwen klikt of druk op Ctrl-F5
- Opera: ga naar Menu → Instellingen (Opera → Voorkeuren op een Mac) en daarna naar Privacy & beveiliging → Browsegegevens wissen... → Tijdelijk opgeslagen afbeeldingen en bestanden.
/** 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'); img { width: 100%; height: auto; } .container > .row { margin: 0 -15px; } .betaal-link { border: solid orange; border-radius: 6px; padding: .15em .3em; background: #FFDB01; width: fit-content; } .responsive-image { width: 100%; height: auto; object-fit: cover; } .table td { border:0; } .main-menu ul{ z-index: 2; text-transform: none; margin: 0; display: none; position: absolute; white-space: nowrap; width: auto; background: #6c8b99; width: fit-content; list-style: none; padding: 0; } .main-menu > ul:nth-child(1) > li:last-child ul { right: 0; } .check-next:checked + ul{ display:block; } .main-menu label{ cursor:pointer; } .main-menu > ul > li:nth-child(1) > a{ color:var(--main-color); } .main-menu > ul:nth-child(1) > li.hover{ color:#6c8b99; } /* .hover > ul{ display:block; } */ .check-next:checked + ul li { padding: .7em 2em .7em 0; border-bottom: 1px solid white; margin: 0 1em; color:white; } .check-next:checked + ul li:last-child { border: none; } .check-next:checked + ul { display: block; filter: drop-shadow(2px 4px 6px #989898); color:white; } .check-next:checked + ul a { color: white; } .check-next:checked + ul ul li { border-bottom: 1px solid #6c8b99; } .check-next:checked + ul ul a { color: #6c8b99; } .check-next:checked + ul ul { background: var(--footer-color); bottom: 0; top: 0; left: 100%; color: #6c8b99; } .check-next:checked + ul ul a { color: #535f65; } .edit-tools { display: grid; grid-gap: .5em; } .title-wrapper { align-self: self-end; } .corps-kabouter { font-size: x-small; } .btn-primary { color: #FFF !IMPORTANT; } .hidden { display: none; } body { font-size: 1.1rem; } .mw-body { padding: 0; margin:0; } .tableVerenigingen tr, table.tableVerenigingen { width: 100%; } .tableVerenigingen tr td:nth-child(1) { width: 20%; } .tableVerenigingen tr td:nth-child(2) { width: 40%; } .tableVerenigingen tr td:nth-child(3) { width: 40%; } 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{ --h-val:359; --s-val:77; --l-val:66; --color-input:359; --main-color:hsl(calc(var(--color-input)*1deg) 79% 65%); --main-color:hsl(calc(var(--h-val)*1deg) calc(var(--s-val)*1%) calc(var(--l-val)*1%)); --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%); --back-color:hsl(calc(var(--h-val)/2.175*1deg) calc((var(--s-val) / 8 )*1%) calc((var(--l-val) + 19)*1%)); --footer-color:hsl(calc(var(--h-val)/1.889*1deg) calc((var(--s-val) / 8 )*1%) calc((var(--l-val) + 2)*1%)); --button-color:hsl(calc(var(--h-val)/1.8229*1deg) calc(var(--s-val)/2*1%) calc(var(--l-val)/2*1%)); } .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; } h3 { margin-top: 1em; } .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; font-size:.9em; } .main-menu > ul:nth-child(1) { display: flex; justify-content: space-evenly; position: relative; background: none; text-transform: uppercase; font-size: 1.2em; color: var(--main-color); width: 100%; } .main-menu > ul:nth-child(1) { } @media(max-width:992px){ .main-menu > ul:nth-child(1) { flex-direction:column; } .d-lg-flex{ text-align:right; } .main-menu{ display:none; } input:checked ~ .main-menu{ display:block; } } .main-menu > ul { height: 100%; } .main-menu ul div{ display: flex; align-items: flex-end; height: 100%; transform: scale(.9 ,1.1) translateX(-11px) cursor:pointer; } .main-menu > ul:nth-child(1) > li > div >a { color: var(--main-color); } .main-menu li{ } .hover > ul span:after { content: " >>"; } .list .row{ display:block; } .list .col-md-4, .list .col-md-6 { width: 100%; max-width:unset; } .list .card { display: grid; grid-template-columns: 1fr 3fr; } .list .card-top{ min-height: 0em; margin-right: 2em; } .bericht-grid { display: grid; grid-template-columns: 14em 5fr; } .grid-tags { grid-area: 1 /1; position: absolute; max-width: 14em; } .grid-datum { grid-area: 1/2; display:flex; } .grid-titel { grid-area: 2/2; } .grid-bericht { grid-area: 3/2; } .grid-lijst { grid-area: 4/2; } .grid-img { grid-area: 5 / 1 / 6 /3; background: #e2e2e2; position:relative; } .bericht-grid.layout2 { grid-template-columns: 1fr 1fr; } .layout2 .grid-tags { grid-area: 2 /1; position: unset; max-width: unset; } .layout2 .grid-datum { grid-area: 1/1; } .layout2 .grid-titel { grid-area: 3/1; } .layout2 .grid-bericht { grid-area: 4 / 1 / 4 /3; } .layout2 .grid-lijst { display:none } .grid-datum input { border: none; outline: none; box-shadow: none; width: auto; font-weight: bold; color: black; padding-left: 0; } .grid-titel input { border: none; box-shadow: none; outline: none; font-weight: bold; color: black; padding: 0; } .grid-tags .botn { border: none; text-transform: uppercase; color: var(--main-color); font-weight: 800; background: none; font-size: 2em; text-align: left; margin-bottom: .2em; margin-right: 1.5em; padding-right: 1.5em; padding-left: 0; overflow-wrap: break-word; } .grid-img #drop-area { text-align: center; background: #ff000000; position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; } h1.mt-0.pt-0.mr-4.pr-4 { overflow-wrap: break-word; } .inpt { box-shadow: inset 1px 1px 4px #dfdfdf; background: white; border: 1px solid var(--button-color); margin-left: 0.5em !important; border-radius: 0; text-transform: uppercase; display: inline-block; font-weight: 400; color: #212529; text-align: center; vertical-align: middle; padding: 0.375rem 0.75rem; transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; } .inptext { margin-bottom: 1em; box-shadow: inset 1px 1px 4px #dfdfdf; background: white; border: 1px solid var(--button-color); border-radius: 0; display: inline-block; font-weight: 400; color: #212529; vertical-align: middle; padding: 0.375rem 0.75rem; transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; } input[type="date"].disabled { display: none; } button.btn.remove-img { position: absolute; top: 0; right: 0; } div#ws-image-upload > div { max-width: unset; } .card-top img { width: 100%; height: auto; } .main-menu li { cursor: pointer; }