MediaWiki:Common.css: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 473: Regel 473:
  
 
.grid-tags .botn {
 
.grid-tags .botn {
    border: none;
+
  border: none;
 
     text-transform: uppercase;
 
     text-transform: uppercase;
 
     color: var(--main-color);
 
     color: var(--main-color);
 
     font-weight: 800;
 
     font-weight: 800;
 
     background: none;
 
     background: none;
     font-size: 1.5em;
+
     font-size: 2em;
 
     text-align: left;
 
     text-align: left;
 +
    margin-right: 1.5em;
 +
    padding-right: 1.5em;
 +
    padding-left: 0;
 
}
 
}

Versie van 6 nov 2020 10:33

/** 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;
}

.list .col-md-4, .list .col-md-6 {
    width: 100%;
   max-width:unset;
}
.list .card {
    flex-direction: row;
}

.list .card-top{
    min-height: 14em;
    width: 52vw;
    max-width: 21vw;
    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;
}

.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;
    min-height: 200px;
    background: #e2e2e2;
}

.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;
}

.layout2 .grid-lijst {
    grid-area: 3/2;
}

.grid-datum input {
    border: none;
    outline: none;
    box-shadow: none;
    width: auto;
    font-weight: bold;
    color: black;
}

.grid-tags .botn {
   border: none;
    text-transform: uppercase;
    color: var(--main-color);
    font-weight: 800;
    background: none;
    font-size: 2em;
    text-align: left;
    margin-right: 1.5em;
    padding-right: 1.5em;
    padding-left: 0;
}