-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
113 lines (95 loc) · 1.9 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
body {
background: #9F8348;
}
.card-holder {
height: 90vh;
width: 90vw;
margin: 5vh auto;
display: flex;
justify-content: center;
perspective: 5000px; /* Remove this if you don't want the 3D effect */
}
/* Needed to position the front and back side */
.flip-card {
margin: auto;
transition: transform 0.8s;
transform-style: preserve-3d;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flipped {
transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-front, .flip-card-back {
position: absolute;
display: block;
width: 100%;
height: 100%;
-webkit-transform: translate3d(0, 0, 0);
-webkit-backface-visibility: hidden; /* Safari */
backface-visibility: hidden;
}
.flip-card-back {
position: relative;
transform: rotateY(180deg);
}
img {
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
display: block;
margin: auto;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.recipients {
position: absolute;
top: 38%;
left: 55%;
right: 15%;
font-family: "Georgia", serif;
font-style: italic;
text-align: left;
color: #9F8348;
}
.no-select {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.recipients h2 {
margin-bottom: 0.3em;
}
.recipients p {
margin-top: 0.5em;
}
.line {
color: #9F8348;
border-top: 1px solid #9F8348;
margin-top: -1.1em;
}
#info {
margin-top: 3em;
}
#info a {
color: #9F8348;
}
.popup {
position: fixed;
top: auto;
right: auto;
left: 2em;
bottom: 2em;
z-index: 1;
border-radius: 6px;
padding: 0.7em;
background-color: #B0BD93DD;
color: #fff;
font-size: 2em;
}
.hidden {
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.2s, opacity 0.2s linear;
}