Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit69874fb6cc05f9a1507df1bc14fe7ddf8d96ac88 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-05 18:19:24 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-05 18:19:24 +0200
Files99b3b439c30cd1791be988d38c038c9f99804630 /src
syndamia.com-69874fb6cc05f9a1507df1bc14fe7ddf8d96ac88.tar
syndamia.com-69874fb6cc05f9a1507df1bc14fe7ddf8d96ac88.tar.gz
syndamia.com-69874fb6cc05f9a1507df1bc14fe7ddf8d96ac88.zip
Parentc9707190ae06b1b45acc9240525c9e987a498582 (diff)
Moved some attribute stylings to styles.css
3 files changed, 7 insertions, 2 deletions
-rw-r--r--src/_footer.html2
-rw-r--r--src/index.md2
-rw-r--r--src/styles.css5
diff --git a/src/_footer.html b/src/_footer.html
index b04adb8..07e4ab6 100644
--- a/src/_footer.html
+++ b/src/_footer.html
@@ -1,6 +1,6 @@
</article>
- <img id="scrollBtn" class="btnBackToTop link-tab" style="display: none" src="/img/chevrons-up-tabler.svg" alt="^">
+ <img id="scrollBtn" class="btnBackToTop link-tab" src="/img/chevrons-up-tabler.svg" alt="^">
<nav class="footer">
<a href="mailto:syndamia@protonmail.com" target="_blank" class="link-tab" title="Have a comment or suggestion? Mail me!">Have a comment or suggestion? Mail me!</a>
diff --git a/src/index.md b/src/index.md
index d913629..2e22c94 100644
--- a/src/index.md
+++ b/src/index.md
@@ -29,7 +29,7 @@ Given the heavy stylization, all content is also available without any CSS over
[![🔗](/img/link-tabler.svg)](#Licensing)
This website uses [two licenses](https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/LICENSE):
-<ul style="margin-block-end: calc(1em + 10px)">
+<ul id="index-list">
<li><a href="https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/LICENSE-CONTENT">CC BY-SA 4.0</a> - all content (articles, images, etc.), summary <a href="https://creativecommons.org/licenses/by-sa/4.0/">here</a></li>
<li><a href="https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/LICENSE-CODE">MIT</a> - everything else (code), summary <a href="https://choosealicense.com/licenses/mit/">here</a></li>
</ul>
diff --git a/src/styles.css b/src/styles.css
index ff120e8..c94e8a5 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -177,6 +177,10 @@ h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img {
}
}
+#index-list {
+ margin-block-end: calc(1em + 10px);
+}
+
/* The following CSS is a modified version of sindresorhus's github-markdown-css repo: https://github.com/sindresorhus/github-markdown-css */
code,
@@ -389,6 +393,7 @@ code span {
border: 1px solid;
transition-duration: 0.5s;
padding: 0.3em;
+ display: none;
}
.btnBackToTop:hover {