This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
c2lc.css
140 lines (117 loc) · 2.25 KB
/
c2lc.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
135
136
137
138
139
140
body {
font-family: 'Roboto', 'Arial', sans-serif;
}
a, a:visited {
color: blue;
}
h1 {
text-align: center;
}
button {
border: 0.1rem solid #555;
padding: 0.4em;
color: #222;
}
.c2lc-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.c2lc-container > * {
margin: 1.5rem 1.5rem 0 1.5rem;
}
.c2lc-graphics {
width: 30rem;
height: 30rem;
}
.c2lc-turtleGraphics-drawingArea {
display: inline-block;
box-sizing: border-box;
width: 100%;
height: 100%;
border: 0.15rem solid #555;
border-radius: 4%;
}
.c2lc-turtleGraphics-drawingArea svg {
width: 100%;
height: 100%;
stroke: #222;
stroke-width: 3;
stroke-linecap: round;
}
.c2lc-turtleGraphics-turtle {
fill: #2BB673;
stroke-width: 0.3;
}
.c2lc-blockEditor {
width: 30rem;
margin-bottom: 0.5rem;
}
.c2lc-blockEditor h2 {
font-size: 1rem;
margin: 0 0 0.5rem 0;
}
.c2lc-programBlockEditor-block {
display: inline-block;
margin: 0 0.5rem 0.5rem 0;
border: 4px solid #FFF;
}
.c2lc-programBlockEditor-block svg {
width: 64px;
height: 64px;
}
.c2lc-programBlockEditor-block-selected {
border-color: #000;
}
.c2lc-programBlockEditor-block-image {
cursor: pointer;
border: 2px solid #000;
background-color: #FFF;
color: #000;
}
.c2lc-textEditor {
width: 30rem;
}
.c2lc-textEditor textarea {
font-family: inherit;
font-size: 1.8rem;
line-height: 1.4;
display: inline-block;
box-sizing: border-box;
margin: 0.5rem 0 1rem 0;
width: 100%;
border: 0.1rem solid #555;
padding: 0.3em;
color: #222;
background: #F2F2F2;
}
.c2lc-instructions {
width: 30rem;
line-height: 1.3;
}
.c2lc-dashConnectControl,
.c2lc-spheroConnectControl {
margin-top: 2rem;
}
.c2lc-dashConnectControl button,
.c2lc-spheroConnectControl button {
font-family: inherit;
font-size: inherit;
margin-right: 0.5rem;
background: #90EAF8;
color: #000;
}
.c2lc-interpreterControls {
margin-top: 2rem;
}
.c2lc-interpreterControls button {
font-family: inherit;
font-size: 1.7rem;
margin-right: 1.2rem;
background: #FFDA4E;
}
.c2lc-examples {
margin-top: 3rem;
text-align: center;
}