diff options
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/css.org | 21 |
1 files 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 |