-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
234 lines (202 loc) · 3.77 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
h1 {
font-size: 23px;
font-family: 'Poiret One';
color: #30538B;
}
h2 {
font-size: 35px;
font-family: 'Tangerine';
color: #26A9B8;
}
h4 {
font-size: 16px;
font-family: 'Poiret One';
color: #30538B;
padding-right: 15px;
padding-left: 15px;
}
h3 {
font-size: 28px;
font-family: 'Tangerine';
color: #26A9B8;
}
#section-break {
font-size: 17px;
font-family: 'Poiret One';
color: #26A9B8;
}
#link {
color: #FF33D7;
}
.stroller {
height: 100px;
width: auto;
}
.picture {
padding-top: 50px;
}
.button {
background-color: #b9afae;
border: none;
color: white;
padding: 15px 32px;
margin: 0px 20px 0px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-family: 'Poiret One';
font-size: 16px;
box-shadow: 0 0 5px 2px rgb(138, 138, 138);
}
.button:hover {
background-color: #d2c8c6;
box-shadow: 0 0 9px 5px rgb(112, 111, 111);
}
html, body {
display: grid;
grid-template-columns: auto;
margin-top: 100px;
height: 110%;
background:rgb(233, 233, 233);
text-align: center;
}
.container {
grid-column: 1;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
}
.frame{
grid-column: 1;
width: inherit;
height: 350px;
margin: auto;
position: relative;
background: #435d77;
border-radius:0 0 40px 40px;
}
.message{
align-items: center;
text-align: center;
position: relative;
width: 580px;
min-height:300px;
max-height:300px;
height: auto;
background: #ece0de;
margin: 10px;
top: 30px;
box-shadow: 0 0 5px 2px rgb(138, 138, 138);
transition:2s ease-in-out;
transition-delay:1.5s;
z-index: 200;
}
.left,.right,.top{width: 0; height: 0;position:absolute;top:0;z-index: 310;}
.left{
border-left: 300px solid #b9afae;
border-top: 160px solid transparent;
border-bottom: 160px solid transparent;
}
.right{
border-right: 300px solid #b9afae;
border-top: 160px solid transparent;
border-bottom: 160px solid transparent;;
left:300px;
}
.top{
border-right: 300px solid transparent;
border-top: 200px solid #d2c8c6;
border-left: 300px solid transparent;
transition:transform 1s,border 1s, ease-in-out;
transform-origin:top;
transform:rotateX(0deg);
z-index: 500;
}
.bottom{
width: 600px;
height: 190px;
position: absolute;
background: #9f9796;
top: 160px;
border-radius:0 0 30px 30px;
z-index: 310;
}
.open{
transform-origin:top;
transform:rotateX(180deg);
transition:transform .7s,border .7s,z-index .7s ease-in-out;
border-top: 200px solid #2c3e50;
z-index: 200;
}
.pull{
-webkit-animation:message_animation 2s 1 ease-in-out;
animation:message_animation 2s 1 ease-in-out;
-webkit-animation-delay:.9s;
animation-delay:.45s;
transition:1.5s;
transition-delay:1s;
z-index: 200;
}
.expand {
transition:min-height 1s ease-in-out, z-index 0.6s ease-in-out, top 1s ease-in-out;
transition-delay: 2s;
min-height: 1025px;
z-index: 350;
top: -150px;
}
.extra-info {
visibility: hidden;
}
.reveal-extra-info {
transition: visibility 2s ease;
transition-delay: 2.8s;
visibility: visible;
}
.rsvp {
}
@-webkit-keyframes message_animation {
0%{
transform:translatey(0px);
z-index: 300;
transition: 1s ease-in-out;
}
50%{
transform:translatey(-340px);
z-index: 300;
transition: 1s ease-in-out;
}
51%{
transform:translatey(-340px);
z-index: 350;
transition: 1s ease-in-out;
}
100%{
transform:translatey(0px);
z-index: 350;
transition: 1s ease-in-out;
}
}
@keyframes message_animation {
0%{
transform:translatey(0px);
z-index: 300;
transition: 1s ease-in-out;
}
50%{
transform:translatey(-340px);
z-index: 300;
transition: 1s ease-in-out;
}
51%{
transform:translatey(-340px);
z-index: 350;
transition: 1s ease-in-out;
}
100%{
transform:translatey(0px);
z-index: 350;
transition: 1s ease-in-out;
}
}
/*
/*