-
Notifications
You must be signed in to change notification settings - Fork 1
/
_c-home.scss
99 lines (85 loc) · 1.62 KB
/
_c-home.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
72
73
74
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
.c-home-text {
width: 600px;
@media (max-height: 580px) {
height: 100%;
}
@media (min-height: 580px) {
height: auto;
}
}
.c-home-text-container {
display: flex;
justify-content: center;
align-items: center;
overflow-y: auto;
height: 100%;
width: 100%;
}
.c-home {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
> * {
padding: $au-unit;
}
@include mq(small) {
margin-left: 50%;
width: 50%;
height: 100%;
}
@include mq(medium) {
> * {
padding-top: $au-unit-large;
margin-left: auto;
margin-right: auto;
}
}
@include mq($until: small) {
.au-c-home__form {
position: relative;
z-index: 1;
}
.c-home__visual + p {
margin-top: $au-unit-large;
margin-right: 130px;
}
& h1 {
background-color: $au-white;
padding: $au-unit;
margin-top: -$au-unit;
margin-right: -$au-unit;
margin-left: -$au-unit;
padding-bottom: $au-unit-large;
}
}
}
.c-home__visual {
@include mq(small) {
position: absolute;
left: 0;
top: -$au-unit;
display: flex;
justify-content: center;
width: 50%;
height: 100%;
padding: $au-unit-large;
background-color: $au-white;
> img {
max-width: 465px;
width: 100%;
}
}
@include mq(small) {
padding: $au-unit-large;
background-color: $au-white;
}
@include mq($until: small) {
position: relative;
margin: (-$au-unit-large + $au-unit-small) (-$au-unit-small)
(-$au-unit-large * 2) auto;
width: 130px;
height: 130px;
padding: 0;
}
}