From: Valessio Soares de Brito Date: Thu, 6 Jun 2019 02:17:38 +0000 (-0400) Subject: organize css and add style nav-menu X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b4ed810ac61160bce03d123ad03881e17e46c92b;p=ryf-theme.git organize css and add style nav-menu --- 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; +}