xarxaprod-wp-theme/sass/base/typography/_headings.scss

88 lines
1.2 KiB
SCSS

@media screen {
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $font__header;
clear: both;
line-height: $font__line-height-header;
a {
text-decoration: none;
}
}
h1 {
font-size: $font__size-body*1.8;
}
h2 {
font-size: $font__size-body*1.5;
}
h3 {
font-size: $font__size-body*1.3;
}
h4 {
font-size: $font__size-body*1.2;
}
h5 {
font-size: $font__size-body*1.1;
}
h6 {
font-size: $font__size-body*1.1;
}
.site-main {
h1,
h2,
h3,
h4,
h5,
h6,
.entry-content {
margin: 0;
}
}
.single {
h1 {
font-family: $font__black;
}
}
.home-featured {
h2 {
margin: 1.2rem 0;
font-size: $font__size-body*2;
line-height: 1.2;
border-bottom: 0.6rem solid $color__black;
}
}
}
@media screen and (min-width: 48em) {
h1 {
font-size: $font__size-body*3.5;
}
h2 {
font-size: $font__size-body*2.5;
}
h3 {
font-size: $font__size-body*2;
}
h4 {
font-family: $font__black;
font-size: $font__size-body*1.7;
}
h5 {
font-size: $font__size-body*1.5;
}
h6 {
font-size: $font__size-body*1.5;
}
.home-featured {
h2 {
font-size: $font__size-body*3.5;
border-bottom: 0.8rem solid $color__black;
}
}
}
@media screen and (min-width: 80em) {
}