ulovliglogning.dk/_scss/base/_typography.scss
2019-03-04 23:06:23 +01:00

100 lines
1.4 KiB
SCSS

html {
font-size: 16px;
}
body {
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto', sans-serif;
}
h1, h2, h3 {
font-family: 'Montserrat', sans-serif;
font-weight: 500;
}
h1 {
font-size: 2.3rem;
line-height: 2.7rem;
display: block;
margin-bottom: 2rem;
hyphens: inherit;
@include media-breakpoint-up(sm) {
font-size: 2.7rem;
line-height: 3.3rem;
margin-bottom: 0;
}
}
h3 {
color: #ff5800;
font-size: 1.3rem;
line-height: 1.6rem;
@include media-breakpoint-up(sm) {
font-size: 1.6rem;
line-height: 1.9rem;
}
}
p {
margin: 0 0 2rem;
font-size: 1rem;
line-height: 1.5rem;
break-inside: avoid;
@include media-breakpoint-up(sm) {
font-size: 1.2rem;
line-height: 1.6rem;
}
@include media-breakpoint-up(xl) {
font-size: 1rem;
line-height: 1.4rem;
}
&.right {
text-align: right;
}
&.box {
padding: 7px;
margin: -7px -7px 2rem;
background: $alternate-bg;
color: #333;
border-radius: 5px;
a {
box-shadow: 0 2px 0 #FFF;
}
&.green {
background: $donationCounter_dark;
color: white;
}
}
}
strong {
font-weight: 700;
}
a {
color: #FFF;
text-decoration: none;
box-shadow: 0 2px 0 #ff5800;
.even & {
box-shadow: 0 2px 0 #FFF;
}
}
ul {
list-style-type: decimal-leading-zero;
list-style-position: outside;
margin: 0 0 2rem;
li {
padding: 0.2rem 0;
}
ul {
margin: 0 0 0 1.5rem;
}
}