diff --git a/.prettierignore b/.prettierignore index 5c457d79..77738287 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1 @@ -docs \ No newline at end of file +dist/ \ No newline at end of file diff --git a/docs/global.css b/docs/global.css deleted file mode 100644 index 7b94b120..00000000 --- a/docs/global.css +++ /dev/null @@ -1,134 +0,0 @@ -@media (prefers-color-scheme: light) { - html, body { - position: relative; - width: 100%; - height: 100%; - } - - #dgraph-div { - display: none; - } - - body { - color: #333; - margin: 0; - padding: 8px; - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - } - - a { - color: rgb(0,100,200); - text-decoration: none; - } - - a:hover { - text-decoration: underline; - } - - a:visited { - color: rgb(0,80,160); - } - - label { - display: block; - } - - - - input, button, select, textarea { - font-family: inherit; - font-size: inherit; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; - } - - input:disabled { - color: #ccc; - } - - input[type="range"] { - height: 0; - } - - button { - background-color: #f4f4f4; - outline: none; - } - - button:active { - background-color: #ddd; - } - - button:focus { - border-color: #666; - } -} - - body { - background-color: #3f3f3f; - color: #c8c8c8; - margin: 0; - padding: 8px; - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - }} -@media (prefers-color-scheme: dark) { - html, body { - position: relative; - width: 100%; - height: 100%; - - - a { - color: rgb(0,100,200); - text-decoration: none; - } - - a:hover { - text-decoration: underline; - } - - a:visited { - color: rgb(0,80,160); - } - - label { - display: block; - } - - input, button, select, textarea { - font-family: inherit; - font-size: inherit; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; - } - - input:disabled { - color: #ccc; - } - - input[type="range"] { - height: 0; - } - - button { - background-color: #f4f4f4; - outline: none; - } - - button:active { - background-color: #ddd; - } - - button:focus { - border-color: #666; - } -} - diff --git a/docs/index.html b/docs/index.html index dfbc98da..bd6784d4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,45 +1,60 @@ - + - - - + + + - Mermaid live editor + Mermaid live editor - - - - - - - + ga('create', 'UA-153180559-1', 'auto'); + + - - - Online FlowChart & Diagrams Editor - Mermaid Live Editor - - - + + Online FlowChart & Diagrams Editor - Mermaid Live Editor + + + - - - - \ No newline at end of file + + + + diff --git a/docs/styles.css b/docs/styles.css index 9f42bd5a..de8d3000 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -1,17 +1,17 @@ html { - padding: 0; - width: 100%; - height: 100%; + padding: 0; + width: 100%; + height: 100%; } body { padding: 32px; - font-family: 'trebuchet ms', verdana, arial; - position: relative; - width: 100%; - height: 100%; - box-sizing: border-box; - margin: 0; + font-family: 'trebuchet ms', verdana, arial; + position: relative; + width: 100%; + height: 100%; + box-sizing: border-box; + margin: 0; } /* @media (prefers-color-scheme: dark) { @@ -42,7 +42,19 @@ i { position: absolute; } -@font-face{ - font-family: "codicon"; - src: url("codicon.ttf") format("truetype"); +@font-face { + font-family: 'codicon'; + src: url('codicon.ttf') format('truetype'); +} + +.myInlineDecoration { + /* cursor: pointer; */ + /* text-decoration: underline; */ + font-weight: bold; + font-style: oblique; + background: #ffcccc; +} + +#dgraph-div { + display: none; }