From 5fa81500dcc07a853a01b0b0d813069467995807 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Sat, 29 Aug 2026 13:06:16 -0500 Subject: work in progress css --- themes/simple/static/css/main.css | 171 +++++++++++++++++++++ themes/simple/static/css/reset.css | 52 +++++++ .../simple/static/fonts/aerial_2/Aerial_Demo.ttf | Bin 0 -> 33488 bytes .../static/fonts/babel_sans/BabelSans-Bold.ttf | Bin 0 -> 49356 bytes .../fonts/babel_sans/BabelSans-BoldOblique.ttf | Bin 0 -> 54488 bytes .../static/fonts/babel_sans/BabelSans-Oblique.ttf | Bin 0 -> 50516 bytes .../simple/static/fonts/babel_sans/BabelSans.ttf | Bin 0 -> 56936 bytes .../static/fonts/canela/canela-Bold-TRIAL.otf | Bin 0 -> 16832 bytes .../static/fonts/canela/canela-Light-TRIAL.otf | Bin 0 -> 16556 bytes .../static/fonts/canela/canela-Regular-TRIAL.otf | Bin 0 -> 15476 bytes themes/simple/static/fonts/gocake/Gocake.jpg | Bin 0 -> 385098 bytes themes/simple/static/fonts/gocake/Gocake.otf | Bin 0 -> 38100 bytes themes/simple/static/fonts/gocake/Gocake.ttf | Bin 0 -> 54132 bytes themes/simple/static/fonts/gocake/More Info.txt | 24 +++ themes/simple/static/fonts/gocake/Read Me.pdf | Bin 0 -> 536273 bytes themes/simple/static/images/background.jpg | Bin 0 -> 5420686 bytes themes/simple/templates/archives.html | 14 ++ themes/simple/templates/article.html | 65 ++++++++ themes/simple/templates/author.html | 7 + themes/simple/templates/authors.html | 12 ++ themes/simple/templates/base.html | 108 +++++++++++++ themes/simple/templates/categories.html | 12 ++ themes/simple/templates/category.html | 7 + themes/simple/templates/index.html | 29 ++++ themes/simple/templates/page.html | 33 ++++ themes/simple/templates/pagination.html | 17 ++ themes/simple/templates/period_archives.html | 14 ++ themes/simple/templates/tag.html | 7 + themes/simple/templates/tags.html | 12 ++ themes/simple/templates/translations.html | 16 ++ 30 files changed, 600 insertions(+) create mode 100644 themes/simple/static/css/main.css create mode 100644 themes/simple/static/css/reset.css create mode 100644 themes/simple/static/fonts/aerial_2/Aerial_Demo.ttf create mode 100644 themes/simple/static/fonts/babel_sans/BabelSans-Bold.ttf create mode 100644 themes/simple/static/fonts/babel_sans/BabelSans-BoldOblique.ttf create mode 100644 themes/simple/static/fonts/babel_sans/BabelSans-Oblique.ttf create mode 100644 themes/simple/static/fonts/babel_sans/BabelSans.ttf create mode 100644 themes/simple/static/fonts/canela/canela-Bold-TRIAL.otf create mode 100644 themes/simple/static/fonts/canela/canela-Light-TRIAL.otf create mode 100644 themes/simple/static/fonts/canela/canela-Regular-TRIAL.otf create mode 100644 themes/simple/static/fonts/gocake/Gocake.jpg create mode 100644 themes/simple/static/fonts/gocake/Gocake.otf create mode 100644 themes/simple/static/fonts/gocake/Gocake.ttf create mode 100644 themes/simple/static/fonts/gocake/More Info.txt create mode 100644 themes/simple/static/fonts/gocake/Read Me.pdf create mode 100755 themes/simple/static/images/background.jpg create mode 100644 themes/simple/templates/archives.html create mode 100644 themes/simple/templates/article.html create mode 100644 themes/simple/templates/author.html create mode 100644 themes/simple/templates/authors.html create mode 100644 themes/simple/templates/base.html create mode 100644 themes/simple/templates/categories.html create mode 100644 themes/simple/templates/category.html create mode 100644 themes/simple/templates/index.html create mode 100644 themes/simple/templates/page.html create mode 100644 themes/simple/templates/pagination.html create mode 100644 themes/simple/templates/period_archives.html create mode 100644 themes/simple/templates/tag.html create mode 100644 themes/simple/templates/tags.html create mode 100644 themes/simple/templates/translations.html (limited to 'themes') diff --git a/themes/simple/static/css/main.css b/themes/simple/static/css/main.css new file mode 100644 index 0000000..4c76d55 --- /dev/null +++ b/themes/simple/static/css/main.css @@ -0,0 +1,171 @@ +@import url("reset.css"); + +@font-face { + font-family: Gocake; + src: url("../fonts/gocake/Gocake.ttf"); +} + +@font-face { + font-family: Canela; + src: url("../fonts/canela/canela-Regular-TRIAL.otf"); +} + +@font-face { + font-family: Babel-Sans; + src: url("../fonts/babel_sans/BabelSans.ttf"); +} + +@font-face { + font-family: Aerial; + src: url("../fonts/aerial_2/Aerial_Demo.ttf"); +} + +body { + width: 100vw; + height: 100vh; + background-image: url("../images/background.jpg"); + background-repeat: no-repeat; + background-size: cover; + background-position: center; + background-attachment: fixed; + + font-family: "Aerial"; + line-height: 1.2; + + color: #aabbaf; +} + +a { + color: #99bb88; +} + +h1 { + font-size: 2em; +} + +#container { + width: 100%; + max-width: 980px; + margin: 20px auto 20px auto; +} + +#header { + position: relative; + background-color: rgba(20, 20, 20, 1.0); + background: + linear-gradient( + 180deg, + rgba(72, 72, 72, 0.9) 0%, + rgba(20, 20, 20, 0.95) 100% + ); + border-top: 1px solid #9e9e9e; + border-left: 1px solid #9e9e9e; + border-right: 1px solid #9e9e9e; + border-radius: 30px 30px 0 0; + +} + +#header hgroup { + padding: 20px 20px 10px 20px; +} + +#header::after { + content: ""; + position: absolute; + top: 4%; + left: 0.75em; + width: calc(100% - 1.5em); + height: 40%; + background: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.3), + rgba(255, 255, 255, 0.05) + ); + border-radius: 30px 30px 30px 30px; +} + +#content { + display: flex; +} + +#navs { + display: flex; + flex-direction: column; + + width: 150px; + height: 100%; + padding: 10px 8px 10px 8px; + + border-top: 1px solid #666666; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + background: rgba(30, 30, 30, 0.4); + /*background: linear-gradient(to bottom,rgba(80,80,80,.2),rgba(39,39,39,.1));*/ +} + +.nav { + border-radius: 8px 8px 4px 4px; + box-shadow: 2px 2px 3px rgba(0,0,0,.8); + margin-bottom: 12px; +} + +.nav nav { + display: flex; + flex-direction: column; + + background: rgba(0, 0, 0, .5); + + padding: 4px; + border-radius: 0 0 4px 4px; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + border-bottom: 1px solid #666666; +} + +.nav header { + position: relative; + background-color: rgba(20, 20, 20, 1.0); + background: + linear-gradient( + 180deg, + rgba(72, 72, 72, 0.9) 0%, + rgba(20, 20, 20, 0.95) 100% + ); + + border-top: 1px solid #666666; + border-left: 1px solid #666666; + border-right: 1px solid #666666; + border-radius: 8px 8px 0 0; + + padding: 4px 0 4px 0; + font-weight: 600; + text-align: center; +} + +.nav header::after { + content: ""; + position: absolute; + top: 4%; + left: 2.5%; + width: 95%; + height: 40%; + background: linear-gradient( + to bottom, + rgba(255, 255, 255, 0.3), + rgba(255, 255, 255, 0.05) + ); + border-radius: 30px 30px 30px 30px; +} + +.nav-item { + border: 1px solid #0f0f0f; + border-radius: 5px; + + display: flex; + align-items: center; + margin: auto auto 1px; + width: 93%; + + position: relative; +} + diff --git a/themes/simple/static/css/reset.css b/themes/simple/static/css/reset.css new file mode 100644 index 0000000..10b3fde --- /dev/null +++ b/themes/simple/static/css/reset.css @@ -0,0 +1,52 @@ +/* + Name: Reset Stylesheet + Description: Resets browser's default CSS + Author: Eric Meyer + Author URI: https://meyerweb.com/eric/tools/css/reset/ +*/ + +/* v1.0 | 20080212 */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + background: transparent; + border: 0; + font-size: 100%; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} + +body {line-height: 1;} + +ol, ul {list-style: none;} + +blockquote, q {quotes: none;} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* remember to define focus styles! */ +:focus { + outline: 0; +} + +/* remember to highlight inserts somehow! */ +ins {text-decoration: none;} +del {text-decoration: line-through;} + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/themes/simple/static/fonts/aerial_2/Aerial_Demo.ttf b/themes/simple/static/fonts/aerial_2/Aerial_Demo.ttf new file mode 100644 index 0000000..c05902b Binary files /dev/null and b/themes/simple/static/fonts/aerial_2/Aerial_Demo.ttf differ diff --git a/themes/simple/static/fonts/babel_sans/BabelSans-Bold.ttf b/themes/simple/static/fonts/babel_sans/BabelSans-Bold.ttf new file mode 100644 index 0000000..b424125 Binary files /dev/null and b/themes/simple/static/fonts/babel_sans/BabelSans-Bold.ttf differ diff --git a/themes/simple/static/fonts/babel_sans/BabelSans-BoldOblique.ttf b/themes/simple/static/fonts/babel_sans/BabelSans-BoldOblique.ttf new file mode 100644 index 0000000..4eb381e Binary files /dev/null and b/themes/simple/static/fonts/babel_sans/BabelSans-BoldOblique.ttf differ diff --git a/themes/simple/static/fonts/babel_sans/BabelSans-Oblique.ttf b/themes/simple/static/fonts/babel_sans/BabelSans-Oblique.ttf new file mode 100644 index 0000000..1e373cf Binary files /dev/null and b/themes/simple/static/fonts/babel_sans/BabelSans-Oblique.ttf differ diff --git a/themes/simple/static/fonts/babel_sans/BabelSans.ttf b/themes/simple/static/fonts/babel_sans/BabelSans.ttf new file mode 100644 index 0000000..e0f41e7 Binary files /dev/null and b/themes/simple/static/fonts/babel_sans/BabelSans.ttf differ diff --git a/themes/simple/static/fonts/canela/canela-Bold-TRIAL.otf b/themes/simple/static/fonts/canela/canela-Bold-TRIAL.otf new file mode 100644 index 0000000..5388781 Binary files /dev/null and b/themes/simple/static/fonts/canela/canela-Bold-TRIAL.otf differ diff --git a/themes/simple/static/fonts/canela/canela-Light-TRIAL.otf b/themes/simple/static/fonts/canela/canela-Light-TRIAL.otf new file mode 100644 index 0000000..0d63838 Binary files /dev/null and b/themes/simple/static/fonts/canela/canela-Light-TRIAL.otf differ diff --git a/themes/simple/static/fonts/canela/canela-Regular-TRIAL.otf b/themes/simple/static/fonts/canela/canela-Regular-TRIAL.otf new file mode 100644 index 0000000..ca06acf Binary files /dev/null and b/themes/simple/static/fonts/canela/canela-Regular-TRIAL.otf differ diff --git a/themes/simple/static/fonts/gocake/Gocake.jpg b/themes/simple/static/fonts/gocake/Gocake.jpg new file mode 100644 index 0000000..4ddc512 Binary files /dev/null and b/themes/simple/static/fonts/gocake/Gocake.jpg differ diff --git a/themes/simple/static/fonts/gocake/Gocake.otf b/themes/simple/static/fonts/gocake/Gocake.otf new file mode 100644 index 0000000..561913e Binary files /dev/null and b/themes/simple/static/fonts/gocake/Gocake.otf differ diff --git a/themes/simple/static/fonts/gocake/Gocake.ttf b/themes/simple/static/fonts/gocake/Gocake.ttf new file mode 100644 index 0000000..50b1665 Binary files /dev/null and b/themes/simple/static/fonts/gocake/Gocake.ttf differ diff --git a/themes/simple/static/fonts/gocake/More Info.txt b/themes/simple/static/fonts/gocake/More Info.txt new file mode 100644 index 0000000..4e42afe --- /dev/null +++ b/themes/simple/static/fonts/gocake/More Info.txt @@ -0,0 +1,24 @@ +First of All, + +Thank you for download my product. +This product 100% free for personal use & commercial use + +File include : + +1. Gocake.ttf +2. Gocake.otf + +More Info : +hi@khurasanstudio.com + +For Donation: +paypal.me/jalkhurasan + +My OnlineShop: +https://www.creativefabrica.com/ref/53/ + +My Portofolio: +https://www.behance.net/khurasan + +My web: +www.khurasanstudio.com \ No newline at end of file diff --git a/themes/simple/static/fonts/gocake/Read Me.pdf b/themes/simple/static/fonts/gocake/Read Me.pdf new file mode 100644 index 0000000..4e5ae0f Binary files /dev/null and b/themes/simple/static/fonts/gocake/Read Me.pdf differ diff --git a/themes/simple/static/images/background.jpg b/themes/simple/static/images/background.jpg new file mode 100755 index 0000000..4e435d7 Binary files /dev/null and b/themes/simple/static/images/background.jpg differ diff --git a/themes/simple/templates/archives.html b/themes/simple/templates/archives.html new file mode 100644 index 0000000..a61bf3c --- /dev/null +++ b/themes/simple/templates/archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME|striptags }} - Archives{% endblock %} + +{% block content %} +

Archives for {{ SITENAME }}

+ +
+ {% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+ {% endfor %} +
+{% endblock %} diff --git a/themes/simple/templates/article.html b/themes/simple/templates/article.html new file mode 100644 index 0000000..a01de10 --- /dev/null +++ b/themes/simple/templates/article.html @@ -0,0 +1,65 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME|striptags }} - {{ article.title|striptags }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+
+

+ {{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+ {{ article.content }} +
+

Published:

+ {% if article.modified %} +

Last updated:

+ {% endif %} + {% if article.authors %} +
+ By {% for author in article.authors %} + {{ author }} + {% endfor %} +
+ {% endif %} + {% if article.category %} +

+ Category: {{ article.category }} +

+ {% endif %} + {% if article.tags %} +

+ Tags: + {% for tag in article.tags %} + {{ tag }} + {% endfor %} +

+ {% endif %} +
+
+{% endblock %} diff --git a/themes/simple/templates/author.html b/themes/simple/templates/author.html new file mode 100644 index 0000000..06f871d --- /dev/null +++ b/themes/simple/templates/author.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME|striptags }} - Articles by {{ author }}{% endblock %} + +{% block content_title %} +

Articles by {{ author }}

+{% endblock %} diff --git a/themes/simple/templates/authors.html b/themes/simple/templates/authors.html new file mode 100644 index 0000000..97a7457 --- /dev/null +++ b/themes/simple/templates/authors.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME|striptags }} - Authors{% endblock %} + +{% block content %} +

Authors on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/simple/templates/base.html b/themes/simple/templates/base.html new file mode 100644 index 0000000..f34054f --- /dev/null +++ b/themes/simple/templates/base.html @@ -0,0 +1,108 @@ + + + + {% block head %} + {% block title %}{{ SITENAME|striptags }}{% endblock title %} + + + + {% if SITESUBTITLE %} + + {% endif %} + {% if CSS_FILE %} + + {% endif %} + {% if STYLESHEET_URL %} + + {% endif %} + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + + {% endif %} + {% if TAG_FEED_ATOM and tag %} + + {% endif %} + {% if TAG_FEED_RSS and tag %} + + {% endif %} + {% endblock head %} + + + + {% block body %} +
+ +
+ +
+ {% block content %} + {% endblock content %} +
+
+ {% block footer %} +
+ Made with Pelican, +
+ {% endblock footer %} +
+
+
+ {% endblock body %} + + diff --git a/themes/simple/templates/categories.html b/themes/simple/templates/categories.html new file mode 100644 index 0000000..c723f8a --- /dev/null +++ b/themes/simple/templates/categories.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME|striptags }} - Categories{% endblock %} + +{% block content %} +

Categories on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/simple/templates/category.html b/themes/simple/templates/category.html new file mode 100644 index 0000000..bfad391 --- /dev/null +++ b/themes/simple/templates/category.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME|striptags }} - {{ category }} category{% endblock %} + +{% block content_title %} +

Articles in the {{ category }} category

+{% endblock %} diff --git a/themes/simple/templates/index.html b/themes/simple/templates/index.html new file mode 100644 index 0000000..100a720 --- /dev/null +++ b/themes/simple/templates/index.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block content %} + {% block content_title %} +

All articles

+ {% endblock %} + + + {% for article in articles_page.object_list %} +
+

{{ article.title }}

+
{{ article.summary }}
+
+

Published:

+ {%- if article.authors %} +
By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
+ {%- endif %} +
+
+ {% endfor %} + + {% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} + {% endif %} + +{% endblock content %} diff --git a/themes/simple/templates/page.html b/themes/simple/templates/page.html new file mode 100644 index 0000000..4096e7a --- /dev/null +++ b/themes/simple/templates/page.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block html_lang %}{{ page.lang }}{% endblock %} + +{% block title %}{{ SITENAME|striptags }} - {{ page.title|striptags }}{%endblock%} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} +{% endblock %} + +{% block content %} +
+
+

{{ page.title }}

+
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {% block page_content %}{{ page.content }}{% endblock page_content %} + + {% if page.modified %} +
+

+ Last updated: {{ page.locale_modified }} +

+
+ {% endif %} +
+{% endblock %} diff --git a/themes/simple/templates/pagination.html b/themes/simple/templates/pagination.html new file mode 100644 index 0000000..9511fdb --- /dev/null +++ b/themes/simple/templates/pagination.html @@ -0,0 +1,17 @@ +{% if DEFAULT_PAGINATION %} + {% set first_page = articles_paginator.page(1) %} + {% set last_page = articles_paginator.page(articles_paginator.num_pages) %} + +{% endif %} diff --git a/themes/simple/templates/period_archives.html b/themes/simple/templates/period_archives.html new file mode 100644 index 0000000..181f493 --- /dev/null +++ b/themes/simple/templates/period_archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME|striptags }} - {{ period | reverse | join(' ') }} archives{% endblock %} + +{% block content %} +

Archives for {{ period | reverse | join(' ') }}

+ +
+ {% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+ {% endfor %} +
+{% endblock %} diff --git a/themes/simple/templates/tag.html b/themes/simple/templates/tag.html new file mode 100644 index 0000000..be21778 --- /dev/null +++ b/themes/simple/templates/tag.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME|striptags }} - {{ tag }} tag{% endblock %} + +{% block content_title %} +

Articles tagged with {{ tag }}

+{% endblock %} diff --git a/themes/simple/templates/tags.html b/themes/simple/templates/tags.html new file mode 100644 index 0000000..b21e5b5 --- /dev/null +++ b/themes/simple/templates/tags.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME|striptags }} - Tags{% endblock %} + +{% block content %} +

Tags for {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/simple/templates/translations.html b/themes/simple/templates/translations.html new file mode 100644 index 0000000..eed0703 --- /dev/null +++ b/themes/simple/templates/translations.html @@ -0,0 +1,16 @@ +{% macro translations_for(article) %} + {% if article.translations %} + Translations: + {% for translation in article.translations %} + {{ translation.lang }} + {% endfor %} + {% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} + {% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} + {% endif %} +{% endmacro %} -- cgit v1.2.3