Skip to content
Snippets Groups Projects
Commit 2a76b080 authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

footer auto adjust his heigth

parent a39d4994
No related branches found
No related tags found
No related merge requests found
......@@ -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{
......
......@@ -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' %>
......
......@@ -17,4 +17,7 @@
<%= image_tag 'cc.png' %>
Creative Commons Attribution 4.0 International Licence
</div></div>
<!--
<div id="footer-brasil"></div>
-->
</footer>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment