From f7c3137844795426041a6e1577296d2b803028aa Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sun, 15 Dec 2024 12:58:17 +0300 Subject: Auto-commit 2024-12-15 --- assets/css/main.css | 48 +++++++------------------------------ assets/icons/calendar.svg | 11 +++++++++ assets/icons/location.svg | 13 ++++++++++ assets/icons/tag.svg | 8 +++++++ layouts/_default/baseof.html | 6 ++++- layouts/partials/footer.html | 8 +++++++ layouts/partials/head.html | 9 +++---- layouts/partials/single/footer.html | 8 +++++-- layouts/partials/single/header.html | 7 ++---- 9 files changed, 66 insertions(+), 52 deletions(-) create mode 100644 assets/icons/calendar.svg create mode 100644 assets/icons/location.svg create mode 100644 assets/icons/tag.svg diff --git a/assets/css/main.css b/assets/css/main.css index 90cf82b..c76e024 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,12 +1,16 @@ .posts-container { - max-width:760px + max-width:760px; } .bd-gutter { - --bs-gutter-x: 3rem + --bs-gutter-x: 3rem; } .page, .post { - margin-bottom:4em + margin-bottom:4rem; + padding: 0 1rem; +} +.post-footer { + margin: 1rem 0 4rem; } .page-title, .post-title, @@ -17,7 +21,7 @@ display:block; margin-top:-.5rem; margin-bottom:1rem; - color:#767676 + color:#767676; } .post a { word-break:break-word @@ -56,42 +60,6 @@ width: 600px; } -#fastSearch { - visibility: hidden; - position: absolute; - right: 0px; - top: 0px; - display: inline-block; - width: 300px; -} - -#fastSearch input { - padding: 4px 10px; - width: 100%; - height: 31px; - font-size: 1.6em; - color: #aaa; - font-weight: bold; - background-color: #000; - border-radius: 3px 3px 0px 0px; - border: none; - outline: none; - text-align: left; - display: inline-block; -} - -#searchResults li { - list-style: none; - margin-left: 0em; - background-color: #333; - border-bottom: 1px dotted #000; -} - #searchResults li .title { font-size: 1.1em; margin-bottom: 10px; display: inline-block;} - -#searchResults { visibility: inherit; display: inline-block; width: 320px; } -#searchResults a { text-decoration: none !important; padding: 10px; display: inline-block; } - #searchResults a:hover, a:focus { outline: 0; background-color: #666; color: #fff; } - @font-face { font-family: 'Lobster'; font-style: normal; diff --git a/assets/icons/calendar.svg b/assets/icons/calendar.svg new file mode 100644 index 0000000..17b731f --- /dev/null +++ b/assets/icons/calendar.svg @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/assets/icons/location.svg b/assets/icons/location.svg new file mode 100644 index 0000000..457267c --- /dev/null +++ b/assets/icons/location.svg @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/assets/icons/tag.svg b/assets/icons/tag.svg new file mode 100644 index 0000000..7611a43 --- /dev/null +++ b/assets/icons/tag.svg @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a984f1c..313ce06 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,9 @@ - + {{ partial "head.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1917788..3838be6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,6 +4,14 @@
2007—{{ now.Year }} Александр NeonXP Кирюхин. г.Казань
+
+ {{ with .GitInfo }} + + {{ end }} +