diff options
| Commit | 8fd5a5546c8c1587269471913a69182ee98cbd2d (patch) | |
|---|---|---|
| Author | 2023-09-10 11:51:47 +0300 | |
| Committer | 2023-09-10 11:51:47 +0300 | |
| Files | dd1ef2e0cbc83d94ea20947f6ace0edfde481b21 /src/styles.css | |
| syndamia.com-8fd5a5546c8c1587269471913a69182ee98cbd2d.tar syndamia.com-8fd5a5546c8c1587269471913a69182ee98cbd2d.tar.gz syndamia.com-8fd5a5546c8c1587269471913a69182ee98cbd2d.zip | ||
| Parent | e942965c59a800e52138b6ffc7093723c1832138 (diff) | |
[styles,_header] Changed elements from block to inline in header
In the old way, browsers that do not support CSS will still show the header with proper "vertical" alignment.
This is a problem, since a good amount of the page on the top will be just the sidebar.
Now, everything is layed out a lot more flat-ly on such browsers, making better use of available space.
1 files changed, 7 insertions, 0 deletions
| -rw-r--r-- | src/styles.css | 7 |
diff --git a/src/styles.css b/src/styles.css index d6bddfc..11249d6 100644 --- a/src/styles.css +++ b/src/styles.css @@ -300,6 +300,13 @@ dt, dd { padding-left: 49px; } +/* Very old/unfinished browser compatibility */ + + /* Inside _header we use <span class="br"></span>, instead of <br>, because if your browser + * doesn't support CSS, we want most stuff to be aligned on a single line, rather than preserve + * the "vertical" layout */ +.br { display: block; } + /* lowdown classes and related settings */ .footnotes { font-size: 0.9em; margin-top: 3em; } |