-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
110 lines (91 loc) · 1.73 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
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
body {
text-align: center;
font-family: 'Happy Monkey', cursive;
background: linear-gradient(#efb0c9, #a2d2ff);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
}
h1,
h4,
h2 {
text-shadow: 0 0 1px black;
}
#bff-img {
width: 150px;
border-radius: 50%;
border: 6px solid #a2d2ff;
}
#bdy-age {
background-color: #a2d2ff;
padding: 5px 10px;
border-radius: 5px;
margin: 15px 0 10px 0;
}
#bdy-date {
background-color: #a2d2ff;
padding: 5px 10px;
border-radius: 5px;
margin-top: 0;
}
#header {
display: flex;
flex-direction: column;
align-items: center;
}
.gift-section {
margin-top: 50px;
}
.gift-title {
margin-bottom: 10px;
}
.gift-hint {
margin-top: 0;
}
.gift-img {
background-image: url("images/gift-cover.jpg");
background-size: cover;
margin: 0 auto;
width: 400px;
height: 400px;
border: 6px solid white;
border-radius: 10px;
}
#gift-img-happy:hover {
background-image: url("images/happy.gif");
}
#gift-img-hot:hover {
background-image: url("images/hot.gif");
}
#gift-img-genius:hover {
background-image: url("https://media.giphy.com/media/ZuhmYnikJOPPq/giphy.gif");
}
#gift-img-badass:hover {
background-image: url("https://media.giphy.com/media/WoRz0xf3fUBWTWXUJ0/giphy-downsized-large.gif");
}
#gift-img-cheers {
height: 200px;
}
#gift-img-cheers:hover {
background-image: url("https://media.giphy.com/media/mFSEfZlTrgX3CD150c/giphy.gif");
}
#footer {
width: 400px;
margin: 40px auto 20px;
font-style: italic;
}
a {
color: white;
}
@media only screen and (max-width: 768px) {
.gift-img {
background-image: url("images/gift-cover.jpg");
background-size: cover;
width: 300px;
margin: auto;
}
#footer {
width: 320px;
}
}