_single.scss 1.59 KB
Newer Older
1
2
3
4
.single {
	
	&__content {
		display: block;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
5
		padding: 0 0 200px;
6
7

		h1 {
Benthe Kuijpers's avatar
Benthe Kuijpers committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
			font-size: 48px;
			line-height: 48px;

			@media only screen and (min-width: $medium) {
				font-size: 56px;
				line-height: 56px;
			}
		}

		h2, h3, h4 {
			font-size: 20px;
			margin: 20px 0 0;
		}

		p, ul, li {
			font-size: 18px;
			line-height: 32px;
		}

		ul, ol {
			list-style: none;
			margin: 0 0 20px;
			padding: 0;

			li {
				padding: 0 0 0 30px;
				position: relative;
				margin: 0 0 5px;

				&:before,
				&:after {
					content: " ";
					display: block;
					position: absolute;
					left: 0;
					mix-blend-mode: multiply;
					background: $blue;
					border-radius: 50%;
				}

				&:before {
					z-index: -2;
					background: $bg-yellow;
alain's avatar
alain committed
51
					transform: rotate(0deg) translate(1px, 1px);
Benthe Kuijpers's avatar
Benthe Kuijpers committed
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
				}
			}
		}

		ol {
			counter-reset: counter;

			li {
				counter-increment: counter;

				&:before,
				&:after {
					z-index: -1;
					font-family: $font-header;
					content: counter(counter);
					font-weight: 600;
					font-size: 15px;
					line-height: 20px;
					color: white;
					text-align: center;
					top: 5px;
					height: 20px;
					width: 20px;
				}
			}
		}

		ul li {
			&:before,
			&:after {
				width: 10px;
				height: 10px;
				border-radius: 50%;
				top: 10px;
alain's avatar
alain committed
86
				left: 5px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
87
			}
88
89
90
91
		}
	}

	&__image {
Benthe Kuijpers's avatar
Benthe Kuijpers committed
92
93
94
95
96
97
98
99
100
101
		margin: 0 0 30px;
		width: 100%;
		height: 250px;
		overflow: hidden;

		@media only screen and (min-width: $medium) {
			height: 350px;
			margin: 130px auto 30px;
			max-width: 890px;
		}
102
103

		img {
Benthe Kuijpers's avatar
Benthe Kuijpers committed
104
105
106
			width: 100%;
			height: 100%;
			object-fit: cover;
107
108
		}
	}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
109
110

	&__button {
alain's avatar
alain committed
111
		margin: 100px 0 3px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
112
	}
113
}