-
Notifications
You must be signed in to change notification settings - Fork 1
/
stage.css
47 lines (43 loc) · 849 Bytes
/
stage.css
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
#stageGrid {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 50px 100px;
}
.linkStage {
margin: auto;
width: 25%;
height: 45vh;
position: relative;
background-color: white;
cursor: pointer;
border-radius: 10px;
user-select: none;
}
.linkStage:hover .stageHover {
display: flex;
}
.linkStage .stageHover {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 6rem;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.25);
border-radius: 10px;
display: none;
}
.linkStage img {
width: 100%;
height: 100%;
border-radius: 10px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}