From b4ed810ac61160bce03d123ad03881e17e46c92b Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Wed, 5 Jun 2019 22:17:38 -0400 Subject: [PATCH] organize css and add style nav-menu --- css/style.css | 104 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 70 insertions(+), 34 deletions(-) diff --git a/css/style.css b/css/style.css index 98323cb..e0c007f 100644 --- a/css/style.css +++ b/css/style.css @@ -5,6 +5,8 @@ body { margin: 0; } +a { transition: 0.3s; } + .navbar-default { background: #000; color: #FFF; @@ -38,54 +40,88 @@ body { margin: 0; } #block-ryf-main-menu .navbar-nav { margin-left: 180px; } -.navbar-default .navbar-nav>li>a { color: #FFF; } -.navbar-default .navbar-nav>li>a:hover { color: #777 } +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav>li>a { + color: #FFF; + border-bottom: 2px solid transparent; +} + +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav>li>a:hover { + color: #edd400; + border-bottom: 2px solid #edd400; + padding-bottom: 5px; + background: #000; + margin-bottom: 5px; +} + +#block-bootstrap-main-menu { + margin-left: 200px; + width: 100%; +} -#block-bootstrap-main-menu { margin-left: 200px; width: 100%; } +.footer { + background: #333; + color: #FFF; +} -.footer { background: #333; color: #FFF; } .footer a { color: #edd400; } + .footer a:hover { color: #FFF; } + .footer h4 { font-weight: bold; } + .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; } -.ryf-list img{max-width:100%;} +.ryf-list img { + max-width:100%; +} .ryf-list { - padding: 10px; - border: 1px solid #f5efef; - float: left; - margin: 5px 0; - border-radius: 5px; - box-shadow: 2px 3px 0px #e4d8d8; - position:relative; - overflow:hidden; + padding: 10px; + border: 1px solid #f5efef; + float: left; + margin: 5px 0; + border-radius: 5px; + box-shadow: 2px 3px 0px #e4d8d8; + position:relative; + overflow:hidden; } + .ryf-list .field { - min-height: 150px; + min-height: 150px; } + .ryf-list h2 { - text-align: left; - color: #118991; - font-size: 1.5em; - font-weight: 500; - line-height: 1.2em; - margin: 0px; - padding: 0px; - border-bottom: 1px solid #ccc4c4; - margin-bottom: 5px; - padding-bottom: 5px; - } + text-align: left; + font-size: 1.5em; + font-weight: 500; + line-height: 1.2em; + margin: 0px; + padding: 0px; + border-bottom: 1px solid #ccc4c4; + margin-bottom: 5px; + padding-bottom: 5px; +} + +.ryf-list a { + color: #118991; + text-decoration: none; +} + +.ryf-list a:hover { + color: #000; +} .ryf-list .node-readmore, .ryf-list .tags, .ryf-list .supplier { - width: 100%; - float: left; - font-size: 0.9em; - border-top: 1px solid #ccc4c4; - margin-top: 5px; - padding-top: 5px; - color: #afadad; - } - + width: 100%; + float: left; + font-size: 0.9em; + border-top: 1px solid #ccc4c4; + margin-top: 5px; + padding-top: 5px; + color: #afadad; +} -- 2.25.1