-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.styl
More file actions
240 lines (215 loc) Β· 7.49 KB
/
shared.styl
File metadata and controls
240 lines (215 loc) Β· 7.49 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
interwind = url("data:image/svg+xml,%3Csvg class='lds-swing' width='80px' height='80px' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Ccircle cx='51.4121' cy='51.4121' r='2.53333' fill='%23e90c59'%3E%3Canimate attributeName='cx' values='64.14213562373095;35.85786437626905;64.14213562373095' keyTimes='0;0.5;1' dur='1s' calcMode='spline' keySplines='0.3 0 0.7 1;0.3 0 0.7 1' repeatCount='indefinite' begin='-0.25s'%3E%3C/animate%3E%3Canimate attributeName='cy' values='64.14213562373095;35.85786437626905;64.14213562373095' keyTimes='0;0.5;1' dur='1s' calcMode='spline' keySplines='0.3 0 0.7 1;0.3 0 0.7 1' repeatCount='indefinite' begin='-0.25s'%3E%3C/animate%3E%3Canimate attributeName='r' values='10;2;10;2;10' keyTimes='0;0.25;0.5;0.75;1' dur='1s' repeatCount='indefinite' begin='-0.25s'%3E%3C/animate%3E%3C/circle%3E%3Ccircle cx='35.9501' cy='64.0499' r='9.46667' fill='%2346dff0'%3E%3Canimate attributeName='cx' values='35.85786437626905;64.14213562373095;35.85786437626905' keyTimes='0;0.5;1' dur='1s' calcMode='spline' keySplines='0.3 0 0.7 1;0.3 0 0.7 1' repeatCount='indefinite' begin='0s'%3E%3C/animate%3E%3Canimate attributeName='cy' values='64.14213562373095;35.85786437626905;64.14213562373095' keyTimes='0;0.5;1' dur='1s' calcMode='spline' keySplines='0.3 0 0.7 1;0.3 0 0.7 1' repeatCount='indefinite' begin='0s'%3E%3C/animate%3E%3Canimate attributeName='r' values='10;2;10;2;10' keyTimes='0;0.25;0.5;0.75;1' dur='1s' repeatCount='indefinite' begin='0s'%3E%3C/animate%3E%3C/circle%3E%3C/svg%3E")
twoBalls = url("data:image/svg+xml,%3Csvg width='80px' height='80px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-flickr'%3E%3Ccircle cx='59.6' cy='50' ng-attr-fill='%7B%7Bconfig.c1%7D%7D' ng-attr-r='%7B%7Bconfig.radius%7D%7D' fill='%23ff7c81' r='18'%3E%3Canimate attributeName='cx' calcMode='linear' values='32;68;32' keyTimes='0;0.5;1' dur='1' begin='-0.5s' repeatCount='indefinite'%3E%3C/animate%3E%3C/circle%3E%3Ccircle cx='40.4' cy='50' ng-attr-fill='%7B%7Bconfig.c2%7D%7D' ng-attr-r='%7B%7Bconfig.radius%7D%7D' fill='%23ffbd7f' r='18'%3E%3Canimate attributeName='cx' calcMode='linear' values='32;68;32' keyTimes='0;0.5;1' dur='1' begin='0s' repeatCount='indefinite'%3E%3C/animate%3E%3C/circle%3E%3Ccircle cx='59.6' cy='50' ng-attr-fill='%7B%7Bconfig.c1%7D%7D' ng-attr-r='%7B%7Bconfig.radius%7D%7D' fill='%23ff7c81' r='18'%3E%3Canimate attributeName='cx' calcMode='linear' values='32;68;32' keyTimes='0;0.5;1' dur='1' begin='-0.5s' repeatCount='indefinite'%3E%3C/animate%3E%3Canimate attributeName='fill-opacity' values='0;0;1;1' calcMode='discrete' keyTimes='0;0.499;0.5;1' ng-attr-dur='%7B%7Bconfig.speed%7D%7Ds' repeatCount='indefinite' dur='1s'%3E%3C/animate%3E%3C/circle%3E%3C/svg%3E")
hexRotate=url("data:image/svg+xml,%3Csvg viewBox='-1.1 -1.1 3 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0.86603-0.5c0.050518 0.0875 0.050518 0.9125 2e-16 1-0.050518 0.0875-0.76499 0.5-0.86603 0.5-0.10104 0-0.81551-0.4125-0.86603-0.5-0.050518-0.0875-0.050518-0.9125-6e-16 -1 0.050518-0.0875 0.76499-0.5 0.86603-0.5s0.81551 0.4125 0.86603 0.5' fill='transparent' stroke='%23fff' stroke-width='.05'%3E%3CanimateTransform additive='replace' id='throb' attributeName='transform' attributeType='xml' dur='4s' begin='0s' values='0;0;-60;0;60;0' repeatCount='indefinite' type='rotate'/%3E%3CanimateTransform fill='freeze' additive='replace' id='spin' attributeName='transform' attributeType='xml' dur='4s' keyframes='0;0.1;1' values='0;0;0;0;1;0.5;1;1;0.9;1;0.9;1;0' begin='0s' repeatCount='indefinite' type='scale'/%3E%3C/path%3E%3C/svg%3E");
.prism-preload { display: none; }
/* templateMessages.js */
.iframe-container
position relative
iframe, &:before
width 100%
height 100%
iframe
border 0
position relative
&:before
z-index 1
content ''
pointer-events none
position absolute
background-color #0000
transition all 0.5s
&.loading:before, &.error:before
background-color #222
background-repeat no-repeat
background-position center center
background-size 100px
filter hue-rotate(-14deg) saturate(0.5)
background-image interwind
&.error:before
filter brightness(0.2)
background-color pink
/* PASTE IMAGE */
body {
overflow-x: hidden;
}
.image-container {
width:80%;
min-height:100px;
position: relative;
margin: 5px;
max-width: 30em;
}
img {
width: 100%;
/*height: 100%;*/
margin-bottom: 3em;
}
img:before {
background: #555;
color: #111;
top: -2px; left: -2px;
white-space: pre-wrap;
content: "MISSING IMAGE";
position: absolute;
height: calc(100% + 2px);
width: calc(100% + 2px);
display: inline-flex;
justify-content: center;
align-items: center;
text-align: center;
}
/* HELLO CSS */
body {
color: #aaa;
background: #1a1a1a;
/*margin: 3em;*/
font-family: sans-serif;
}
iframe {
border: 0;
width: 100%;
height: 100%;
}
.iframeContainer {
overflow: hidden;
width: 43vh;
height: 35vh;
/* display: none; */
}
#settle {
/* display: none; */
font-size: 3em;
padding: 1em 0;
}
#settle:before {
content: '';
display: block;
width: 10px;
height: 10px;
background: red;
}
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-corner,
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #888; }
::-webkit-scrollbar-thumb:hover { background: #555; }
/* MATHEMATICS */
.image-container {
width:80%;
min-height:100px;
position: relative;
margin: 5px;
max-width: 30em;
}
img {
width: 100%;
/*height: 100%;*/
}
img:before {
background: #555;
color: #111;
top: -2px; left: -2px;
white-space: pre-wrap;
content: "MISSING IMAGE";
position: absolute;
height: calc(100% + 2px);
width: calc(100% + 2px);
display: inline-flex;
justify-content: center;
align-items: center;
text-align: center;
}
div[id*=tester-] {
margin-bottom: 2em;
width:100%;
height:400px;
background: #131313;
padding: 10px;
box-sizing: border-box;
}
div[id*=tester-] svg {
filter: invert(1);
}
/* JS template */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: transparent; }
::-webkit-scrollbar-thumb:hover { background: #2a2a2a; }
body
margin 3em 1em
color #bbb
font-family sans-serif
background #1d1d1d
display flex
flex-direction column
justify-content center
align-items start
max-width 1010px
&:hover::-webkit-scrollbar-thumb { background-color:#555 }
/* fix hover in body margins- ugh */
&::before
content ''
position fixed
top 0
bottom 0
left 0
right 0
pointer-events none
@media (min-width: 1024px)
body
margin 3em auto
pre
white-space pre-wrap
width 100%
box-sizing border-box
margin 1em auto
&.info
background #8881
padding 1em
&.error
background #f772
color #fcc
padding 1em
&[class*="language-"]
background #262626 !important
div.block
width 100%
box-sizing border-box
margin 1em auto
&.info
background #8881
padding 1em
&.error
background #f772
color #fcc
padding 1em
&[class*="language-"]
background #262626 !important
.form-container
width 100%
min-height 3em
background rgba(136,136,136,0.067)
padding 1em
box-sizing border-box
.field-container
margin-bottom 0.5em
input
width 100%
background #363636
border 0
padding 0.25em 0.5em
outline none
color #bcb5a5
margin-top .25em
box-sizing border-box
button
color inherit
border 1px solid
background transparent
min-width 15em
margin-bottom 2em
padding 10px
outline none
&:hover
background #8888
color #ccc