aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2021-01-04 11:24:21 +0000
committers-ol <s+removethis@s-ol.nu>2021-01-04 11:41:13 +0000
commitee087dcfc842bbc8e1b9cdcae80bf7e6e7426669 (patch)
tree7d4564fb6fe30895952d0e6489430ad61093034e
parentturn static plugin into builtin again (diff)
downloadmmm-ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669.tar.gz
mmm-ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669.zip
move style into root
-rw-r--r--root/static/style/$order9
-rw-r--r--root/static/style/browser/text$x-scss.scss (renamed from scss/_browser.scss)0
-rw-r--r--root/static/style/canvasapp/text$x-scss.scss (renamed from scss/_canvasapp.scss)0
-rw-r--r--root/static/style/content/text$x-scss.scss (renamed from scss/_content.scss)0
-rw-r--r--root/static/style/defs/text$x-scss.scss (renamed from scss/_defs.scss)0
-rw-r--r--root/static/style/footer/text$x-scss.scss (renamed from scss/_footer.scss)0
-rw-r--r--root/static/style/header/text$x-scss.scss (renamed from scss/_header.scss)0
-rw-r--r--root/static/style/print/text$x-scss.scss (renamed from scss/_print.scss)0
-rw-r--r--root/static/style/reset/text$x-scss.scss (renamed from scss/_reset.scss)0
-rw-r--r--root/static/style/sidenotes/text$x-scss.scss (renamed from scss/_sidenotes.scss)0
-rw-r--r--root/static/style/text$moonscript -> fn -> text$x-scss.moon7
-rw-r--r--scss/codemirror.scss73
-rw-r--r--scss/hljs.scss110
-rw-r--r--scss/main.scss11
14 files changed, 16 insertions, 194 deletions
diff --git a/root/static/style/$order b/root/static/style/$order
new file mode 100644
index 0000000..655aac7
--- /dev/null
+++ b/root/static/style/$order
@@ -0,0 +1,9 @@
+defs
+reset
+header
+footer
+browser
+content
+sidenotes
+canvasapp
+print
diff --git a/scss/_browser.scss b/root/static/style/browser/text$x-scss.scss
index 89628fd..89628fd 100644
--- a/scss/_browser.scss
+++ b/root/static/style/browser/text$x-scss.scss
diff --git a/scss/_canvasapp.scss b/root/static/style/canvasapp/text$x-scss.scss
index 2eb1a42..2eb1a42 100644
--- a/scss/_canvasapp.scss
+++ b/root/static/style/canvasapp/text$x-scss.scss
diff --git a/scss/_content.scss b/root/static/style/content/text$x-scss.scss
index 937b02b..937b02b 100644
--- a/scss/_content.scss
+++ b/root/static/style/content/text$x-scss.scss
diff --git a/scss/_defs.scss b/root/static/style/defs/text$x-scss.scss
index 40804b2..40804b2 100644
--- a/scss/_defs.scss
+++ b/root/static/style/defs/text$x-scss.scss
diff --git a/scss/_footer.scss b/root/static/style/footer/text$x-scss.scss
index 721ff12..721ff12 100644
--- a/scss/_footer.scss
+++ b/root/static/style/footer/text$x-scss.scss
diff --git a/scss/_header.scss b/root/static/style/header/text$x-scss.scss
index a51457f..a51457f 100644
--- a/scss/_header.scss
+++ b/root/static/style/header/text$x-scss.scss
diff --git a/scss/_print.scss b/root/static/style/print/text$x-scss.scss
index c221fa4..c221fa4 100644
--- a/scss/_print.scss
+++ b/root/static/style/print/text$x-scss.scss
diff --git a/scss/_reset.scss b/root/static/style/reset/text$x-scss.scss
index d157fcf..d157fcf 100644
--- a/scss/_reset.scss
+++ b/root/static/style/reset/text$x-scss.scss
diff --git a/scss/_sidenotes.scss b/root/static/style/sidenotes/text$x-scss.scss
index 0b9effe..0b9effe 100644
--- a/scss/_sidenotes.scss
+++ b/root/static/style/sidenotes/text$x-scss.scss
diff --git a/root/static/style/text$moonscript -> fn -> text$x-scss.moon b/root/static/style/text$moonscript -> fn -> text$x-scss.moon
new file mode 100644
index 0000000..d952acf
--- /dev/null
+++ b/root/static/style/text$moonscript -> fn -> text$x-scss.moon
@@ -0,0 +1,7 @@
+=>
+ scss = ''
+
+ for fileder in *@children
+ scss ..= fileder\gett 'text/x-scss'
+
+ scss
diff --git a/scss/codemirror.scss b/scss/codemirror.scss
deleted file mode 100644
index fd50b00..0000000
--- a/scss/codemirror.scss
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)
-*/
-
-/*background color*/
-.CodeMirror.cm-s-hybrid {
- color: #c5c8c6;
- background: #1d1f21;
-
- height: auto;
- flex: 1;
-
- /*selection color*/
- .CodeMirror-selected,
- .CodeMirror-line::selection,
- .CodeMirror-line > span::selection,
- .CodeMirror-line > span > span::selection, {
- background: #373b41;
- }
-
- /*foreground color*/
- .CodeMirror-cursor {
- border-color: #c5c8c6;
- }
-
- /*color: fg_yellow*/
- .cm-keyword {
- color: #f0c674;
- }
-
- /*color: fg_comment*/
- .cm-comment,
- .cm-meta {
- color: #707880;
- }
-
- /*color: fg_red*/
- .cm-number,
- .cm-atom {
- color: #cc6666
- }
-
- /*color: fg_green*/
- .cm-string,
- .cm-string-2,
- .cm-operator {
- color: #b5bd68;
- }
-
- /*color: fg_purple*/
- .cm-attribute,
- .cm-propery {
- color: #b294bb;
- }
-
- /*color: fg_blue*/
- .cm-tag,
- .cm-qualifier {
- color: #81a2be;
- }
-
- /*color: fg_aqua*/
- .cm-link,
- .cm-header,
- .cm-hr {
- color: #8abeb7;
- }
-
- /*color: fg_orange*/
- .cm-builtin, {
- color: #de935f;
- }
-}
diff --git a/scss/hljs.scss b/scss/hljs.scss
deleted file mode 100644
index 0acf4a2..0000000
--- a/scss/hljs.scss
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
-
-vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)
-
-*/
-
-/*background color*/
-.hljs {
- background: #1d1f21;
- border-radius: 6px;
- padding: 0.2em 0.5em;
- white-space: nowrap;
-}
-
-pre > .hljs {
- display: block;
- overflow-x: auto;
- padding: 1em;
- white-space: pre-wrap;
- margin: 0 2em;
-}
-
-/*selection color*/
-.hljs::selection,
-.hljs span::selection {
- background: #373b41;
-}
-
-.hljs::-moz-selection,
-.hljs span::-moz-selection {
- background: #373b41;
-}
-
-/*foreground color*/
-.hljs {
- color: #c5c8c6;
-}
-
-/*color: fg_yellow*/
-.hljs-title,
-.hljs-name {
- color: #f0c674;
-}
-
-/*color: fg_comment*/
-.hljs-comment,
-.hljs-meta,
-.hljs-meta .hljs-keyword {
- color: #707880;
-}
-
-/*color: fg_red*/
-.hljs-number,
-.hljs-symbol,
-.hljs-literal,
-.hljs-deletion,
-.hljs-link {
- color: #cc6666
-}
-
-/*color: fg_green*/
-.hljs-string,
-.hljs-doctag,
-.hljs-addition,
-.hljs-regexp,
-.hljs-selector-attr,
-.hljs-selector-pseudo {
- color: #b5bd68;
-}
-
-/*color: fg_purple*/
-.hljs-attribute,
-.hljs-code,
-.hljs-selector-id {
- color: #b294bb;
-}
-
-/*color: fg_blue*/
-.hljs-keyword,
-.hljs-selector-tag,
-.hljs-bullet,
-.hljs-tag {
- color: #81a2be;
-}
-
-/*color: fg_aqua*/
-.hljs-subst,
-.hljs-variable,
-.hljs-template-tag,
-.hljs-template-variable {
- color: #8abeb7;
-}
-
-/*color: fg_orange*/
-.hljs-type,
-.hljs-built_in,
-.hljs-builtin-name,
-.hljs-quote,
-.hljs-section,
-.hljs-selector-class {
- color: #de935f;
-}
-
-.hljs-emphasis {
- font-style: italic;
-}
-
-.hljs-strong {
- font-weight: bold;
-}
diff --git a/scss/main.scss b/scss/main.scss
deleted file mode 100644
index 9b6e6ce..0000000
--- a/scss/main.scss
+++ /dev/null
@@ -1,11 +0,0 @@
-@import 'defs';
-@import 'reset';
-@import 'hljs';
-@import 'codemirror';
-@import 'header';
-@import 'footer';
-@import 'browser';
-@import 'content';
-@import 'sidenotes';
-@import 'canvasapp';
-@import 'print';