Centre one 42rem reading column on content, post, event and FAQ pages
This commit is contained in:
1 parent
7d09233ca2
commit
a847507b46
6 files changed
+82
-10
No files matched your search
@@ -0,0 +1,11 @@
|
||||
/* A content page is one reading column: its text, boxes and card grids all stop at
|
||||
42rem (app.css). Left-aligned in the 72rem layout that column left a wide empty
|
||||
strip on the right of a desktop screen; centred, the empty space splits evenly and
|
||||
the page sits balanced under the header. Title and body share the column, so they
|
||||
keep one left edge. The children inside keep margin 0 and simply fill it. */
|
||||
h1,
|
||||
article,
|
||||
p {
|
||||
max-width: 42rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
Reference in new issue
Block a user