-
Notifications
You must be signed in to change notification settings - Fork 0
/
speech-bubble.css
85 lines (82 loc) · 2.81 KB
/
speech-bubble.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
@font-face {font-family: "Cera Pro"; src: url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.eot"); src: url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.woff") format("woff"), url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/2f407d03c34861737fe4b85ab35eb729.svg#Cera Pro") format("svg"); }
@font-face {font-family: "Cera Pro Bold"; src: url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.eot"); src: url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.woff") format("woff"), url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/98b78079f5ee4295c40260785b4e4fbf.svg#Cera Pro") format("svg"); }
.speech-bubble {
position: relative;
background: #ffffff;
color: #000000;
font-family: 'Cera Pro', sans-serif;
font-size: 23.5px;
line-height: 80px;
text-align: center;
width: 250px;
height: 120px;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.speech-bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: #ffffff transparent;
border-width: 23px 17px 0;
bottom: -23px;
left: 50%;
margin-left: -17px;
}
.speech-bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: #000000 transparent;
border-width: 24px 18px 0;
bottom: -24.5px;
left: 50%;
margin-left: -18px;
display: block;
}
.speech-bubble {
position: relative;
background: #ffffff;
color: #000000;
font-family: 'Cera Pro', sans-serif;
font-size: 20px;
line-height: 70px;
text-align: center;
width: 250px;
height: 120px;
border-radius: 10px;
padding: 0px;
border: #000000 solid 1px;
}
.speech-bubble:after {
content: '';
position: absolute;
display: block;
width: 0;
z-index: 1;
border-style: solid;
border-color: #ffffff transparent;
border-width: 23px 17px 0;
bottom: -23px;
left: 50%;
margin-left: -17px;
}
.speech-bubble:before {
content: '';
position: absolute;
width: 0;
z-index: 0;
border-style: solid;
border-color: #000000 transparent;
border-width: 24px 18px 0;
bottom: -24.5px;
left: 50%;
margin-left: -18px;
display: block;
}