diff options
author | ADRN <adrien@luxeylab.net> | 2021-10-18 01:12:49 +0200 |
---|---|---|
committer | ADRN <adrien@luxeylab.net> | 2021-10-18 01:12:49 +0200 |
commit | ad495df529ef5c50f49a5f3e6b7a876fdadb21b9 (patch) | |
tree | 5e66e9151df3637d9e89ef6d92fe51a70ff55029 | |
parent | 88f618e51e1f4a4a762c46f37dea1011b8286ca9 (diff) | |
download | design-ad495df529ef5c50f49a5f3e6b7a876fdadb21b9.tar.gz design-ad495df529ef5c50f49a5f3e6b7a876fdadb21b9.zip |
styling nav
-rw-r--r-- | assets/css/blueprint.css | 39 | ||||
-rw-r--r-- | blueprint/index.html | 38 |
2 files changed, 39 insertions, 38 deletions
diff --git a/assets/css/blueprint.css b/assets/css/blueprint.css index 83ddda8..7bcdd69 100644 --- a/assets/css/blueprint.css +++ b/assets/css/blueprint.css @@ -4,12 +4,12 @@ @import url("../fonts/firasans-regular.css"); html, body { - background-color: white; - font-family: "Space Mono", Monaco, monospace !important; + background-color: white; + font-family: "Space Mono", Monaco, monospace !important; } p { - font-family: "Fira Sans"; + font-family: "Fira Sans"; } header { @@ -26,28 +26,29 @@ header { } header > p { - width: 40%; - position: relative; - left: 55%; - bottom: -75%; - - color: white; - /* color | offset-x | offset-y | blur-radius */ - text-shadow: black 0px 0px 4px; - - text-align: right; + width: 40%; + position: relative; + left: 55%; + bottom: -75%; + text-align: right; } -nav { - position: fixed; - +header > nav { + background: none; + position: fixed; + width: 100vw; } +header > p, header > nav.nav a { + color: white; + /* color | offset-x | offset-y | blur-radius */ + text-shadow: black 0px 0px 4px; +} footer { - border-top: black solid 2px; - margin-top: 3rem; - padding-top: 2rem; + border-top: black solid 2px; + margin-top: 3rem; + padding-top: 2rem; }
\ No newline at end of file diff --git a/blueprint/index.html b/blueprint/index.html index 3ba8ec7..ed4fa4a 100644 --- a/blueprint/index.html +++ b/blueprint/index.html @@ -14,26 +14,26 @@ </head> <body> - <nav> - <a href="#" class="home"><h1>Deuxfleurs</h1></a> - - <ul> - <li> - <a href="#">Documentation</a> - </li> - <li> - <a href="#">Blog</a> - </li> - <li> - <a href="#">Mon compte</a> - </li> - </ul> - </nav> - <header> - <!-- <img - src="assets/images/illustration-ronce_1200x765px.png" - alt="Un blaireau fait découvrir la cabane dans les arbres à son amie la souris"> --> + <nav class="nav"> + <div class="nav-left"> + <a href="#" class="home"><h1>Deuxfleurs</h1></a> + </div> + + <div class="nav-right"> + <ul> + <li> + <a href="#">Documentation</a> + </li> + <li> + <a href="#">Blog</a> + </li> + <li> + <a href="#">Mon compte</a> + </li> + </ul> + </div> + </nav> <p> Nous sommes un hébergeur associatif expérimental.<br> |