_front_page.scss
2.03 KB
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
100
101
102
103
104
105
106
107
108
109
.home-header{
position: relative;
height: 100%;
overflow: hidden;
min-height: 37.5rem;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
img{
width: 100%;
height: auto;
}
h1{
color: #fff;
margin: auto;
text-align: center;
display: flex;
font-size: 2rem;
line-height:2.25rem ;
margin-bottom: 2.5rem;
width: 100%;
max-width: 1068px;
font-weight: bold;
@media only screen and (max-width: 48.875rem) {
font-size: 1.125rem;
line-height:1.375rem ;
}
}
.content-container{
position: absolute;
bottom: 0rem;
width: 100%;
display: flex;
flex-direction: column;
height: 90%;
max-height: 37.5rem;
justify-content: center;
.fx-style{
display: flex;
flex-direction: column;
height: 100%;
}
}
}
.side-caption {
&:hover, &:focus-within {
bottom:0 !important;
}
}
.side-caption {
position: absolute;
bottom: -100%;
z-index: 97;
&.hide {
display: none;
}
&.ready {
opacity: 1;
transition: bottom 0.3s;
}
}
.side-caption {
max-width: 30%;
@media screen and (max-width: 48rem) {
max-width: 100%;
}
}
.copy-link {
background:url("./../img/caption.svg");
background-repeat: no-repeat;
display: block;
height:2.188rem;
width:2.188rem;
z-index: 9;
position: relative;
}
.image-side-caption {
background: rgba(0,0,0,0.7);
@media screen and (max-width: 48rem) {
background: rgba(0,0,0,1);
}
display: block;
color:white;
padding: 1rem 2rem;
font-size:0.875rem;
// max-width: 30%; // need to get rid of this for job profiles
margin-top:0;
.cap, .copyright {
display: block;
}
.copyright {
padding-top: 0.75rem;
}
span {
color:white;
}
}