ulovliglogning.dk/_scss/base/_typography.scss

89 lines
1.2 KiB
SCSS
Raw Normal View History

2018-01-20 23:49:35 +00:00
html {
font-size: 16px;
}
2018-01-23 22:45:06 +00:00
body {
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto', sans-serif;
}
2018-01-20 23:49:35 +00:00
2018-01-25 23:17:09 +00:00
h1, h2, h3 {
2018-01-22 14:21:34 +00:00
font-family: 'Montserrat', sans-serif;
font-weight: 500;
2018-01-20 23:49:35 +00:00
}
h1 {
2018-02-03 23:56:00 +00:00
font-size: 2.3rem;
2018-01-26 14:52:53 +00:00
line-height: 2.7rem;
2018-01-20 23:49:35 +00:00
display: block;
2018-01-26 14:52:53 +00:00
margin-bottom: 2rem;
2018-02-03 23:56:00 +00:00
hyphens: inherit;
2018-01-26 14:52:53 +00:00
@include media-breakpoint-up(sm) {
font-size: 2.7rem;
line-height: 3.3rem;
margin-bottom: 0;
2018-01-20 23:49:35 +00:00
}
}
h3 {
color: #ff5800;
2018-01-26 14:52:53 +00:00
font-size: 1.3rem;
line-height: 1.6rem;
@include media-breakpoint-up(sm) {
font-size: 1.6rem;
line-height: 1.9rem;
}
2018-01-20 23:49:35 +00:00
}
p {
2018-01-26 14:52:53 +00:00
margin: 0 0 2rem;
2018-01-25 23:17:09 +00:00
font-size: 1rem;
line-height: 1.5rem;
2018-01-26 14:52:53 +00:00
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;
}
2018-04-30 19:44:03 +00:00
&.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;
2018-01-20 23:49:35 +00:00
}
a {
color: #FFF;
2018-01-26 21:51:05 +00:00
text-decoration: none;
box-shadow: 0 2px 0 #ff5800;
.even & {
2018-01-26 21:51:05 +00:00
box-shadow: 0 2px 0 #FFF;
}
}