theme cleanup

This commit is contained in:
Jeff MacKinnon 2022-06-02 14:44:01 -03:00
parent f8450b7639
commit 48d7f5cbe1
3 changed files with 55 additions and 27 deletions

View file

@ -1,13 +0,0 @@
.wip {
width: 150px;
opacity: 75%;
border: 5px solid #d11586
}
.read {
width: 150px;
}
.dnf {
width: 150px;
opacity: 75%;
filter: grayscale(100%);
}

View file

@ -1,3 +1,13 @@
/************************************************/
/* Pelican Theme CSS Stuff */
/* */
/* This is everything that can be ported to */
/* any theme that I make that isn't "theme" */
/* so I can change theme stuff a lot! */
/************************************************/
/************************************************/
/* resets */
ul, ol {
@ -10,14 +20,47 @@ ol {
margin: 0;
}
/* reset */
.post st-link {
text-decoration: none;
}
/************************************************/
/* main */
.tmpl-library .bookshelf {
border: 1px solid var(--base-dark);
margin: 0 auto;
padding: 1em;
}
/************************************************/
/* This is the stuff for my reading library */
.wip {
width: 150px;
opacity: 75%;
border: 5px solid #d11586
}
.read {
width: 150px;
}
.dnf {
width: 150px;
opacity: 75%;
filter: grayscale(100%);
}
/************************************************/
/************************************************/
/* LIBRARY TEMPLATE */
/* "sourced" aka copied from - https://www.pagemelt.ink/published/ */
/* I have probably made enough changes that is it now "inspired by", but where is that lie really? */
.tmpl-library {
margin: 0 auto;
overflow-x: hidden;
@ -101,14 +144,16 @@ transform: scale(2);
@media screen and (max-width: 650px) {
.book.book--midscreen {
display: none;
width: 400px;
}
}
.bookshelf {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: .25em 0 0 0;
justify-content: right;
/*margin: .25em 0 0 0; */
padding-left: 0;
width: 100%;
border: 1px;
@ -118,11 +163,4 @@ border: 1px;
box-shadow: 0 0 10px rgba(0,0,0,.5);
}
/* main */
.tmpl-library .bookshelf {
border: 1px solid var(--base-dark);
margin: 0 auto;
/*max-width: 810px;*/
padding: 1em;
}
/************************************************/

View file

@ -38,6 +38,7 @@
{% if TAG_FEED_RSS and tag %}
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.format(slug=tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
{% endif %}
{% if TRACKING %}
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
@ -55,6 +56,8 @@
})();
</script>
<!-- End Matomo Code -->
{% endif %}
{% endblock head %}
{% block somemorehead %}
{% endblock somemorehead %}