diff --git a/requirements.txt b/requirements.txt index 41fd45a..e860169 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,5 +23,7 @@ Unidecode==1.3.6 python-slugify webassets==2.0 +pelican-webassets==2.0.0 libsass==0.21.0 livereload==2.6.3 +cssmin==0.2.0 diff --git a/themes/solarized/static/css/main.css b/themes/solarized/static/css/main.css index bdcaaaa..7047c35 100644 --- a/themes/solarized/static/css/main.css +++ b/themes/solarized/static/css/main.css @@ -51,7 +51,6 @@ article ul { .amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;} .dquo {margin-left:-.38em;} - @media screen and (min-width: 700px) { .parent-panel { padding-left:20%;width:100%; } .right-panel { position:relative;float:left;width:100%; } @@ -59,8 +58,8 @@ article ul { .right-panel-content { border-left: 2px dashed #b58900; min-height: 96vh; - max-width: 60%; - padding-left: 0.75rem; + max-width: 80%; + padding-left: 0.75rem; } .left-panel { position:relative; @@ -70,6 +69,13 @@ article ul { margin-left:-101%; text-align:right; } + a { + padding: 4px; + } + + h2 a{ + padding: 0; + } } @media screen and (max-width: 700px) { .parent-panel { @@ -106,10 +112,13 @@ article ul { -webkit-order: 2; order: 2; } + .right-panel-content { + max-width: 100%; + } .left-panel li { - display: inline; - padding: 0.5rem; + display: inline-block; + padding: 0.75rem; white-space: nowrap; } @@ -119,7 +128,17 @@ article ul { .social { display: none; } +} +@media screen and (max-width: 600px) { + .right-panel-content { + max-width: 80%; + } +} +@media screen and (min-width: 1200px) { + .right-panel-content { + max-width: 1000px; + } } .right-panel-content img { @@ -136,7 +155,7 @@ article ul { } hr { - border: 2px dotted #b58900;; + border: 2px dotted #b58900; border-style: none none dashed; } @@ -150,10 +169,10 @@ hr.end { .indent { font-size: 0.6rem; - margin-left: 5.1rem; + margin-left: 4.1rem; } -h3.entry-title{ +header.entry-title{ border-bottom: 1px dotted #b58900; padding-bottom: 0.25rem; } @@ -173,3 +192,15 @@ ul ul { list-style-type: circle; padding-left: 2rem; } + +.entry-list-flex-container { + display: flex; + flex-wrap: wrap; + width: 100%; +} + +.entry-list-flex-child.date { + flex-basis: fit-content; + margin-right:1rem; +} + diff --git a/themes/solarized/templates/base.html b/themes/solarized/templates/base.html index fa5e715..fda2b38 100644 --- a/themes/solarized/templates/base.html +++ b/themes/solarized/templates/base.html @@ -6,6 +6,7 @@ + {% if FEED_ALL_ATOM %} {% endif %} {% if FEED_ALL_RSS %} {% endif %} diff --git a/themes/solarized/templates/index.html b/themes/solarized/templates/index.html index c6b6c61..16e3262 100644 --- a/themes/solarized/templates/index.html +++ b/themes/solarized/templates/index.html @@ -10,20 +10,33 @@ {% for article in articles_page.object_list %}