-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path_home.scss
More file actions
50 lines (43 loc) · 909 Bytes
/
_home.scss
File metadata and controls
50 lines (43 loc) · 909 Bytes
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
.segment {
height: 200px;
overflow: hidden;
position: relative;
@include overlay {
background-repeat: no-repeat;
transform: scale(1);
transition: hover-transition(transform);
z-index: -1;
}
// &::before {
// content: '';
// display: block;
// position: absolute;
// width: 100%;
// height: 100%;
//
// background-repeat: no-repeat;
// transform: scale(1);
// transition: hover-transition(transform);
// }
&:hover::before {
transform: scale(1.01);
}
h2, h3 {
text-align: center;
justify-content: center;
letter-spacing: 0.06em;
font-weight: 400;
color: #ffffff;
text-shadow: 0 0 0.5em black;
}
.container {
height: 100%;
padding: 30px 0;
display: flex;
flex-direction: column;
justify-content: space-between;
@media (max-width: 960px){
padding: 0px 20px;
}
}
}