diff --git a/assets/css/main.css b/assets/css/main.css index 0d1ff81..02c921c 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,6 +1,7 @@ /* Basic */ * { box-sizing: border-box; + margin: 0px; } /* Headers */ @@ -39,11 +40,40 @@ h4 { width: 11px; } .menu { - background-color: #1f2c3d; - color: #dadada; text-align: right; font-size: 15px; } +.menu nav a{ + text-decoration: none; + color: inherit; + font-size: 14px; +} +.menu nav li{ + display: inline-block; + width: 150px; + height: 30px; + padding: 5px 10px; + background-color :#1f2c3d; + border: 1px solid #d3ebff; + text-align: center; + color :#d3ebff; + position: relative; +} +.menu nav li:hover{ + background-color:#d3ebff; + color:#1f2c3d; + border-color: #1f2c3d; +} +.menu nav li>ul{ + display: none; +} +.menu nav li:hover>ul{ + display: block; + position: absolute; + top: 29px; + right: -1px; +} + /* Paragraphs */ p { diff --git a/assets/php/header.php b/assets/php/header.php index 90be9cd..a6f7af0 100644 --- a/assets/php/header.php +++ b/assets/php/header.php @@ -4,22 +4,29 @@ switch(true){ case strpos($page, 'detalles'): $page = 'Detalles'; break; - case strpos($page, 'bocetos'): $page = 'Detalles'; break; - case strpos($page, 'miembros'): $page = 'Detalles'; break; - case strpos($page, 'planificacion'): $page = 'Detalles'; break; - case strpos($page, 'contacto'): $page = 'Detalles'; break; + case strpos($page, 'bocetos'): $page = 'Bocetos'; break; + case strpos($page, 'miembros'): $page = 'Miembros'; break; + case strpos($page, 'planificacion'): $page = 'Planificación'; break; + case strpos($page, 'contacto'): $page = 'Contacto'; break; default: $page = 'FDI-Cines'; $prefix = './'; break; } echo"