diff --git a/index.html b/index.html index f362142..e1ea013 100644 --- a/index.html +++ b/index.html @@ -1,76 +1,92 @@ - - - - - - Pixel Icons - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GitHub - -
-
-
- - + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Download All + GitHub + +
+
+
+
+ + - + document.documentElement.dataset.theme = light ? 'light' : 'dark'; + + document.querySelector('#btn-theme').addEventListener('click', e => { + light = !light; + document.documentElement.dataset.theme = light ? 'light' : 'dark'; + }); + })() + + diff --git a/src/index.css b/src/index.css index fbd0adb..679804f 100644 --- a/src/index.css +++ b/src/index.css @@ -49,21 +49,30 @@ input { margin: 0 auto; padding: 2rem; font-size: 9pt; + box-sizing: border-box; } header { display: flex; justify-content: flex-start; align-items: center; - gap: 1rem; - /* line-height: 3.2rem; */ + gap: 18px; + flex-wrap: wrap; + margin: 36px 0 54px; +} + +header .buttons { + display: flex; + gap: 18px; + justify-content: flex-start; + align-items: center; } #site-title { height: 30px; width: auto; fill: currentColor; - margin: 36px 0; + margin-right: auto; } h1 {