diff --git a/src/assets/base.css b/src/assets/base.css index 35cdb22..a6e6280 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -3,7 +3,51 @@ --color-accent: #00FFFF; --color-text: #FFF; + --content-width: 800px; + --font-size-base: 18px; --line-height-base: 26px; --font-family: monospace; + + --space-base: 1rem; +} + +.banner { + margin-top: 1rem; + width: 100%; + height: 40px; + display: flex; + flex-direction: row; + margin-bottom: 1rem; + align-items: center; + flex: 1; + font-family: monospace; +} + +.banner { + .title { + display: flex; + flex-direction: row; + flex: 1; + + .name { + color: #1c1b28; + background-color: #00FFFF; + white-space: nowrap; + padding: 5px; + + a { + color: unset; + text-decoration: none; + } + } + } + + .title::after { + background: repeating-linear-gradient(90deg, #00FFFF, #00FFFF 2px, transparent 0, transparent 10px); + content: ""; + display: block; + width: 100%; + margin-left: 10px; + } } diff --git a/src/index.ts b/src/index.ts index 3f13bf3..23ccf86 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,9 +36,9 @@ new ToolchainBuilder(paths) path: "src/assets/base.css" }, { - path: "src/playground/dropdown.html", + path: "src/playground/playground.html", menuEntry: true, - nameOverride: "Dropdown playground" + nameOverride: "CSS/HTML playground" } ], }), diff --git a/src/playground/dropdown.html b/src/playground/dropdown.html deleted file mode 100644 index 4ea1af4..0000000 --- a/src/playground/dropdown.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - -
-- --
This is an interactive html and css playground built with minimal JS.
+ + + + + +