Vorlage:Main page/styles.css: Unterschied zwischen den Versionen
Aus PadelWiki
Die Seite wurde neu angelegt: „→CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 :: .mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; gap: 10px; margin-top: 10px; margin-bottom: 10px; →eliminated by margin collapse on adjacent rows: } .mainpage_box { flex: 1; min-width: 210px; border: 1px solid #a2a9b1; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba( 0, 0, 0, 0…“ |
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| (19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
.flex-container { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: stretch; | |||
/* flex-flow: row nowrap; */ | |||
flex-direction: row; | |||
flex-wrap: nowrap; | |||
align-content: stretch; | |||
height: 100%; | |||
gap: 10px; | |||
padding-bottom: 10px; | |||
} | } | ||
. | |||
.flex-container > div{ | |||
background: #fffee7; | |||
border: 1px solid #ffec41; | |||
border-radius: 2px; | |||
padding: 10px; | |||
color: #89530a; | |||
} | } | ||
.item_full { | |||
flex-basis:100%; | |||
} | } | ||
.item_half { | |||
flex-basis:50%; | |||
} | } | ||
.item1 { | |||
flex-basis:50%; | |||
} | } | ||
.item1 h2 { | |||
margin: 0; | |||
color: #442304; | |||
} | } | ||
.item2 { | |||
flex-basis:50%; | |||
} | } | ||
Aktuelle Version vom 1. November 2025, 18:11 Uhr
.flex-container {
display: flex;
justify-content: flex-start;
align-items: stretch;
/* flex-flow: row nowrap; */
flex-direction: row;
flex-wrap: nowrap;
align-content: stretch;
height: 100%;
gap: 10px;
padding-bottom: 10px;
}
.flex-container > div{
background: #fffee7;
border: 1px solid #ffec41;
border-radius: 2px;
padding: 10px;
color: #89530a;
}
.item_full {
flex-basis:100%;
}
.item_half {
flex-basis:50%;
}
.item1 {
flex-basis:50%;
}
.item1 h2 {
margin: 0;
color: #442304;
}
.item2 {
flex-basis:50%;
}