MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus kvwmap
Wechseln zu: Navigation, Suche
Zeile 37: Zeile 37:
  
 
.start-wrapper {
 
.start-wrapper {
   display: flex; 
+
   position: relative;
  flex-flow: row wrap;
+
  justify-content: center;
+
  align-content: stretch;
+
  align-items: center;
+
 
   width: 100%;
 
   width: 100%;
 
   height: 75vh;
 
   height: 75vh;
 
   margin: 0;
 
   margin: 0;
 
   padding: 0;
 
   padding: 0;
  gap: 5% 10%;
 
 
}
 
}
  
@media all and (min-width: 800px) {
+
#start-block1, #start-block2, #start-huebschesbild, #start-logo {
  .start-links { order: 1; }
+
   position: relative;
   .start-image { order: 2; }
+
 
}
 
}
  
.start-links, .start-image {
+
/* Max. Breite 1000 px */
  position: relative; 
+
@media only screen and (max-width: 1000px) {
  width: 45%;
+
  height: 100%
+
}
+
  
.start-links {
+
.start-wrapper {
 +
  height: 100%;
 
   display: flex;
 
   display: flex;
   flex-flow: column wrap;
+
   flex-direction: column;
   align-content: stretch;
+
   flex-wrap: nowrap;
  align-items: flex-start;
+
 
   justify-content: center;
 
   justify-content: center;
   gap: 1%;
+
   align-items: center;
   font-size: 1.5em;
+
   gap: 1em;
 
}
 
}
  
.start-image {
+
#start-block1, #start-block2, #start-huebschesbild, #start-logo {
 +
  position: relative;
 
   display: flex;
 
   display: flex;
   flex-flow: row wrap;
+
   flex-direction: row;
   justify-content: flex-start;
+
   justify-content: center;
  align-items: center;
+
 
}
 
}
  
.start-links > * {
+
#start-block1, #start-block2 {
   margin-left: 50%;
+
   box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
 
}
 
}
  
.start-block-2 {
+
#start-logo {
 +
  order: 1;
 
   width: 100%;
 
   width: 100%;
  margin-left: auto;
 
  text-align: right;
 
 
}
 
}
  
#huebschesbild img {
+
#start-block1 {
   width: 40%;
+
   order: 2;
   height: 40%;
+
   width: 50%;
  border: 10px solid #3976aa;
+
  border-radius: 100%;
+
  background: #eef7fb;
+
 
}
 
}
  
 +
#start-block2 {
 +
  order: 3;
 +
  width: 50%;
 +
}
  
 +
#start-huebschesbild {
 +
  order: 4;
 +
  width: 50%;
 +
}
  
 +
}
  
 +
/* Min. Breite 1000 px */
 +
@media only screen and (min-width: 1000px) {
 +
 +
#start-block1, #start-block2, #start-huebschesbild, #start-logo {
 +
  position: absolute;
 +
}
 +
 +
#start-block1 {
 +
  left: 34%;
 +
  top: 10%;
 +
  transform: translate(-50%,0%);
 +
}
 +
 +
#start-block2 {
 +
  left: 75%;
 +
  top: 80%;
 +
  transform: translate(-50%,0%);
 +
}
 +
 +
#start-huebschesbild {
 +
  left: 60%;
 +
  top: 20%;
 +
  transform: translate(-50%,0%);
 +
}
 +
 +
#start-logo {
 +
  left: 30%;
 +
  top: 80%;
 +
  transform: translate(-50%,0%);
 +
}
 +
 +
}
 +
 +
/* Min. Breite 1400 px */
 +
@media only screen and (min-width: 1400px) {
 +
 +
#start-block1 {
 +
  left: 32%;
 +
}
 +
 +
#start-block2 {
 +
  left: 78%;
 +
  top: 75%;
 +
}
 +
 +
}
 +
 +
.start-block1, .start-block2, .start-logo {
 +
  width: 250px;
 +
  height: fit-content;
 +
}
 +
 +
.start-block1, .start-block2 {
 +
 
 +
}
 +
 +
.start-block1, .start-block2 {
 +
  padding: 0.5em 1em;
 +
}
 +
 +
#start-huebschesbild img {
 +
  width: 60%;
 +
  height: auto;
 +
  border: 10px solid #3976aa;
 +
  border-radius: 100%;
 +
  background: #eef7fb;
 +
}
  
 
/* -------------- Startseite Ende -------------- */
 
/* -------------- Startseite Ende -------------- */

Version vom 27. Oktober 2023, 13:55 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

.noautonum .tocnumber { display: none; }

.portlet h3 {
  font-size: 106%;
}

.portlet ul {
  line-height: 1.5em;
  font-size: 106%;
}

img.halfwidth {
    width: 100%;
    height: auto;
}

div#mw-panel.collapsible-nav {
    position: fixed;
}

body.page-kvwmap_-_Open_Source_WebGIS #firstHeading {
    display: none;
}

body.page-kvwmap_-_Open_Source_WebGIS .mw-content-ltr > p {
    display: none;
}

div#p-namespaces.vectorTabs {
 display: none;
}


/* -------------- Startseite -------------- */

.start-wrapper {
  position: relative;
  width: 100%;
  height: 75vh;
  margin: 0;
  padding: 0;
}

#start-block1, #start-block2, #start-huebschesbild, #start-logo {
  position: relative;
}

/* Max. Breite 1000 px */
@media only screen and (max-width: 1000px) {

.start-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

#start-block1, #start-block2, #start-huebschesbild, #start-logo {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#start-block1, #start-block2 {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

#start-logo {
  order: 1;
  width: 100%;
}

#start-block1 {
  order: 2;
  width: 50%;
}

#start-block2 {
  order: 3;
  width: 50%;
}

#start-huebschesbild {
  order: 4;
  width: 50%;
}

}

/* Min. Breite 1000 px */
@media only screen and (min-width: 1000px) {

#start-block1, #start-block2, #start-huebschesbild, #start-logo {
  position: absolute;
}

#start-block1 {
  left: 34%;
  top: 10%;
  transform: translate(-50%,0%);
}

#start-block2 {
  left: 75%;
  top: 80%;
  transform: translate(-50%,0%);
}

#start-huebschesbild {
  left: 60%;
  top: 20%;
  transform: translate(-50%,0%);
}

#start-logo {
  left: 30%;
  top: 80%;
  transform: translate(-50%,0%);
}

}

/* Min. Breite 1400 px */
@media only screen and (min-width: 1400px) {

#start-block1 {
  left: 32%;
}

#start-block2 {
  left: 78%;
  top: 75%;
}

}

.start-block1, .start-block2, .start-logo {
  width: 250px;
  height: fit-content;
}

.start-block1, .start-block2 {
  
}

.start-block1, .start-block2 {
  padding: 0.5em 1em;
}

#start-huebschesbild img {
  width: 60%;
  height: auto;
  border: 10px solid #3976aa;
  border-radius: 100%;
  background: #eef7fb;
}

/* -------------- Startseite Ende -------------- */