diff options
Moved some attribute stylings to styles.css
3 files changed, 7 insertions, 2 deletions
| -rw-r--r-- | src/_footer.html | 2 | ||||
| -rw-r--r-- | src/index.md | 2 | ||||
| -rw-r--r-- | src/styles.css | 5 |
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 [](#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 { |