-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (94 loc) · 1.74 KB
/
styles.css
File metadata and controls
102 lines (94 loc) · 1.74 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
/* display: flex; */
background: #0B666A;
}
.head{
text-align: center;
/* position:relative; */
}
.deck {
width: 600px;
height: 500px;
margin: auto;
display: flex;
flex-wrap: wrap;
perspective: 1000px;
}
.mc{
width: calc(25% - 10px);
height: calc(33.333% - 10px);
margin: 5px;
position: relative;
transform: scale(1);
transform-style: preserve-3d;
transition: transform .5s;
box-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.mc:active {
transform: scale(0.97);
transition: transform .2s;
}
.mc.flip {
transform: rotateY(180deg);
}
.ff,
.bf {
width: 100%;
height: 100%;
padding: 20px;
position: absolute;
border-radius: 5px;
background: #FFD9C0;
backface-visibility: hidden;
}
.ff {
transform: rotateY(180deg);
}
.bonus{
border:5px solid yellow;
}
.freeze{
border:5px solid #1A5D1A;
}
.pause-button {
outline: none;
border: 10px solid #404b69;
font-size: 0.85rem;
font-family: "Arvo", cursive;
line-height: 2;
font-weight: 900;
color: #da0463;
text-shadow: 3px 0 #dbedf3;
border-radius: 15px;
display: inline-block;
width: 42%;
max-width: 180px;
/* height: 75px; */
text-align: center;
/* margin-top: 10px; */
background-color: rgb(243, 240, 243);
/* margin-left: 100px; */
margin-left:45%;
/* margin-right:90; */
}
.pressed {
box-shadow: 0 3px 4px 0 #dbedf3;
opacity: 0.5;
}
.Score{
padding-left:25%;
color:#FFD9C0
}
.high-score{
padding-left:25%;
color:#FFD9C0
}
.Timer{
color:#FFD9C0;
}