diff options
author | RochDLY <roch.delannay@gmail.com> | 2024-02-20 11:26:27 +0100 |
---|---|---|
committer | RochDLY <roch.delannay@gmail.com> | 2024-02-20 11:26:27 +0100 |
commit | adba57970e9193a463aa6cd19e4c09cbfad19da8 (patch) | |
tree | 9d1e87680af1f77c1db013d1d668436a8b34e518 /static | |
parent | 94ac29e42319808d7f23940d65a3fbf55a1ccbb1 (diff) | |
download | pandoc-site-adba57970e9193a463aa6cd19e4c09cbfad19da8.tar.gz pandoc-site-adba57970e9193a463aa6cd19e4c09cbfad19da8.tar.bz2 pandoc-site-adba57970e9193a463aa6cd19e4c09cbfad19da8.zip |
modification du template nav
modification de la structure du nav, remplacement de la div par une liste non ordonnée. Modification du css en conséquence.
Modification du makefile dans la génération de l'indexc.
Diffstat (limited to 'static')
-rw-r--r-- | static/css/styles.css | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/static/css/styles.css b/static/css/styles.css index e6cf450..cbd82b1 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -64,12 +64,19 @@ footer { grid-row: 1; } -.navbar { +.navbar ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; background-color: white; } -.navbar a { +.navbar li { float: left; +} + +.navbar li a { display: block; color: black; text-align: center; @@ -77,15 +84,25 @@ footer { text-decoration: none; } -.navbar a.right { +.navbar li.right { float: right; } -.navbar a:hover { +.navbar li.right a:hover { + background-color: white; + cursor: default; +} + +.navbar li a:hover { background-color: #333; color: white; } +.easteregg a:hover { + background-color: white; + cursor: default; +} + .posts-list { grid-column: 1; grid-row: 2; @@ -139,4 +156,4 @@ footer a:hover, footer a:active { .toc a:hover, .toc a:active { text-decoration: underline; -}
\ No newline at end of file +} |