Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

59 lines
1.2 KiB

/**
* component: header
*
*
* @author Björn Hase
*
*/
@mixin example__header() {
.header {
padding: 8px 0 0;
margin: 0 0 20px;
background-color: $crispy__color-primary;
border-bottom: 1px solid darken($crispy__color-primary, 10%);
@include crispy__media-sm() {
margin: 0 0 30px;
}
&__title {
color: white;
margin: toEm(0 0 3px);
}
&__logo {
top: 3px;
width: 50px;
}
&__feature {
padding: toEm(15px 10px);
border: 1px solid #929292;
background-color: #fff;
border-radius: 5px;
&--last {
margin: toEm(0 0 30px);
}
@include crispy__media-sm() {
margin: toEm(0 0 30px);
}
}
&__feature-text, &__feature-title {
text-align: center;
padding: toEm(0 20px);
}
&__feature-title {
@include crispy__font-size(23px);
}
&__feature-text {
margin: 0;
@include crispy__font-size(18px);
}
}
}