ulovliglogning.dk/_scss/base/_typography.scss

145 lines
2.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 {
margin: 0 0 1rem 0;
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;
}
}
2019-03-04 22:06:23 +00:00
2019-03-05 20:41:23 +00:00
ol {
list-style-type: none;
2019-03-04 22:06:23 +00:00
list-style-position: outside;
2019-03-05 20:41:23 +00:00
counter-reset: li;
2019-03-04 22:06:23 +00:00
margin: 0 0 2rem;
li {
2019-03-05 20:41:23 +00:00
line-height: 1.4rem;
counter-increment: li;
&::before {
content: counter(li, decimal-leading-zero);
2019-03-05 20:54:15 +00:00
font-family: 'Roboto Mono', monospace;
font-weight: 500;
2019-03-05 20:41:23 +00:00
color: $color-international-orange;
display: inline-block;
width: 2rem;
margin-left: -2.5rem;
text-align: right;
padding-right: .5rem;
}
@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;
}
}
ol {
margin: 0 0 0 .5rem;
}
}
ul {
line-height:1.5rem;
}
2019-03-05 20:41:23 +00:00
table {
td:first-child {
font-weight: bold;
text-align: right;
line-height: 1.4rem;
padding-right: .5rem;
word-break: keep-all;
}
@include media-breakpoint-up(sm) {
font-size: 1.2rem;
line-height: 1.6rem;
2019-03-04 22:06:23 +00:00
}
2019-03-05 20:41:23 +00:00
@include media-breakpoint-up(xl) {
font-size: 1rem;
line-height: 1.4rem;
2019-03-04 22:06:23 +00:00
}
}