diff options
author | Franck Cuny <franck@fcuny.net> | 2022-01-23 19:11:39 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-01-23 19:11:39 -0800 |
commit | 24cebe8b0005ffd6e0dc390780ce54139a1179ec (patch) | |
tree | 58cea283b907e46b26c14e9f3bbc1bdc52f50ca5 /users/fcuny/notes/static/css | |
parent | layout: no need for a class to element 'article' (diff) | |
download | world-24cebe8b0005ffd6e0dc390780ce54139a1179ec.tar.gz |
CSS: switch from class to id
These elements are unique on each page.
Diffstat (limited to 'users/fcuny/notes/static/css')
-rw-r--r-- | users/fcuny/notes/static/css/custom.css | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/users/fcuny/notes/static/css/custom.css b/users/fcuny/notes/static/css/custom.css index 80b07a0..3f4a142 100644 --- a/users/fcuny/notes/static/css/custom.css +++ b/users/fcuny/notes/static/css/custom.css @@ -74,27 +74,27 @@ pre { background-color: #fafafa; } -.meta { +#meta { display: row; } -.meta_tags { +#meta_tags { border-radius: 8px; padding: 0 .5rem; - font-size: 80%; + font-size: 0.9rem; border: 2px solid #eee; background-color: #eee; } -.meta_tags a { +#meta_tags a { text-decoration: none; border-bottom: none; color: #005a9c; } -.meta_date { +#meta_date { font-style: italic; - font-size: 80%; + font-size: 0.9rem; } table { @@ -155,7 +155,7 @@ article { max-width: 45rem; } -.toc {display: none} +#toc {display: none} #toc_small { font-size: 0.9rem; @@ -180,10 +180,10 @@ summary { #TableOfContents li {margin-bottom: 1rem;} @media screen and (min-width:58rem) { - .toc { + #toc { padding-left: 1rem; padding-top: 4.5rem; - font-size: 0.8em; + font-size: 0.9rem; display:block; position:sticky; top:0; |