From 1df21b74309851a7069e4a1a7ae360c1f19f5207 Mon Sep 17 00:00:00 2001 From: rafapaezbas Date: Tue, 23 Jan 2024 16:18:26 +0100 Subject: [PATCH] added svgs --- .gitignore | 3 ++- assets/arrow.svg | 1 + assets/home.svg | 1 + assets/light.svg | 1 + pulse.html | 56 ++++++++++++++++++------------------------------ 5 files changed, 26 insertions(+), 36 deletions(-) create mode 100644 assets/arrow.svg create mode 100644 assets/home.svg create mode 100644 assets/light.svg diff --git a/.gitignore b/.gitignore index 439b248..42a2401 100644 --- a/.gitignore +++ b/.gitignore @@ -128,4 +128,5 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* -package-lock.json \ No newline at end of file +package-lock.json +todo.* diff --git a/assets/arrow.svg b/assets/arrow.svg new file mode 100644 index 0000000..91d6ce7 --- /dev/null +++ b/assets/arrow.svg @@ -0,0 +1 @@ + arrow-left-square Created with Sketch Beta. diff --git a/assets/home.svg b/assets/home.svg new file mode 100644 index 0000000..8d29124 --- /dev/null +++ b/assets/home.svg @@ -0,0 +1 @@ + diff --git a/assets/light.svg b/assets/light.svg new file mode 100644 index 0000000..1f28eab --- /dev/null +++ b/assets/light.svg @@ -0,0 +1 @@ + diff --git a/pulse.html b/pulse.html index cedcf28..8b7a009 100644 --- a/pulse.html +++ b/pulse.html @@ -101,41 +101,27 @@ blockquote::before { content: "ℹ"; float: left; font-size: 1.625rem; margin-left: 1rem; margin-right: 0.625rem; } .col { max-width: 63rem; margin: 0 auto; margin-top: 1rem; } - #mode { - position: absolute; - font-size: 2rem; - right: 0.4rem; - bottom: 0rem; - cursor: pointer; - opacity: .65; - color: #B0D944; - user-select: none; - } + #back, #mode, #home { + width: 32px; + height: 32px; + position: absolute; + right: 0.4rem; + cursor: pointer; + user-select: none; + opacity: .65; + } - #mode::after { content: "☀"; } - - html.light #mode::after { content: "☾"; } + #back { + top: 10px; + } - #back { - position: absolute; - right: 0.4rem; - top: -1.9rem; - cursor: pointer; - opacity: .65; - color: #B0D944; - font-weight: bold; - font-size: 2.4rem; - user-select: none; - } + #mode { + top: 60px; + } - #home { - transform: scale(2.2, 2); - position: absolute; - right: .75rem; - bottom: -3.5rem; - cursor: pointer; - display: none; - } + #home { + top: 110px; + } html.light #home { color: #7c9735; @@ -197,9 +183,9 @@ - - - ˿ + + +