Update font styles, change width

This commit is contained in:
Christian Cueni 2019-07-08 13:11:20 +02:00
parent b50a489e7d
commit d2dabd6952
6 changed files with 30 additions and 14 deletions

View File

@ -148,7 +148,10 @@
} }
&--task { &--task {
@include content-box($color-brand); .content-block__title {
color: $color-brand;
@include light-border(bottom);
}
} }
&--base_society { &--base_society {

View File

@ -1,6 +1,5 @@
<template> <template>
<div class="assignment"> <div class="assignment">
<h3 class="assignment__title" :id="id">{{assignment.title}}</h3>
<p class="assignment__assignment-text"> <p class="assignment__assignment-text">
{{assignment.assignment}} {{assignment.assignment}}
</p> </p>

View File

@ -147,7 +147,7 @@
display: flex; display: flex;
justify-self: center; justify-self: center;
@include desktop { @include desktop {
width: 640px; width: 800px;
} }
flex-direction: column; flex-direction: column;
padding: $large-spacing 15px; padding: $large-spacing 15px;
@ -166,9 +166,11 @@
} }
&__meta-title { &__meta-title {
font-size: 2.6rem; color: $color-grey;
font-size: 2.25rem;
font-weight: 300; font-weight: 300;
font-family: $serif-font-family; font-family: $serif-font-family;
line-height: 3.25rem;
} }
&__intro { &__intro {
@ -184,5 +186,6 @@
} }
} }
} }
} }
</style> </style>

View File

@ -138,3 +138,7 @@
margin-bottom: $medium-spacing; margin-bottom: $medium-spacing;
@include heading-3; @include heading-3;
} }
@mixin light-border($border-position) {
border-#{$border-position}: 1px solid $color-lightgrey;
}

View File

@ -1,13 +1,11 @@
@import 'variables'; @import 'variables';
@import 'mixins';
.objective-group { .objective-group {
background-color: $color-lightgrey;
padding: 17px;
margin-bottom: 35px; margin-bottom: 35px;
&__objective-list { &__objective-list {
padding-left: 20px; list-style: none;
list-style: disc;
&--no-list { &--no-list {
list-style: none; list-style: none;
@ -16,7 +14,13 @@
} }
&__objective { &__objective {
margin-bottom: 28px; padding: 10px 0;
line-height: 1.5; line-height: 1.5;
@include light-border(top);
}
&:last-child {
@include light-border(bottom);
} }
} }

View File

@ -11,6 +11,7 @@
h1, h2, h3, h4, h5 { h1, h2, h3, h4, h5 {
font-family: $sans-serif-font-family; font-family: $sans-serif-font-family;
font-weight: 600; font-weight: 600;
color: $header-color
} }
p, a, li { p, a, li {
@ -30,11 +31,12 @@ a {
h1 { h1 {
font-size: 2rem; font-size: 2rem;
font-weight: 800; font-weight: 800;
color: $header-color; margin-bottom: 21px;
margin-bottom: 35px;
@include desktop { @include desktop {
font-size: 4rem; // 64px font-size: 4rem; // 64px
line-height: 4.5rem;
margin-bottom: 20px;
} }
} }
@ -44,12 +46,13 @@ h2 {
} }
h3 { h3 {
font-size: 2.1875rem; // 35px font-size: 2.13rem; // 34px
margin-bottom: 24px; line-height: 2.63rem; // 42px
margin-bottom: 52px;
} }
h4 { h4 {
font-size: 1.3125rem; // 21px font-size: 1.5rem; // 24px
margin-bottom: 24px; margin-bottom: 24px;
} }