_single.scss 1.62 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
			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;
		}
26
27
28
	}

	&__image {
Benthe Kuijpers's avatar
Benthe Kuijpers committed
29
30
31
32
33
34
35
36
37
38
		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;
		}
39
40

		img {
Benthe Kuijpers's avatar
Benthe Kuijpers committed
41
42
43
			width: 100%;
			height: 100%;
			object-fit: cover;
44
45
		}
	}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
46
47

	&__button {
alain's avatar
alain committed
48
		margin: 100px 0 3px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
49
	}
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
}

.single__content,
.item__content,
.content-row .text-wrapper {
	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%;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
74
				z-index: -1;
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
			}

			&:before {
				z-index: -2;
				background: $bg-yellow;
				transform: rotate(0deg) translate(1px, 1px);
			}
		}
	}

	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;
			left: 5px;
		}
	}
118
}