diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 10336edd0c85f1a8f13082b58836f37cd0cdc283..3697d06ab0bb4848c0ef44bdd3987a94f0cddb4e 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -42,20 +42,19 @@ background-color: black !important; } /*---------------*/ + +#footer-brasil { + background: none repeat scroll 0% 0% #00420c; + padding: 1em 0px; + max-width: 100%; +} + html, body { margin:0; padding:0; height:100%; } -#container { - min-height:100%; - position:relative; -} -#body { - padding:10px; - padding-bottom:60px; /* Height of the footer */ -} #footer { position:absolute; bottom:0; @@ -112,8 +111,8 @@ footer{ .main{ background-color: #313131; - height: 256px; padding: 16px; + min-height: 256px; } .footerbar{ diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 95c0f4928199061de2a7dec91ba7ff80f59af3f5..af4427070f402e39e9741d69f7718993f5da34b1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -8,9 +8,9 @@ <meta property="creator.productor" content="http://estruturaorganizacional.dados.gov.br/id/unidade-organizacional/1"> </head> <body> - <div id="container"> + <div> <%= render 'shared/application/header' %> - <div id='body'> + <div> <%= yield %> </div> <%= render 'shared/application/footer' %> diff --git a/app/views/shared/application/_footer.html.erb b/app/views/shared/application/_footer.html.erb index e5bb4994c9ce437157383654ee962ce1366283f9..1b821be4d278d465fb427639362b5e2100641d66 100644 --- a/app/views/shared/application/_footer.html.erb +++ b/app/views/shared/application/_footer.html.erb @@ -17,4 +17,7 @@ <%= image_tag 'cc.png' %> Creative Commons Attribution 4.0 International Licence </div></div> + <!-- + <div id="footer-brasil"></div> + --> </footer>