cambios de estilo a navbar
[salamandradevs.site/.git] / themes / droda / assets / css / main.css
index b300de9796c52f86823d6d40406f44368bc348ce..4aa830f49f911e8ab8813c351a48020351daa605 100644 (file)
@@ -21,6 +21,7 @@
    --bgColorLightDark: #4f5864;
    --bgColorLight: #D2D2D2;
    --globalScale: 1;
+   
 }
 
 h1 {
@@ -99,15 +100,42 @@ aside .item {
 
 nav {
    grid-area: navbar;
+   background-color: var(--bgColorLightDark);
+   width: 100%;
+}
+
+nav ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
-   justify-content: space-between;
+   justify-content: flex-start;
+   list-style-type: none;
    width: 100%;
-   padding: 0 2rem;
-   background-color: var(--bgColorLightDark);
+   height: 100%;
+   margin: 0;
+   padding: 0;
+   overflow: hidden;
+   background-color: #333;
 }
 
+nav li {
+   display: flex;
+   align-items: center;
+   height: 100%;
+ }
+nav a {
+   display: block;
+   color: white;
+   text-align: center;
+   padding: 14px 16px;
+   text-decoration: none;
+ }
+ nav li:hover {
+   background-color: #111;
+ }
+
 main {
    grid-area: main;
    padding: 2rem;