-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
44 lines (38 loc) · 850 Bytes
/
index.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
* {
--modelCellWidth: 29vw;
}
.modelCell {
width: var(--modelCellWidth);
height: 22vw;
border-radius: 10px;
border-width: 0px;
margin: calc(var(--modelCellWidth) * 0.15);
border-color: rgba(0, 0, 0, 0);
border-style: solid;
overflow: hidden;
transition: transform .5s;
}
.modelRow {
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.modelCellHeader {
height: calc(100% / 5);
min-height: fit-content;
width: 100%;
background-color: var(--secondary-background-color);
color: var(--secondary-text-color);
justify-content: center;
display: flex;
align-items: center;
font-size: 1.6vw;
text-align: center;
}
.modelCellImage {
height: calc(400% / 5);
width: 100%;
}
.modelCell:hover.zoomActive {
transform: scale(1.3);
}