-
Notifications
You must be signed in to change notification settings - Fork 1
/
tracks_d.css
91 lines (76 loc) · 1.37 KB
/
tracks_d.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
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
.tracks_part {
background-color: rgb(255, 255, 255);
overflow: hidden;
overflow-y: scroll;
width: 100%;
height: 100%;
}
.track_titel {
padding: 5px;
text-align: center;
color: rgb(0, 0, 0);
}
.tracks_items {
vertical-align: middle;
align-items: center;
margin: 0rem auto;
max-width: calc(100% - 80px);
display: grid;
grid-template-columns: repeat(2, minmax(25px, 1fr));
gap: 4rem;
place-items: center;
}
.track_card {
width: 160px;
height: 80px;
position: relative;
text-align: center;
transition: transform 1500ms;
transform-style: preserve-3d;
align-items: center;
/*transform: scale(0.4, 0.4);*/
}
.track_card:hover {
cursor: pointer;
transform: rotateY(180deg);
}
.front,
.back {
height: 100%;
width: 100%;
color: black;
text-align: center;
padding: 10px;
margin: 0;
border-radius: 2rem;
position: absolute;
backface-visibility: hidden;
display: flex;
align-items: center;
justify-content: center;
outline: 2px solid;
font-size: small;
}
.front {
background-color: rgb(46, 66, 214);
/* background-color: FFCD4B; */
outline: 5px solid;
opacity: 80%;
box-shadow: 5px 5px 5px rgb(0, 0, 0);
}
.back {
transform: rotateY(180deg);
color: black;
opacity: 100%;
outline: 5px solid;
}
.back img {
width: 80%;
opacity: 100%;
}
.back h4 {
font-size: 12px;
}
.track_text {
font-size: 110%;
}