-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (102 loc) · 2.08 KB
/
style.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
body {
text-align: center;
background-image: url("images/background.jpg");
background-position: center center;
background-size: 100% auto;
background-repeat: repeat;
font-family: bouwsma_uncial;
height: 100vh;
margin: 0;
margin-bottom: 7em;
}
h1 {
color: rgb(237, 202, 176);
text-align: center;
font-size: 3rem;
background-color: rgb(66, 33, 9);
height: 11vh;
background: linear-gradient(
to right,
transparent 0%,
rgb(65, 30, 5) 3%,
rgb(65, 30, 5) 97%,
transparent 100%
);
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin: 0;
margin-bottom: 11px;
}
h3 {
text-align: center;
font-size: 1.4rem;
letter-spacing: 1.5px;
color: rgb(66, 33, 9);
justify-content: center;
margin: 0;
margin-bottom: 1rem;
}
P {
font-family: bouwsma_uncial;
font-size: 33px;
color: rgb(237, 202, 176);
margin-top: 111px;
}
@font-face {
font-family: bouwsma_uncial;
src: url(fonts/bouwsma_uncial/BouwsUnc.ttf);
}
section {
display: flex;
justify-content: center;
}
.deck {
width: 180px;
height: 300px;
background-image: url("images/backOfCard.jpg");
background-size: cover;
background-position: center;
border: 4px solid #fde9d8;
border-radius: .7rem;
margin-bottom: 1rem;
margin-right: -11.3em;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
.deck:last-child {
margin-right: 0;
}
main {
display: flex;
justify-content: center;
perspective: 1000px;
}
.card {
width: 180px;
height: 300px;
font-size: 2rem;
color: rgb(237, 202, 176);
display: flex;
justify-content: center;
align-items: center;
background-image: url("images/backOfCard.jpg");
background-size: cover;
background-position: right;
border: 4px solid #fde9d8;
border-radius: .7rem;
margin-right: .75rem;
margin-left: .75rem;
transform-style: preserve-3d;
transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
.card:active {
transform: scale(0.98);
}
.card.flipped {
transform: rotateY(180deg);
}
.front-face {
transform: rotateY(180deg);
}