Project:Inclusion criteria/styles.css

< Project:Inclusion criteria
Revision as of 22:56, 13 July 2023 by Sirdog (talk | contribs) (Created page with ".wp-5p { margin: 0.6em 0 auto; } .wp-5p > div { display: flex; align-items: center; } .wp-5p-intro p { flex-grow: 1; } .wp-5p-intro div { order: 2; } .wp-5p h2 { border-bottom: none; } →‎flex and images don't work great with small-res default CSS from upstream: .wp-5p-pillar-image { flex-shrink: 0; } @media all and (max-width: 480px) { .wp-5p > div { flex-wrap: wrap; margin-top: 1em; } .wp-5p-pillar-content { order: 3; } .wp-5p-intro { ju...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

.wp-5p { margin: 0.6em 0 auto; }

.wp-5p > div { display: flex; align-items: center; }

.wp-5p-intro p { flex-grow: 1; }

.wp-5p-intro div { order: 2; }

.wp-5p h2 { border-bottom: none; }

/* flex and images don't work great with small-res default CSS from upstream */ .wp-5p-pillar-image { flex-shrink: 0; }

@media all and (max-width: 480px) { .wp-5p > div { flex-wrap: wrap; margin-top: 1em; }

.wp-5p-pillar-content { order: 3; }

.wp-5p-intro { justify-content: center; }

.wp-5p-intro p { order: 2; } }

@media all and (min-width: 481px) { .wp-5p-pillar-image { margin-right: 0.8em; } }


Copyright.svg At least one revision of this page incorporates text from https://en.wikipedia.org/wiki/Wikipedia:Five_pillars/styles.css which is released under CC BY-SA-4.0. (view authors)