forked from scratchblocks/scratchblocks.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.1.css
142 lines (123 loc) · 3.11 KB
/
style.1.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
141
142
* {
box-sizing: border-box;
}
body {
margin:0;
background-color: #E8EDF1;
}
.topbar {
font-family: Noto Sans, sans-serif;
border-top-left-radius : 8px;
border-top-right-radius : 8px;
border: 1px solid #D9D9D9;
height: 4em;
position: relative;
top: -3.345em;
background-color: #F9F9F9;
}
#choose-lang {
border-top-left-radius : 8px;
border-top-right-radius : 8px;
border-bottom-left-radius : 8px;
border-bottom-right-radius : 8px;
border: 1px solid #D9D9D9;
position: relative;
left: 15em;
background-color: #F9F9F9;
font-size: 20px;
z-index: 300;
}
.blocks {
border-top-left-radius : 8px;
border-top-right-radius : 8px;
border-bottom-left-radius : 8px;
border-bottom-right-radius : 8px;
border: 1px solid #D9D9D9;
padding-top: 5px;
padding-left: 5px;
background-color: #F9F9F9;
}
body, .CodeMirror {
font-family: Noto Sans, sans-serif;
border-bottom-left-radius : 8px;
border-bottom-right-radius : 8px;
border: 1px solid #D9D9D9;
top: -1.75em;
}
.topnav {
overflow: hidden;
background-color: #4397FF;
vertical-align : middle;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 18px;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #417FD5;
color: white;
}
.export-link {
background-color: #4286E2;
color: white;
}
.topnav a.active {
background-color: #4286E2;
color: white;
text-shadow: rgb(249, 168, 58) 3px 0px 0px, rgb(249, 168, 58) 2.83487px 0.981584px 0px, rgb(249, 168, 58) 2.35766px 1.85511px 0px, rgb(249, 168, 58) 1.62091px 2.52441px 0px, rgb(249, 168, 58) 0.705713px 2.91581px 0px, rgb(249, 168, 58) -0.287171px 2.98622px 0px, rgb(249, 168, 58) -1.24844px 2.72789px 0px, rgb(249, 168, 58) -2.07227px 2.16926px 0px, rgb(249, 168, 58) -2.66798px 1.37182px 0px, rgb(249, 168, 58) -2.96998px 0.42336px 0px, rgb(249, 168, 58) -2.94502px -0.571704px 0px, rgb(249, 168, 58) -2.59586px -1.50383px 0px, rgb(249, 168, 58) -1.96093px -2.27041px 0px, rgb(249, 168, 58) -1.11013px -2.78704px 0px, rgb(249, 168, 58) -0.137119px -2.99686px 0px, rgb(249, 168, 58) 0.850987px -2.87677px 0px, rgb(249, 168, 58) 1.74541px -2.43999px 0px, rgb(249, 168, 58) 2.44769px -1.73459px 0px, rgb(249, 168, 58) 2.88051px -0.838247px 0px;
}
@media screen and (min-width: 62em) {
h1 {
position: relative;
}
h1 > span {
display: block;
position: absolute;
top: 0;
left: 45%;
margin-left: 2rem;
}
#left, #preview, #side {
position: absolute;
bottom: 2em; left: 0.5em; right: 2em;
}
#editor {
position: absolute;
top: 3.25em; bottom: -1.75em; left: 0.5em; right: -1.5em;
margin: 0;
height: auto;
}
#side {
top: 4.75em;
left: 45%;
padding-left: 2em;
}
#preview {
top: 4.75em;
right: 55%;
bottom: -0.7em;
overflow-y: scroll;
}
#left {
top: 6.25em;
right: 55%;
}
}
@media screen and (max-width: 32em) {
h1 > span {
display: block;
margin: 1.5rem 0 1rem;
}
h1 > span a {
padding: 0.25em 0.5em;
}
select {
margin: 1rem 0;
}
}