styling nav
This commit is contained in:
parent
88f618e51e
commit
ad495df529
2 changed files with 39 additions and 38 deletions
|
@ -30,19 +30,20 @@ header > p {
|
|||
position: relative;
|
||||
left: 55%;
|
||||
bottom: -75%;
|
||||
|
||||
color: white;
|
||||
/* color | offset-x | offset-y | blur-radius */
|
||||
text-shadow: black 0px 0px 4px;
|
||||
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
nav {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -14,9 +14,13 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<header>
|
||||
<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>
|
||||
|
@ -28,13 +32,9 @@
|
|||
<a href="#">Mon compte</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</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"> -->
|
||||
|
||||
<p>
|
||||
Nous sommes un hébergeur associatif expérimental.<br>
|
||||
Avec nos machines et nos logiciels, <br>
|
||||
|
|
Loading…
Reference in a new issue