diff --git a/css/reset.css b/css/reset.css new file mode 100644 index 00000000000..e2385390fcf --- /dev/null +++ b/css/reset.css @@ -0,0 +1,30 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v4.0 | 20180602 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +main, menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, main, menu, nav, section { + display: block; +} \ No newline at end of file diff --git a/css/theme/source/beige.scss b/css/theme/beige.scss similarity index 93% rename from css/theme/source/beige.scss rename to css/theme/beige.scss index 7598b94f82b..32d082509d5 100644 --- a/css/theme/source/beige.scss +++ b/css/theme/beige.scss @@ -6,8 +6,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -40,5 +40,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/black-contrast.scss b/css/theme/black-contrast.scss similarity index 93% rename from css/theme/source/black-contrast.scss rename to css/theme/black-contrast.scss index 9e1a2cafbe1..6d84e9596c9 100644 --- a/css/theme/source/black-contrast.scss +++ b/css/theme/black-contrast.scss @@ -9,8 +9,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -45,5 +45,5 @@ $heading4Size: 1.0em; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/black.scss b/css/theme/black.scss similarity index 87% rename from css/theme/source/black.scss rename to css/theme/black.scss index 7c655c4f98b..61a1abedf65 100644 --- a/css/theme/source/black.scss +++ b/css/theme/black.scss @@ -6,13 +6,13 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- // Include theme-specific fonts -@import url(./fonts/source-sans-pro/source-sans-pro.css); +@import url("/theme/fonts/source-sans-pro/source-sans-pro.css"); // Override theme settings (see ../template/settings.scss) @@ -42,5 +42,5 @@ $heading4Size: 1.0em; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/blood.scss b/css/theme/blood.scss similarity index 95% rename from css/theme/source/blood.scss rename to css/theme/blood.scss index b5a86796fc5..d1eecd67669 100644 --- a/css/theme/source/blood.scss +++ b/css/theme/blood.scss @@ -11,8 +11,8 @@ */ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- // Include theme-specific fonts @@ -51,7 +51,7 @@ $selectionColor: #fff; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- // some overrides after theme template import diff --git a/css/theme/source/dracula.scss b/css/theme/dracula.scss similarity index 95% rename from css/theme/source/dracula.scss rename to css/theme/dracula.scss index ae968b8c752..99402f86ccf 100644 --- a/css/theme/source/dracula.scss +++ b/css/theme/dracula.scss @@ -5,8 +5,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -74,7 +74,7 @@ $codeFont: "Fira Code", $systemFontsMono; @include light-bg-text-color($background); // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- // Define additional color effects based on Dracula spec diff --git a/css/theme/source/league.scss b/css/theme/league.scss similarity index 92% rename from css/theme/source/league.scss rename to css/theme/league.scss index ee012583990..8a5c43a6114 100644 --- a/css/theme/source/league.scss +++ b/css/theme/league.scss @@ -8,8 +8,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -32,5 +32,5 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/moon.scss b/css/theme/moon.scss similarity index 92% rename from css/theme/source/moon.scss rename to css/theme/moon.scss index 59ef0a95a7e..291945fc6a5 100644 --- a/css/theme/source/moon.scss +++ b/css/theme/moon.scss @@ -5,8 +5,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -50,5 +50,5 @@ $selectionBackgroundColor: $magenta; @include light-bg-text-color(#222); // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/night.scss b/css/theme/night.scss similarity index 91% rename from css/theme/source/night.scss rename to css/theme/night.scss index 98a206288f5..9f9e4a8bbf0 100644 --- a/css/theme/source/night.scss +++ b/css/theme/night.scss @@ -6,8 +6,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -33,5 +33,5 @@ $selectionBackgroundColor: #e7ad52; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- \ No newline at end of file diff --git a/css/theme/source/serif.scss b/css/theme/serif.scss similarity index 92% rename from css/theme/source/serif.scss rename to css/theme/serif.scss index babec4d1cae..a8587198a96 100644 --- a/css/theme/source/serif.scss +++ b/css/theme/serif.scss @@ -7,8 +7,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -37,5 +37,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/simple.scss b/css/theme/simple.scss similarity index 93% rename from css/theme/source/simple.scss rename to css/theme/simple.scss index 51a21af2615..81de6df695b 100644 --- a/css/theme/source/simple.scss +++ b/css/theme/simple.scss @@ -8,8 +8,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -39,5 +39,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- \ No newline at end of file diff --git a/css/theme/source/sky.scss b/css/theme/sky.scss similarity index 93% rename from css/theme/source/sky.scss rename to css/theme/sky.scss index 457e9e50924..e592bd191cf 100644 --- a/css/theme/source/sky.scss +++ b/css/theme/sky.scss @@ -6,8 +6,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -48,5 +48,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/solarized.scss b/css/theme/solarized.scss similarity index 93% rename from css/theme/source/solarized.scss rename to css/theme/solarized.scss index f3253458faa..f9aee127c5b 100644 --- a/css/theme/source/solarized.scss +++ b/css/theme/solarized.scss @@ -5,8 +5,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -62,5 +62,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/white-contrast.scss b/css/theme/white-contrast.scss similarity index 93% rename from css/theme/source/white-contrast.scss rename to css/theme/white-contrast.scss index e22007e23b4..24d35fdc376 100644 --- a/css/theme/source/white-contrast.scss +++ b/css/theme/white-contrast.scss @@ -9,8 +9,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -48,5 +48,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/css/theme/source/white.scss b/css/theme/white.scss similarity index 92% rename from css/theme/source/white.scss rename to css/theme/white.scss index a2b1292f4e8..f0b587b76fe 100644 --- a/css/theme/source/white.scss +++ b/css/theme/white.scss @@ -6,8 +6,8 @@ // Default mixins and settings ----------------- -@import "../template/mixins"; -@import "../template/settings"; +@import "./template/mixins"; +@import "./template/settings"; // --------------------------------------------- @@ -45,5 +45,5 @@ $overlayElementFgColor: 240, 240, 240; // Theme template ------------------------------ -@import "../template/theme"; +@import "./template/theme"; // --------------------------------------------- diff --git a/demo.html b/demo.html index 36d830281c1..d80907f1c2a 100644 --- a/demo.html +++ b/demo.html @@ -455,13 +455,19 @@