terraform/website/source/assets/stylesheets/_footer.scss

211 lines
4.3 KiB
SCSS
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 {
2014-10-13 18:44:38 +02:00
background-color: $purple;
2014-07-23 10:12:09 +02:00
}
li{
a{
text-transform: uppercase;
font-size: 12px;
letter-spacing: 3px;
2014-10-13 18:44:38 +02:00
@include transition( color 0.3s ease );
2014-07-25 03:07:48 +02:00
font-weight: 400;
2014-07-23 10:12:09 +02:00
&:hover{
2014-10-13 18:44:38 +02:00
color: $purple;
@include 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{
2014-10-13 18:44:38 +02:00
background: image-url('icon-download-purple.png') 8px 6px no-repeat;
@include img-retina("icon-download-purple.png", "icon-download-purple@2x.png", 20px, 20px);
2014-07-23 10:12:09 +02:00
}
}
&.github{
a{
2014-10-13 18:44:38 +02:00
background: image-url('icon-github-purple.png') 8px 6px no-repeat;
@include img-retina("icon-github-purple.png", "icon-github-purple@2x.png", 20px, 20px);
2014-07-23 10:12:09 +02:00
}
}
}
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;
2014-10-13 18:44:38 +02:00
font-weight: $font-weight-lato-xb;
2014-07-23 10:12:09 +02:00
}
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-10-13 18:44:38 +02:00
background: image-url('footer-hashicorp-logo.png') 0 0 no-repeat;
@include img-retina("footer-hashicorp-logo.png", "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-10-13 18:44:38 +02:00
background-color: $black;
2014-07-23 10:34:26 +02:00
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{
2014-10-13 18:44:38 +02:00
background: image-url('footer-hashicorp-white-logo.png') 0 0 no-repeat;
@include img-retina("footer-hashicorp-white-logo.png", "footer-hashicorp-white-logo@2x.png", 37px, 40px);
2014-07-27 20:38:23 +02:00
}
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