-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
65 lines (57 loc) · 1.23 KB
/
main.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
body {
background-color: rgb(128,128,128);
}
#app {
position: absolute;
width: 100%;
height: 100%;
display : grid;
grid-gap: 10px;
grid-template-columns: 30% auto;
}
#deck {
grid-row : 1/2;
grid-column: 1/2;
padding: 20px;
}
#work-surface {
grid-row : 1/2;
grid-column: 2/3;
padding-right: 20px;
padding-top: 10px;
}
.card {
padding: 20px;
margin-bottom: 10px;
background-color: rgb(240, 240, 245);
border-radius: 3px;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.deck-card {
font-size: 50%;
padding: 10px;
margin-top: -10px;
max-height: 35px;
overflow-y: hidden;
background-color: rgb(240, 240, 245);
transform: perspective(300px) rotateX(-10deg);
box-shadow: 0 0px 4px rgba(0,0,0,0.16), 0 0px 4px rgba(0,0,0,0.23);
transition: all 0.15s;
}
.deck-front {
height: 60px;
margin-top: -10px;
background-color: rgb(128,128,128);
transform: perspective(300px) rotateX(-10deg);
box-shadow: 0 -4px 2px rgba(0,0,0,0.1), 0 -2px 2px rgba(0,0,0,0.2);
border-top: 1px solid #9e9e9e;
}
.current {
background-color: white;
box-shadow : 0 0 8px green;
}
.deck-card.current {
margin-bottom: 3px;
max-height: 60px;
transform: perspective(300px) rotateX(-8deg);
}