Commit 4a1bbe53e7b7253ca95091949b101ec77c840079
Distinguish between aside and inset
Not all asides will be inset. (Besides, the styling for inset doesn't really work for paragraphs yet.)Greg K Nicholson committed on 2/25/2018, 8:56:47 PM
Parent: 7182ce0fc06c3a886a53d9ae895a970495511315
Files changed
themes/ran/static/style/ran.css | changed |
themes/ran/static/style/ran.css | |||
---|---|---|---|
@@ -447,12 +447,10 @@ | |||
447 | 447 … | address { | |
448 | 448 … | font-style: inherit; | |
449 | 449 … | } | |
450 | 450 … | ||
451 | -aside, .inset { | ||
452 | - max-width: 50%; | ||
453 | - float: right; | ||
454 | - margin-left: 1rem; | ||
451 … | +aside { | ||
452 … | + font-style: italic; | ||
455 | 453 … | } | |
456 | 454 … | ||
457 | 455 … | blockquote { | |
458 | 456 … | margin-left: 2rem; | |
@@ -494,8 +492,14 @@ | |||
494 | 492 … | margin-right: auto; | |
495 | 493 … | text-align: center; | |
496 | 494 … | } | |
497 | 495 … | ||
496 … | +.inset { | ||
497 … | + max-width: 50%; | ||
498 … | + float: right; | ||
499 … | + margin-left: 1rem; | ||
500 … | +} | ||
501 … | + | ||
498 | 502 … | ol, ul { | |
499 | 503 … | margin-left: 0; | |
500 | 504 … | padding-left: 1rem; | |
501 | 505 … | } |
Built with git-ssb-web