From 42c65ceaa7a3959c3826d7ab87c67aad578506c8 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 10 Apr 2022 12:24:49 +0200 Subject: css.org descriptions. --- resources/css.org | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/resources/css.org b/resources/css.org index 9fd9ab7..ae6b91f 100644 --- a/resources/css.org +++ b/resources/css.org @@ -248,20 +248,31 @@ Certains homepage sections are styled uniquely, for visual impact. #+end_src -* Main content +* TODO Main content -The following rule concerns all the content displayed on the page. +The following rules concerns all the content displayed on the +page. Most notably, we hide the mobile navigation buttons, which are +hidden to the left and right of the top navigation bar on the desktop +version. -It concerns all children (not all descendants!) of the main ~#content~ -section, except for the title and topnav sections. +#+BEGIN_SRC css + #content { + max-width: 100%; /* This was set to 60em in Emacs 28.1 */ + } + p { text-align: justify; } +#+END_SRC + +The following rule concerns all children (not /all/ descendants!) of +the main ~#content~ section, except for the title and topnav sections. #+BEGIN_SRC css + #content > :not(.title, #topnav) { line-height: 1.5em; width: 60%; margin: auto; } - p { text-align: justify; } + #+END_SRC -- cgit v1.2.3