Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitb03df02e27292bfbe13e2efb4becb721684a4719 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-07-10 16:50:06 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-07-10 16:50:06 +0300
Filesf6def0e53969d892200e2ac2b15d7e95c8117f71
syndamia.com-b03df02e27292bfbe13e2efb4becb721684a4719.tar
syndamia.com-b03df02e27292bfbe13e2efb4becb721684a4719.tar.gz
syndamia.com-b03df02e27292bfbe13e2efb4becb721684a4719.zip
Parent3485f567c5a6a5155db1ed3065c40c47c968a511 (diff)
(presentation) Reworked controller to use the characters
3 files changed, 8 insertions, 12 deletions
-rw-r--r--awk-edits/Presentation.awk10
-rw-r--r--src/_header.html2
-rw-r--r--src/presentation.css8
diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk
index d20763b..f3fce0e 100644
--- a/awk-edits/Presentation.awk
+++ b/awk-edits/Presentation.awk
@@ -156,12 +156,12 @@ BEGIN {
pres = ORS \
"<nav id=\"presentCont\">" ORS \
-" <img id=\"prevSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-left.svg\" alt=\"Previous\">" ORS \
+" <span id=\"prevSlideBtn\" class=\"btn nodisplay\">\\&#x2190;</span>" ORS \
" <a id=\"slideIndex\" class=\"nodisplay\" href=\"#slide-0\">0</a>" ORS \
-" <img id=\"nextSlideBtn\" class=\"unzoomable btn setting-btn icon nodisplay\" src=\"/img/arrow-right.svg\" alt=\"Next\">" ORS \
-" <img id=\"articleBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/article.svg\" alt=\"Show as article\">" ORS \
-" <img id=\"presentBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/presentation.svg\" alt=\"Present\">" ORS \
-" <img id=\"printBtn\" class=\"unzoomable btn setting-btn icon\" src=\"/img/printer.svg\" alt=\"Print\">" ORS \
+" <span id=\"nextSlideBtn\" class=\"btn nodisplay\">\\&#x2192;</span>" ORS \
+" <span id=\"articleBtn\" class=\"btn\">\\&#x2632;</span>" ORS \
+" <span id=\"presentBtn\" class=\"btn\">\\&#x239A;</span>" ORS \
+" <span id=\"printBtn\" class=\"btn\">\\&#x2399;</span>" ORS \
" </nav><br><br>" ORS \
" <script type=\"text/javascript\" src=\"/scripts/presentation.js\" integrity=\"sha512-BMaa5GilPY9Rob+YT5kgzGP12GZ4OhX5HRHO2KCevaOj3hXN6J0UbjUGUHObyPJRK2i2euFB8iil+cpU8wBq8w==\" crossorigin=\"anonymous\"></script>"
diff --git a/src/_header.html b/src/_header.html
index 0b7b1a6..5156c29 100644
--- a/src/_header.html
+++ b/src/_header.html
@@ -27,7 +27,7 @@
<nav id="sidebar">
<nav id="header">
<a href="/">Home</a>
- <div id="expandNavbarBtn" class="unzoomable btn">&#x25B2;</div>
+ <div id="expandNavbarBtn" class="btn">&#x25B2;</div>
<script type="text/javascript" src="/scripts/expand-navbar.js" crossorigin="anonymous" defer></script>
</nav>
diff --git a/src/presentation.css b/src/presentation.css
index 2aba6e1..4b74030 100644
--- a/src/presentation.css
+++ b/src/presentation.css
@@ -32,7 +32,7 @@ ul, ol { padding-inline-start: 30px; }
/* Presentation controller */
#presentCont { margin: 0.5em 0.5em 0.5em 0; }
- #presentCont > img { height: 1.4em; }
+ #presentCont > span { font-size: 1.4em; }
/* Presenting mode */
#presentCont { display: initial; }
@@ -120,11 +120,7 @@ absolute-slide {...} */
visibility: visible;
z-index: 10;
}
- #slideIndex {
- border: none;
- font-size: 1.4em;
- vertical-align: middle;
- }
+ #slideIndex { border: none; font-size: 1.6em; }
/* Media specific stylings */