Difference between revisions of "Template:ICT-Mumbai/basic"

Line 273: Line 273:
 
}
 
}
  
 
+
.footer {
 
+
  position: absolute;
.footer-distributed{
+
  right: 0;
background-color: #292c2f;
+
  bottom: 0;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
+
  left: 0;
box-sizing: border-box;
+
  padding: 1rem;
width: 100%;
+
  background-color: #efefef;
text-align: left;
+
  text-align: center;
font: normal 16px sans-serif;
+
        position: absolute;
+
        bottom: 0;
+
padding: 45px 50px;
+
margin-top: 80px;
+
        height:200px;
+
 
}
 
}
 
.footer-distributed .footer-left p{
 
color:  #8f9296;
 
font-size: 14px;
 
margin: 0;
 
}
 
 
/* Footer links */
 
 
.footer-distributed p.footer-links{
 
font-size:18px;
 
font-weight: bold;
 
color:  #ffffff;
 
margin: 0 0 10px;
 
padding: 0;
 
}
 
 
.footer-distributed p.footer-links a{
 
display:inline-block;
 
line-height: 1.8;
 
text-decoration: none;
 
color:  inherit;
 
}
 
 
.footer-distributed .footer-right{
 
float: right;
 
margin-top: 6px;
 
max-width: 180px;
 
}
 
 
.footer-distributed .footer-right a{
 
display: inline-block;
 
width: 35px;
 
height: 35px;
 
background-color:  #33383b;
 
border-radius: 2px;
 
 
font-size: 20px;
 
color: #ffffff;
 
text-align: center;
 
line-height: 35px;
 
 
margin-left: 3px;
 
}
 
 
/* If you don't want the footer to be responsive, remove these media queries */
 
 
@media (max-width: 600px) {
 
 
.footer-distributed .footer-left,
 
.footer-distributed .footer-right{
 
text-align: center;
 
}
 
 
.footer-distributed .footer-right{
 
float: none;
 
margin: 0 auto 20px;
 
}
 
 
.footer-distributed .footer-left p.footer-links{
 
line-height: 1.8;
 
}
 
}
 
 
  
  
Line 873: Line 803:
 
<br>
 
<br>
  
<footer class="footer-distributed">
+
<div class="footer">This footer will always be positioned at the bottom of the page, but <strong>not fixed</strong>.</div>
 
+
<div class="footer-right">
+
 
+
<a href="#"><i class="fa fa-facebook"></i></a>
+
<a href="#"><i class="fa fa-twitter"></i></a>
+
<a href="#"><i class="fa fa-linkedin"></i></a>
+
<a href="#"><i class="fa fa-github"></i></a>
+
 
+
</div>
+
 
+
<div class="footer-left">
+
 
+
<p class="footer-links">
+
<a href="#">Home</a>
+
·
+
<a href="#">Blog</a>
+
·
+
<a href="#">Pricing</a>
+
·
+
<a href="#">About</a>
+
·
+
<a href="#">Faq</a>
+
·
+
<a href="#">Contact</a>
+
</p>
+
 
+
<p>Company Name &copy; 2015</p>
+
</div>
+
 
+
</footer>
+
 
+
 
+
 
+
 
+
  
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 06:58, 9 October 2018

Simply