-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (97 loc) · 1.74 KB
/
style.css
File metadata and controls
116 lines (97 loc) · 1.74 KB
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
/* Step one: get things to fit on the screen */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
background: linear-gradient(#838ef9, #3535ec);
background-attachment: fixed;
height: 100%;
font-family: 'Roboto', sans-serif;
}
main {
text-align: center;
}
.container {
width: 90%;
max-width: 720px;
margin: 0 auto;
padding: 16px;
}
img {
max-width: 100%;
height: auto;
}
/* End step one */
/* Step two: Control panels */
header img {
width: 56px;
}
h2 {
font-size: 20px;
margin-bottom: 16px;
}
h3 {
font-size: 16px;
margin-top: 24px;
margin-bottom: 12px;
color: #4c6c96;
}
.panel {
background-color: white;
border-radius: 10px;
padding: 16px 24px;
width: 100%;
margin-bottom: 16px;
}
.commands ul {
list-style: none;
width: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.commands ul li {
font-size: 24px;
font-weight: bold;
}
/* Step 3: Codigotchi and Button */
button {
border: none;
background-color: #f71469;
border-radius: 8px;
padding: 12px 16px;
margin: 12px;
}
.codigotchi {
position: relative;
width: 230px;
margin: 0 auto 24px auto;
}
.codigotchi-screen {
position: absolute;
top: 118px;
left: 56px;
width: 120px;
height: 120px;
background-image: url('./images/static.png');
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
}
.panel-commands {
visibility: hidden;
position: absolute;
top: 0;
left: 0;
}
.listening .panel-commands {
visibility: visible;
}
.listening .panel-microphone {
visibility: hidden;
transform: scale(0.1);
}
.panels {
position: relative;
}