-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
81 lines (72 loc) · 1.32 KB
/
main.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
* {
margin: 0;
padding: 0;
}
html,
body {
font-family: 'Roboto', sans-serif;
position: relative;
width: 100%;
background-color: #e8eaf6;
}
canvas {
display: block;
margin: 0 auto;
background-color: #e8eaf6;
}
p {
font-size: 25px;
line-height: 30px;
height: 30px;
margin: 0;
padding: 17px;
text-align: left;
vertical-align: middle;
color: #0a487c;
background-color: #7daed7;
}
p span {
font-size: 16px;
display: inline-block;
margin-left: 10px;
vertical-align: middle;
}
/* HEART SHAPE*/
.heart-shape {
position: relative;
display: inline-block;
width: 15px;
height: 15px;
margin-right: 10px;
-webkit-animation: pulse 1.5s infinite alternate;
background-color: #f62459;
}
.heart-shape:before,
.heart-shape:after {
position: absolute;
width: 15px;
height: 15px;
content: '';
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
background-color: #f62459;
-o-border-radius: 50%;
}
.heart-shape:before {
bottom: 0;
left: -8px;
}
.heart-shape:after {
top: -8px;
right: 0;
}
/* heart beat */
@-webkit-keyframes pulse {
0% {
-webkit-transform: scale(1, 1) rotate(45deg);
}
100% {
-webkit-transform: scale(1.2, 1.2) rotate(45deg);
}
}