From f81fa68acb6d37af3fb6c241ad452b83841e77de Mon Sep 17 00:00:00 2001 From: Rob Date: Mon, 13 Jan 2020 16:32:52 -0800 Subject: [PATCH] Move a couple of theme layout elements into the proper subsection of the theme section. --- sscaffold.css | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/sscaffold.css b/sscaffold.css index 1a32a19..6b2500d 100644 --- a/sscaffold.css +++ b/sscaffold.css @@ -959,27 +959,6 @@ body { } -main article, -main section { - padding: 7.5rem 1.0rem; - position: relative; - width: 100%; -} - - -main section > *, -main article > * { - max-width: 80rem; - margin-left: auto; - margin-right: auto; -} - - -main section .table-container table { - width: 100%; -} - - code { font-size: 86%; } @@ -1090,11 +1069,34 @@ legend.inline { /** - * Layout: Display, margin, padding, height, and width. + * Layout: Display, position, margin, padding, height, and width. */ -.table-container { +main article, +main section { + padding: 7.5rem 1.0rem; + position: relative; + width: 100%; +} + + +main section > *, +main article > * { max-width: 80rem; + margin-left: auto; + margin-right: auto; +} + + +main section .table-container, +main article .table-container { + max-width: 80rem; +} + + +main section .table-container table, +main article .table-container table { + width: 100%; }