terraform/website/source/stylesheets/_footer.less

211 lines
4.4 KiB
Plaintext
Raw Normal View History

2014-07-23 10:12:09 +02:00
#footer-wrap{
background-color: white;
padding: 0 0 50px 0;
}
body.page-home{
#footer{
margin-top: -40px;
}
}
2014-07-23 10:12:09 +02:00
#footer{
padding: 140px 0 40px;
color: black;
a{
color: black;
}
.footer-links{
margin-bottom: 20px;
.li-under a:hover::after,
.li-under a:focus::after {
opacity: 1;
-webkit-transform: skewY(15deg) translateY(8px);
-moz-transform: skewY(15deg) translateY(8px);
transform: skewY(15deg) translateY(8px);
}
.li-under a::after {
background-color: @purple;
}
li{
a{
text-transform: uppercase;
font-size: 12px;
letter-spacing: 3px;
2014-07-25 03:07:48 +02:00
.transition( color 0.3s ease );
font-weight: 400;
2014-07-23 10:12:09 +02:00
&:hover{
2014-07-25 03:07:48 +02:00
color: @purple;
.transition( color 0.3s ease );
2014-07-23 10:12:09 +02:00
background-color: transparent;
}
}
}
}
.buttons.navbar-nav{
float: none;
display: inline-block;
margin-bottom: 30px;
margin-top: 0px;
li{
&.first{
margin-right: 12px;
}
&.download{
a{
background: url(../images/icon-download-purple.png) 8px 6px no-repeat;
.img-retina("../images/icon-download-purple.png", "../images/icon-download-purple@2x.png", 20px, 20px);
}
}
&.github{
a{
background: url(../images/icon-github-purple.png) 8px 6px no-repeat;
.img-retina("../images/icon-github-purple.png", "../images/icon-github-purple@2x.png", 20px, 20px);
}
}
}
li > a {
padding-top: 6px;
padding-bottom: 6px;
padding-left: 40px;
}
2014-07-27 20:38:23 +02:00
}
2014-07-23 10:12:09 +02:00
.footer-hashi{
float: right;
2014-07-25 00:32:00 +02:00
padding-top: 5px;
2014-07-23 10:12:09 +02:00
letter-spacing: 2px;
a{
color: black;
font-weight: @font-weight-lato-xb;
}
span{
margin-right: 10px;
}
2014-07-23 10:34:26 +02:00
.hashi-logo{
2014-07-23 10:12:09 +02:00
display: inline-block;
2014-07-23 10:34:26 +02:00
vertical-align: middle;
i{
display: inline-block;
width: 37px;
2014-07-27 20:38:23 +02:00
height: 40px;
2014-07-23 10:34:26 +02:00
background: url(../images/footer-hashicorp-logo.png) 0 0 no-repeat;
2014-07-27 20:38:23 +02:00
.img-retina("../images/footer-hashicorp-logo.png", "../images/footer-hashicorp-logo@2x.png", 37px, 40px);
2014-07-25 00:32:00 +02:00
}
2014-07-23 10:12:09 +02:00
}
}
}
2014-07-23 10:34:26 +02:00
.page-sub{
#footer-wrap{
padding: 0;
}
2014-07-23 10:12:09 +02:00
2014-07-23 10:34:26 +02:00
#footer{
2014-07-23 10:42:05 +02:00
padding: 140px 0 100px;
2014-07-23 10:34:26 +02:00
background-color: @black;
transform: none;
2014-07-23 10:40:12 +02:00
2014-07-23 10:42:05 +02:00
>.container{
transform: none;
}
2014-07-23 10:40:12 +02:00
a{
color: white;
}
.footer-hashi{
color: white;
2014-07-23 10:42:05 +02:00
2014-07-23 10:40:12 +02:00
.hashi-logo{
i{
background: url(../images/footer-hashicorp-white-logo.png) 0 0 no-repeat;
2014-07-27 20:38:23 +02:00
.img-retina("../images/footer-hashicorp-white-logo.png", "../images/footer-hashicorp-white-logo@2x.png", 37px, 40px);
}
2014-07-23 10:40:12 +02:00
}
2014-07-27 20:38:23 +02:00
}
2014-07-23 10:34:26 +02:00
}
}
2014-07-23 10:12:09 +02:00
@media (min-width: 1500px) {
body.page-home{
#footer{
margin-top: -60px;
padding: 190px 0 40px;
}
}
}
2014-07-25 00:32:00 +02:00
@media (max-width: 992px) {
2014-07-25 01:19:58 +02:00
.page-sub #footer, #footer{
2014-07-23 10:12:09 +02:00
.footer-hashi {
2014-07-25 00:32:00 +02:00
padding-top: 14px;
2014-07-23 10:12:09 +02:00
span{
2014-07-25 00:32:00 +02:00
margin-right: 6px;
2014-07-23 10:12:09 +02:00
}
.hashi-logo{
2014-07-25 00:32:00 +02:00
i{
2014-07-25 01:19:58 +02:00
margin-top: -6px;
2014-07-25 00:32:00 +02:00
width: 20px;
height: 22px;
2014-07-27 20:38:23 +02:00
background-size: 20px 22px;
}
2014-07-25 00:32:00 +02:00
}
}
}
2014-07-25 01:19:58 +02:00
2014-07-27 20:38:23 +02:00
2014-07-25 00:32:00 +02:00
}
@media (max-width: 768px) {
#footer{
padding: 100px 0 40px;
text-align: center;
.footer-links{
float: none;
display: inline-block;
}
.footer-hashi {
float: none;
display: inline-block;
.pull-right{
float: none !important;
2014-07-23 10:12:09 +02:00
}
}
2014-07-25 00:32:00 +02:00
}
}
2014-07-23 10:12:09 +02:00
2014-07-25 00:32:00 +02:00
@media (max-width: 320px) {
#footer{
text-align: center;
2014-07-23 10:12:09 +02:00
2014-07-25 00:32:00 +02:00
.footer-links{
.li-under{
float: none !important;
2014-07-23 10:12:09 +02:00
}
}
}
}
2014-07-25 00:32:00 +02:00