-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathAboutSection.module.scss
71 lines (59 loc) · 1.38 KB
/
AboutSection.module.scss
1
2
3
4
5
6
7
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@import '../utils/breakpoints';
@import '../utils/colors';
$header-height-small: 4em;
$header-height-large: 6em;
.root {
display: flex;
flex-direction: column;
@include media-breakpoint-up(md) {
flex-direction: row;
}
}
.introductionContainer,
.divisionsOuterContainer {
display: flex;
align-items: center;
}
.introductionContainer {
min-height: calc(100vh - #{$header-height-large});
flex: 5;
padding-top: 1em;
padding-bottom: 1em;
margin-right: 0;
@include media-breakpoint-up(md) {
min-height: calc(100vh - #{$header-height-small});
}
}
.sectionTitle {
margin-top: 0;
}
.divisionsOuterContainer {
position: relative;
flex: 7;
justify-content: flex-end;
background-blend-mode: multiply;
background-color: $color-brand-primary;
// TODO: Uncomment the line below when https://github.com/gatsbyjs/gatsby/issues/3665 gets fixed
// background-image: url('../assets/about-section-background.jpg');
background-size: cover;
color: transparentize(white, $transparentize-amount);
@include media-breakpoint-up(md) {
clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}
}
.divisionsInnerContainer {
@include media-breakpoint-up(md) {
margin-left: 0;
}
}
.divisionsList {
padding: 0;
font-size: 1.5em;
line-height: 3;
list-style-type: none;
text-align: right;
text-transform: lowercase;
> :hover {
color: white;
}
}