-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (99 loc) · 2.01 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
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.content {
display: flex;
width: 100vw;
height: 100vh;
align-items: end;
}
.draggable {
-webkit-app-region: drag;
width: calc(100vw - 2px);
height: calc(100vh - 4px);
margin: 1px;
border: solid 1px white;
border-radius: 10px;
background-color: burlywood;
}
.content-green-screen {
background-color: #00eb00;
}
.content-balloon {
margin: 20px;
width: 100%;
}
.balloon {
background-color: #e5e5ea;
color: black;
width: fit-content;
margin: 7px;
border-radius: 1.15rem;
line-height: 1.25rem;
max-width: 75%;
padding: 0.5rem .875rem;
position: relative;
word-wrap: break-word;
transition: all 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
height: 1.25rem;
min-width: 8px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.balloon.blue {
background-color: #248bf5;
color: white;
}
.balloon:after {
content: '';
position: absolute;
width: 0;
height: 0;
left: -7px;
right: auto;
bottom: 0px;
top: auto;
border: 13px solid;
border-color: transparent transparent #e5e5ea transparent;
}
.balloon.blue:after {
border-color: transparent transparent #248bf5 transparent;
}
.balloon.green {
background-color: #5db75f;
color: white;
}
.balloon.green:after {
border-color: transparent transparent #5db75f transparent;
}
.balloon.hidden {
border: none;
transform: translateY(-20px);
opacity: 0;
}
.balloon.hidden2 {
transform: translateY(20px);
border: none;
opacity: 0;
}
#carrot {
border-left: solid 1.5px black;
animation: carrotAnim 1s infinite;
}
#carrot-blue {
border-left: solid 1.5px white;
animation: carrotAnim 1s infinite;
}
@keyframes carrotAnim {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}