summaryrefslogtreecommitdiff
path: root/resources/css.org
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-04-10 12:24:49 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-04-10 12:24:49 +0200
commit42c65ceaa7a3959c3826d7ab87c67aad578506c8 (patch)
tree7e49aef89fc83047207a04b52dcc816e370de2b5 /resources/css.org
parent633b5044e31304c6552ec6b15aea55e6412b6556 (diff)
css.org descriptions.
Diffstat (limited to 'resources/css.org')
-rw-r--r--resources/css.org21
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
Copyright 2019--2026 Marius PETER