git ssb

0+

Grey the earthling / gkn.me.uk



Commit deab7af0d2b4d48b3f0c15dd8b0f7391ac4be08c

Change the page details' container from a <main> to a <section>

<main> is intended for the *page's* main content,
which this isn't.
Greg K Nicholson committed on 2/4/2018, 5:24:10 PM
Parent: f766257479c8bcbf07664668c8b1dc94b4c1004d

Files changed

themes/ran/static/style/ran.csschanged
themes/ran/templates/base.htmlchanged
themes/ran/static/style/ran.cssView
@@ -282,22 +282,22 @@
282282 padding-right: 1rem;
283283 float: left;
284284 }
285285
286-details main {
286 +details > section {
287287 border-bottom: 1px solid;
288288 margin-top: 1rem;
289289 padding-bottom: calc(1rem - 1px);
290290 }
291291
292- details main > * {
292 + details > section > * {
293293 display: inline-block;
294294 margin-right: 1rem;
295295 opacity: 0;
296296 transition: opacity var(--slow);
297297 }
298298
299- details[open] main > * {
299 + details[open] > section > * {
300300 opacity: 1;
301301 }
302302
303303 article > header .image {
themes/ran/templates/base.htmlView
@@ -54,9 +54,9 @@
5454 <h1 class="pagetitle">
5555 {{- self.title() -}}
5656 </h1>
5757 </summary>
58- <main>
58 + <section>
5959 {%- block pagedetails -%}
6060 <address>
6161 <span>by </span>
6262 <a href="/{{- AUTHOR_URL -}}"
@@ -64,9 +64,9 @@
6464 {{- AUTHOR -}}
6565 </a>
6666 </address>
6767 {%- endblock -%}
68- </main>
68 + </section>
6969 </details>
7070 {%- block maincontentintro -%}
7171 {%- endblock -%}
7272 {%- endblock -%}

Built with git-ssb-web