diff --git a/assets/css/style.css b/assets/css/style.css index 1a55dd1..70c7020 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -13,6 +13,11 @@ src: url(../ttf/ubuntu-mono.ttf) format("truetype"); } +body { + margin: 0; + padding: 0; +} + * { font-family: "Ubuntu Regular"; } @@ -57,7 +62,7 @@ pre { #content :is(h1, h2, h3, h4, h5, h6) { display: inline; - border-bottom: 0.15rem solid #165578; + border-bottom: 0.15rem solid #9c0000; width: 100%; padding-bottom: 0.1rem; line-height: 1.75em; @@ -76,9 +81,10 @@ pre { .sidebar { flex-basis: auto; + padding: 0 0.5rem 0 0.5rem; } -@media only screen and (min-width: 768px) { +@media only screen and (orientation: landscape) { #organizer { flex-direction: row; } @@ -120,6 +126,9 @@ pre { .card-icon { max-width: 10rem; + max-height: 10rem; + width: auto; + height: auto; margin: 0 1rem 0 0; } @@ -135,12 +144,56 @@ pre { } +#navbar-organizer { + display: flex; +} + +#navbar-spacer { + width: 0%; +} + #navbar-toplevel { display: flex; flex-direction: row; - justify-content: space-around; + justify-content: space-between; + width: 100%; +} + +@media only screen and (orientation: landscape) { + #navbar-spacer { + padding: 0 0.5rem 0 0.5rem; + width: 10%; + } + + #navbar-toplevel { + width: 100%; + } } .navbar-item { - padding: 1rem 0rem 1rem 0rem; + padding: 1rem 0rem 0rem 0rem; + text-align: center; + width: 100%; +} + +.navbar-click { + width: 80%; + display: block; + text-decoration: none; + margin-left: auto; + margin-right: auto; +} + +.navbar-text { + padding: 0rem 0rem 1rem 0rem; + color: black; +} + +.navbar-underline { + height: 0.1rem; + background-color: #9c0000; +} + +#navbar-toplevel > a:nth-child(-n+1) { + margin-left: 1rem; } diff --git a/assets/icons/favicon-512x512.png b/assets/icons/favicon-512x512.png new file mode 100644 index 0000000..e1f7111 Binary files /dev/null and b/assets/icons/favicon-512x512.png differ diff --git a/home/contact.org b/home/contact.org new file mode 100644 index 0000000..5b1e083 --- /dev/null +++ b/home/contact.org @@ -0,0 +1,2 @@ +- Discord: =Magic_RB#6785= +- PGP: =0F49 1A57 B4DF 4313 6CD4 AB6B F07E 558C D1E6 999F= diff --git a/home/hydra.org b/home/hydra.org deleted file mode 100644 index e69de29..0000000 diff --git a/make.el b/make.el index 271e186..7b33b56 100644 --- a/make.el +++ b/make.el @@ -83,16 +83,16 @@ :publishing-function org-html-publish-to-templated-html) - ;; Hydra placeholder - ("hydra-placeholder" + ;; Contact + ("contact" :base-directory ,(expand-file-name "./home") :recursive nil :base-extension "org" :exclude "^.*$" - :include ("hydra.org") + :include ("contact.org") :with-toc nil :publishing-directory ,(expand-file-name "./public_html/") - :html-template ,(templated-html-load-template "./templates/hydra-placeholder.html") + :html-template ,(templated-html-load-template "./templates/empty.html") :publishing-function org-html-publish-to-templated-html) @@ -106,7 +106,7 @@ ;; top-level trigger ("publish" - :components ("blog" "assets" "homepage" "hydra-placeholder")))) + :components ("blog" "assets" "homepage" "contact")))) (org-publish "publish" t) diff --git a/templates/blog-index.html b/templates/blog-index.html index 3172d9a..8e327f9 100644 --- a/templates/blog-index.html +++ b/templates/blog-index.html @@ -2,10 +2,10 @@ {{:include "head.html"}} + {{:include "navbar.html"}}
- {{:include "navbar.html"}} {{contents}}
diff --git a/templates/blog.html b/templates/blog.html index 6431bf7..aefed1c 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -2,10 +2,10 @@ {{:include "head.html"}} + {{:include "navbar.html"}}
- {{:include "navbar.html"}} {{:if with-title}}

{{title}}

{{:endif}} {{:if date}}{{:endif}} {{contents}} diff --git a/templates/hydra-placeholder.html b/templates/empty.html similarity index 76% rename from templates/hydra-placeholder.html rename to templates/empty.html index f5e87a7..40d52b6 100644 --- a/templates/hydra-placeholder.html +++ b/templates/empty.html @@ -2,13 +2,11 @@ {{:include "head.html"}} + {{:include "navbar.html"}}
- {{:include "navbar.html"}} -
- Nothing here yet -
+ {{contents}}
diff --git a/templates/head.html b/templates/head.html index 60c0af8..a50544b 100644 --- a/templates/head.html +++ b/templates/head.html @@ -2,4 +2,6 @@ {{title}} + + diff --git a/templates/index.html b/templates/index.html index 1f219c1..d5c12f8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,10 +2,10 @@ {{:include "head.html"}} + {{:include "navbar.html"}}