reglages navbar
This commit is contained in:
37
styles/nav.css
Normal file
37
styles/nav.css
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
/*---------------------------------------------*/
|
||||
/*NAVBAR*/
|
||||
body nav {
|
||||
border-bottom: 1px solid lightgrey;
|
||||
}
|
||||
body nav * {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: auto;
|
||||
}
|
||||
body nav .nav_left, body nav .nav_right {
|
||||
margin: 2px auto;
|
||||
}
|
||||
/* nav_left is used for links to pages*/
|
||||
body nav .nav_left {
|
||||
margin-left: 2px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
body nav .nav_left a {
|
||||
height: 100%;
|
||||
margin: auto 20px;
|
||||
}
|
||||
body nav .nav_left img {
|
||||
height: 100%;
|
||||
}
|
||||
/* nav_right is used for actions such as connection, search or language*/
|
||||
body nav .nav_right {
|
||||
margin-right: 2px;
|
||||
}
|
||||
/* links looks on hover or click*/
|
||||
body nav a:hover, body nav a:focus {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user