MediaWiki:Common.css: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 234: | Regel 234: | ||
--color-input:359; | --color-input:359; | ||
--main-color:hsl(calc(var(--color-input)*1deg) 79% 65%); | --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%); hsl(190deg 9% 73%) | ||
} | } | ||
Regel 306: | Regel 308: | ||
} | } | ||
.bg-gray { | .bg-gray { | ||
− | background: | + | background: var(--back-color); |
} | } | ||
.red { | .red { | ||
Regel 328: | Regel 330: | ||
} | } | ||
div#footer { | div#footer { | ||
− | background: | + | background: var(--footer-color); |
} | } | ||
Versie van 18 aug 2020 10:29
/** 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'); html { font-size: 1em; } .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: #005f90; } .hp-kop { font-size:18px; font-weight: 500; color:#008c00; line-height: 250%; } .hp-top-kop { font-size:32px; color:#FFFFFF; } .hp-news-kop { font-size:14px; } .hp-news-date { font-size:10px; color:#A9A9A9; } .hp-top-body { font-size:16px; font-weight:300; line-height:160%; color:#FFFFFF; } .hp-top-link a { padding:10px; border:1px solid; border-color:#FFFFFF; border-radius:7px; font-size:16px; color:#FFFFFF !important; } .hp-top-link-pijl-wit a { background: no-repeat right 10px center url('https://www.shopping2020.nl/images/8/88/Pijl_wit.png') !important; } .hp-top-link a:hover { background-color:#FFFFFF; color:rgb(2, 148, 211) !important; text-decoration:none !important; } .hp-top-link-pijl-wit a:hover { background: #FFFFFF no-repeat right 10px center url('https://www.shopping2020.nl/images/4/4c/Pijl_blauw.png') !important; } .rh-kop { font-size:14px; } .rh-user-kop { font-size:12px; font-weight:500; } .rh-user-body { font-size:12px; } .hp-ag-mo { font-size:40px; color:#FFFFFF; } h2.ow-hoofdstuk-kop { font-size:16px; font-weight: bold; } table { border-spacing: 0px; } .wikiEditor-ui-text textarea { font-family: monospace; } /*** SHOPPING1920-skin ***/ body { background-color: #fcfcfc; } div#wrapper { display: block; margin: auto; width: 1200px; position: relative; padding-bottom:1em; } .PoweredByWikibase { position: relative; right: 24px; top: 4px; float:right; } div#footer { margin-top: 0; direction: ltr; background: none; background-repeat: repeat; border-top: 0; padding: 1.5em; } div#footer ul { list-style-type: none; list-style-image: none; margin: 0; color: #333333; } div#footer div>ul { font-size: 0.75em; } div#footer ul li { display: inline-block; width: 192px; margin: 0; padding: 0; vertical-align: top; font-weight: bold; } div#footer ul li ul { margin-top: 8px; padding: 0px; } div#footer ul li ul li{ display: block; width: 100%; padding: 1px 0; margin: 0; font-weight: normal; } div#footer ul li img { margin-right: 4px; } div#toes { position: relative; margin-left: 11em; margin-top: 0; color: #fff; padding: 0; background: #14af32; } div#toes span { font-size: 0.75em; line-height: 3.2em; margin-left: 2em; } div#toes a { color: #FFFFFF; } div#toes a:visited { color: #FFFFFF; } .circle { border-radius: 50%; display: inline-block; margin: 5px 5px 0 5px ; } #bannerCircleOpen { width: 12px; height: 12px; border: 1px solid #0294d3; background: none; } #bannerCircleClosed { width: 12px; height: 12px; border: 1px solid #0294d3; background: #0294d3; } .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%; } :root{ --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%); hsl(190deg 9% 73%) } /* header */ .mt-1{ display:none } #mw-navigation{ display:none } .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 #3c6d81; 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: -2px; } 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 #3c6c81; } .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; } .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 #3c6c81; } .upload-wrapper{ grid-gap: 2em; display: grid; grid-template-columns: repeat(2, 1fr); } .upload-wrapper div{ border: 1px solid #3c6c81; width:100%; height:10em; background:white; } .image-wrapper img{ width:100%; height:auto; }