14
14
15
15
body {
16
16
background-color : var (--background-color );
17
- background-image : linear-gradient (315deg , var (--background-color ) 0% , var (--secondary-background-color ) 100% );
17
+ background-image : linear-gradient (
18
+ 315deg ,
19
+ var (--background-color ) 0% ,
20
+ var (--secondary-background-color ) 100%
21
+ );
18
22
font-family : "Poppins" , sans-serif;
19
23
display : flex;
20
24
flex-direction : column;
@@ -62,7 +66,8 @@ h1 button {
62
66
color : var (--light-color );
63
67
}
64
68
65
- .btn : focus , .navigation .nav-button : focus {
69
+ .btn : focus ,
70
+ .navigation .nav-button : focus {
66
71
outline : none;
67
72
}
68
73
@@ -105,6 +110,10 @@ h1 button {
105
110
transform : translateX (-50% ) rotateY (10deg );
106
111
}
107
112
113
+ .card .right {
114
+ transform : translateX (50% ) rotateY (-10deg );
115
+ }
116
+
108
117
.inner-card {
109
118
box-shadow : 0 1px 10px rgba (0 , 0 , 0 , 0.3 );
110
119
border-radius : 0.625rem ;
@@ -119,7 +128,8 @@ h1 button {
119
128
transform : rotateX (180deg );
120
129
}
121
130
122
- .inner-card-front , .inner-card-back {
131
+ .inner-card-front ,
132
+ .inner-card-back {
123
133
backface-visibility : hidden;
124
134
background-color : var (--light-color );
125
135
border-radius : 0.625rem ;
@@ -142,9 +152,10 @@ h1 button {
142
152
transform : rotateX (180deg );
143
153
}
144
154
145
- .inner-card-front ::after , .inner-card-back ::after {
146
- content : '\f021 Flip' ;
147
- font-family : 'Font Awesome 5 Free' , 'Poppins' , sans-serif;
155
+ .inner-card-front ::after ,
156
+ .inner-card-back ::after {
157
+ content : "\f021 Flip" ;
158
+ font-family : "Font Awesome 5 Free" , "Poppins" , sans-serif;
148
159
position : absolute;
149
160
top : 0.625rem ;
150
161
right : 0.625rem ;
@@ -166,7 +177,7 @@ h1 button {
166
177
}
167
178
168
179
.navigation .nav-button : hover {
169
- transform : scale (1.2 )
180
+ transform : scale (1.2 );
170
181
}
171
182
172
183
.navigation p {
0 commit comments