sass-site/source/assets/stylesheets/regions/_banner.scss

67 lines
1019 B
SCSS
Raw Normal View History

// ===========================================================================
// BANNER
2013-02-09 04:10:33 +01:00
$banner-background-color: $background-alt-color !default;
.banner {
2013-02-09 04:10:33 +01:00
background: $banner-background-color;
2012-11-28 17:23:08 +01:00
2013-02-09 04:10:33 +01:00
h1 a {
border-bottom: 0;
padding-bottom: 0;
2012-11-28 17:23:08 +01:00
}
2013-02-09 04:10:33 +01:00
}
2013-02-11 03:39:30 +01:00
.accessibility {
@extend %content-list;
li:last-child {
padding-bottom: 0;
}
}
2013-02-09 04:10:33 +01:00
.skip-navigation { display: none; }
// ---------------------------------------------------------------------------
// iPhone
@mixin banner-iPhone {
.banner {
text-align: left;
2013-02-11 03:39:30 +01:00
h1 {
@include span-columns(3);
@include font-size($font-size-large);
}
2012-11-29 18:33:08 +01:00
}
2013-02-09 04:10:33 +01:00
.skip-navigation {
@include span-columns(1 omega);
2013-02-11 03:39:30 +01:00
padding-top: 1em;
2012-11-29 18:33:08 +01:00
2013-02-09 04:10:33 +01:00
.button {
@include float-right;
padding: 0;
width: auto;
}
2012-11-29 18:33:08 +01:00
}
2013-02-11 03:39:30 +01:00
.skip-content {
@extend %hidden-iPhone;
}
}
// ---------------------------------------------------------------------------
// iPad
@mixin banner-iPad {
.skip-navigation { @extend %hidden-iPad; }
}