-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·134 lines (118 loc) · 2.45 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
* @license
* Getting Started with Web Serial Codelab (https://todo)
* Copyright 2019 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
* {
box-sizing: border-box;
}
html,
body {
color: #444;
font-family: 'Helvetica', 'Verdana', sans-serif;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}
html {
overflow: hidden;
}
body {
align-content: stretch;
align-items: stretch;
background: #ececec;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
}
/**
* Header
*/
.header {
align-content: center;
align-items: stretch;
background: #3f51b5;
box-shadow:
0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 2px 9px 1px rgba(0, 0, 0, 0.12),
0 4px 2px -2px rgba(0, 0, 0, 0.2);
color: #fff;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
font-size: 20px;
height: 56px;
justify-content: flex-start;
padding: 16px 16px 0 16px;
position: fixed;
transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
width: 100%;
will-change: transform;
z-index: 1000;
}
.header h1 {
flex: 1;
font-size: 20px;
font-weight: 400;
margin: 0;
}
/**
* Main body
*/
.main {
flex: 1;
overflow-x: hidden;
overflow-y: auto;
padding-top: 70px;
padding-left: 1em;
padding-right: 1em;
}
.hidden {
display: none;
}
#notSupported {
padding: 1em;
background-color: red;
color: white;
margin-top: 1em;
margin-bottom: 1em;
}
#microbit {
display: flex;
}
.mb-button {
align-self: center;
background-color: #666;
border-radius: 100%;
box-shadow:
0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 2px 9px 1px rgba(0, 0, 0, 0.12),
0 4px 2px -2px rgba(0, 0, 0, 0.2);
height: 30px;
width: 30px;
}
.mb-matrix {
margin-left: 10px;
margin-right: 10px;
}
.pressed {
background-color: #D81B60;
box-shadow: inset 0px 0px 5px #c1c1c1;
outline: none;
}