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,4 +1,14 @@
/* resets */ /************************************************/
/* 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 { ul, ol {
list-style: none; list-style: none;
@ -10,13 +20,46 @@ ol {
margin: 0; margin: 0;
} }
/* reset */
.post st-link { .post st-link {
text-decoration: none; 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? */
/* LIBRARY TEMPLATE */
.tmpl-library { .tmpl-library {
margin: 0 auto; margin: 0 auto;
@ -101,14 +144,16 @@ transform: scale(2);
@media screen and (max-width: 650px) { @media screen and (max-width: 650px) {
.book.book--midscreen { .book.book--midscreen {
display: none; display: none;
width: 400px;
} }
} }
.bookshelf { .bookshelf {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: right;
margin: .25em 0 0 0; /*margin: .25em 0 0 0; */
padding-left: 0; padding-left: 0;
width: 100%; width: 100%;
border: 1px; border: 1px;
@ -118,11 +163,4 @@ border: 1px;
box-shadow: 0 0 10px rgba(0,0,0,.5); 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,8 +38,9 @@
{% if TAG_FEED_RSS and tag %} {% 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" /> <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 %} {% endif %}
{% if TRACKING %}
<!-- Matomo --> <!-- Matomo -->
<script> <script>
var _paq = window._paq = window._paq || []; var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDoNotTrack", true]); _paq.push(["setDoNotTrack", true]);
@ -55,6 +56,8 @@
})(); })();
</script> </script>
<!-- End Matomo Code --> <!-- End Matomo Code -->
{% endif %}
{% endblock head %} {% endblock head %}
{% block somemorehead %} {% block somemorehead %}
{% endblock somemorehead %} {% endblock somemorehead %}