diff --git a/static/css-include/pelican.css b/static/css-include/pelican.css index 536e02a..978f9ba 100644 --- a/static/css-include/pelican.css +++ b/static/css-include/pelican.css @@ -63,9 +63,18 @@ /*margin: .25em 0 0 0; */ padding-left: 0; width: 100%; - border: 1px; + /*border: 1px;*/ } +ol.photo_gallery { + list-style: decimal; + margin: 0 0 2em 0;} + ol li { + padding-left: 20px; + } + ol li a { + border:0; + } /************************************************/ /* photos */ @@ -73,11 +82,10 @@ .photo { display: flex; justify-content: center; - margin: .1em; position: relative; text-transform: initial; transition: transform .05s; - width: 200px; + width: calc(100%/5); /* 13 is for the inner padding and the 0.4 is photo margins. If you want more or less photos per line it will be (n-1) * 0.1 */ z-index: 1; } @@ -147,7 +155,7 @@ box-shadow: 0 0 10px rgba(0,0,0,.5); /* Article/Entry Info */ #content { - max-width:750px; + width:100%; } #entry-info { diff --git a/static/css/main.css b/static/css/main.css index aae1c57..215c387 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1783,9 +1783,9 @@ button, -webkit-flex-shrink: 1; -ms-flex-shrink: 1; flex-shrink: 1; - margin: 0 2em 2em 2em; + margin: 0 2em 1em 0em; position: relative; - width: calc(33.33333% - 4em); } + width: calc(33.33333% - 2em); } .posts article:before { background: rgba(210, 215, 217, 0.75); content: ''; @@ -1794,13 +1794,13 @@ button, left: -2em; position: absolute; top: 0; - width: 1px; } + /*width: 1px; */} .posts article:after { background: rgba(210, 215, 217, 0.75); bottom: 0em; content: ''; display: block; - height: 1px; + /*height: 1px; */ position: absolute; right: 0; width: calc(100% + 6em); } @@ -2119,7 +2119,7 @@ button, border-bottom: solid 5px var(--style-colour); padding: 6em 0 1em 0; position: relative; - max-width:750px;} + width:100%;} #header > * { -moz-flex: 1; -webkit-flex: 1; diff --git a/templates/base.html b/templates/base.html index ceb280d..19b9e8e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -42,6 +42,10 @@ {% endif %} + {% if (article and article.photo_gallery) or (articles_page and articles_page.object_list[0].photo_gallery) %} + + {% endif %} + {% if TRACKING == True %} {% include 'include/trackingcode.html' %} {% endif %} @@ -108,6 +112,31 @@ {{ IMAGETRACKINGCODE }} {% endif %} +{% if (article and article.photo_gallery) or (articles_page and articles_page.object_list[0].photo_gallery) %} + + + + + +{% endif %} diff --git a/templates/include/paginated_posts.html b/templates/include/paginated_posts.html index cce80e7..b7b7223 100644 --- a/templates/include/paginated_posts.html +++ b/templates/include/paginated_posts.html @@ -7,10 +7,12 @@ {% endif %} {% if (article.category != MICROBLOG ) %} + {% if (testing == 1) %}

{{ article.title }}

{% endif %} + {% endif %} {% if (article.category != MICROBLOG)%} {% if (testing == 1) %}
{{ article.summary }}