Commit ffcc6005976645202ef2b476a8c7391760f50f6f
1 parent
2a65790f
Exists in
master
and in
5 other branches
Add link in header
Showing
4 changed files
with
27 additions
and
1 deletions
Show diff stats
cabecalho-amarelo-theme.css
... | ... | @@ -445,7 +445,7 @@ background: url(images/icone-verde-flickr.png) 0 20px; |
445 | 445 | margin: auto; |
446 | 446 | } |
447 | 447 | |
448 | -#cat_menu { | |
448 | +#custom-menu { | |
449 | 449 | background: url(images/marca-participacao-social.png) no-repeat center left; |
450 | 450 | height: 40px; |
451 | 451 | padding-left: 60px; | ... | ... |
header.html.erb
... | ... | @@ -88,6 +88,9 @@ |
88 | 88 | </div> |
89 | 89 | |
90 | 90 | <div id="barra-psocial"> |
91 | + <span id="custom-menu"> | |
92 | + <a href="http://biblioteca.participa.br/" target="_blank"><img src="/designs/themes/participa-theme/images/biblioteca_digital.png" title="Biblioteca Digital"></a> | |
93 | + </span> | |
91 | 94 | <div id="categories_menu"> |
92 | 95 | <%= theme_include 'categories' %> |
93 | 96 | </div> | ... | ... |
10.2 KB
style.css
... | ... | @@ -24,6 +24,29 @@ |
24 | 24 | src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); |
25 | 25 | } |
26 | 26 | |
27 | +#custom-menu a:hover { | |
28 | + background-color: #E1E4E4; | |
29 | +} | |
30 | + | |
31 | +#site-title { | |
32 | + display: none; | |
33 | +} | |
34 | +#custom-menu { | |
35 | + display: inline-block; | |
36 | + margin-left: 10px; | |
37 | + float: left; | |
38 | +} | |
39 | +#categories_menu { | |
40 | + float: left; | |
41 | +} | |
42 | +#custom-menu img { | |
43 | + height: 30px; | |
44 | +} | |
45 | +#custom-menu a { | |
46 | + padding: 5px; | |
47 | + display: inline-block; | |
48 | +} | |
49 | + | |
27 | 50 | #theme-header { |
28 | 51 | height: auto; |
29 | 52 | } | ... | ... |