-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
67 lines (57 loc) · 1.16 KB
/
index.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
* {
transition: all 0.2s ease-in-out;
}
body {
background:#E966A0;
display: grid;
place-items: center;
height: 100vh;
margin: 0;
font-family: 'Open Sans', sans-serif;
}
.card {
background: #FFECEC;
border-radius: 4px;
height: 85vh;
width: 80vw;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 1em;
overflow: hidden;
}
@media only screen and (min-width: 1000px) {
.card {
flex-direction: row-reverse;
}
.card img.birthday {
width: 100%;
max-width: 50vw;
max-height: unset;
}
}
@media only screen and (max-height: 640px) {
.card {
flex-direction: row-reverse;
}
.card img.birthday {
width: 100%;
max-width: 50vw;
max-height: unset;
}
}
img.birthday {
max-height: 40vh;
}
.text {
padding: 1em;
}
.muted {
opacity: 0.8;
}
.space {
height: 100px;
}