Commit f766257479c8bcbf07664668c8b1dc94b4c1004d
Remove the <header> from inside the page summary
Transfer the balancing space styling to the <h1>Greg K Nicholson committed on 2/4/2018, 5:23:05 PM
Parent: a69243673b022c68aae9ed62d69c212758bcce23
Files changed
themes/ran/static/style/ran.css | changed |
themes/ran/templates/base.html | changed |
themes/ran/static/style/ran.css | |||
---|---|---|---|
@@ -272,9 +272,9 @@ | |||
272 | 272 … | summary::-webkit-details-marker { | |
273 | 273 … | display: none; | |
274 | 274 … | } | |
275 | 275 … | ||
276 | - summary header::before { | ||
276 … | + summary h1::before { | ||
277 | 277 … | /* Keep the summary centred. */ | |
278 | 278 … | content: " "; | |
279 | 279 … | height: 2rem; | |
280 | 280 … | width: 1rem; |
themes/ran/templates/base.html | ||
---|---|---|
@@ -50,13 +50,11 @@ | ||
50 | 50 … | <header> |
51 | 51 … | {%- block pagetitle -%} |
52 | 52 … | <details> |
53 | 53 … | <summary> |
54 | - <header> | |
55 | - <h1 class="pagetitle"> | |
56 | - {{- self.title() -}} | |
57 | - </h1> | |
58 | - </header> | |
54 … | + <h1 class="pagetitle"> | |
55 … | + {{- self.title() -}} | |
56 … | + </h1> | |
59 | 57 … | </summary> |
60 | 58 … | <main> |
61 | 59 … | {%- block pagedetails -%} |
62 | 60 … | <address> |
Built with git-ssb-web