-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.scss
44 lines (38 loc) · 879 Bytes
/
style.scss
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
// Variables
// Color
$white: #ffffff;
$bubbleBG: $white;
// Fonts
$serif: 'Helvetica', arial, sans-serif;
// Shapes
$borderRadius: 1rem;
body {
background: salmon;
font-family: $serif;
font-size: 18px;
padding: 1rem;
}
.app {
width: 400px; height: 300px;
position: relative;
.fett {
width: 150px; height: 150px;
background: url(../images/boba-fett.gif);
background-size: contain;
background-repeat: no-repeat;
position: absolute;
bottom: 25px; left: 25px;
z-index: 1;
}
.bubble {
position: absolute;
bottom: 200px; left: 50px; right: 50px;
z-index: 2;
background: $bubbleBG;
border-radius: $borderRadius;
border: 2px solid #000;
display: none;
padding: 1rem;
box-sizing: border-box;
}
}