From ebb1b01c3e63f6af973d3b98d732ce00c9e31fa5 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 27 Jun 2023 21:35:17 -0400 Subject: [PATCH] Add base header footer --- content/_index.md | 6 ++++ layouts/index.html | 17 +++++++++--- static/css/.styles.css.swp | Bin 0 -> 12288 bytes static/css/styles.css | 26 ++++++++++++++++++ .../clortox/layouts/_default/.baseof.html.swp | Bin 0 -> 12288 bytes .../clortox/layouts/partials/.header.html.swp | Bin 0 -> 12288 bytes themes/clortox/layouts/partials/head.html | 3 ++ themes/clortox/layouts/partials/header.html | 2 +- themes/clortox/static/css/clortox.css | 14 ++++++++++ 9 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 content/_index.md create mode 100644 static/css/.styles.css.swp create mode 100644 static/css/styles.css create mode 100644 themes/clortox/layouts/_default/.baseof.html.swp create mode 100644 themes/clortox/layouts/partials/.header.html.swp create mode 100644 themes/clortox/static/css/clortox.css diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..a556684 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,6 @@ +--- +title: "Home" +date: 2023-06-27 +--- + +Welcome to my site! diff --git a/layouts/index.html b/layouts/index.html index 3399ec0..0686c2a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,16 @@ {{ define "main" }} +
+
+ {{ .Content }} +
+
+ +
+ +
-

{{ .Title }}

-
- {{ .Content }} -
{{ end }} diff --git a/static/css/.styles.css.swp b/static/css/.styles.css.swp new file mode 100644 index 0000000000000000000000000000000000000000..d071f4bd1b63aec8451d81dfe034bbe8dcdbbf52 GIT binary patch literal 12288 zcmeI1J&)5c7{{MOVmv^wF&R*$t7y`s2yvHw0)&_lYz%JfCWbVQ9QRGf%W~TRU*L9T zBqo?aOneDG0~-rZo1X4C5LX5U(BJJ(P98sgZ2zJRRR__7+jqrI7!kJ%MBiQ>sO=|v zbdVAGd7<4ReoE8jWPVD@a`@S@U^lf&chkZ;Z)ag@N8Q>>Z_;jB*L=xq)*)Z6QxG{Y z00Zk882e$cy-7EE@$yx_cJ+$5bn*UrbCCrDFaQHE00S@p126ysFz{a(@YM!A=aZaS zo#yhY-#F2)ZqdO248Q;kzyJ)u01UtY48Q;kzyJ*Vg9fA`db3Fso#V~(|Nn=-|G%Cm z`oer>-ZSr**UUasGWVE-*=BAr*O^aT<0JEddCRwgM(J4!@U&HBsCT$?QSiHM`9^#`fV z$0o}3apvr}REa1|sig}tCza8q-*VYNZpCqD@$Gfuwuo9C@nbLwcSJ90wO8?| zv;2fH2Nnl!Q|N6K45iXXOUlAzWx%@{)rm-XA?=!DJ{s5F4ClWaN-d|Cto8W3rrqR%D~Q^c|16%a#BD literal 0 HcmV?d00001 diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..e9f802a --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,26 @@ +.centered { + width: 100vw; + max-width: 100%; + height: 100vh; + + display: grid; + align-content: center; + justify-content: center; + justify-items: center; + align-items: center; +} + +.top-fade { + background: linear-gradient(rgba(11,11,12,1) 0%, rgba(11,11,12,0.9 20%), rgba(0,0,0,0.1), 100%) +} + +.dashed-bottom { + border-bottom: 5px dashed white; +} + +body { + overflow-x: hidden; + margin: 0; + height: 100%; + padding-bottom: 0px; +} diff --git a/themes/clortox/layouts/_default/.baseof.html.swp b/themes/clortox/layouts/_default/.baseof.html.swp new file mode 100644 index 0000000000000000000000000000000000000000..9cb35db8aa5e21ca37515490dc0741e19363812c GIT binary patch literal 12288 zcmeI&Jxjwt7zgmHpo_GMZcb;Mo2$AgLVW>jM_Y7#mBx3Zy#9yiZPQ!s%7s_ zXe#a|6H2njciDs@&{ByY(k-KJ+(0*ksjG%+k8X*`Pjtt$#idj=zY`fz_1j9<+`4H* zKUoGf5P-nAK*!X|8%4Ihwwk@_E6y@sTsRxALJk24KmY;|fB*y_009X6V*%4FuzNb+ z)bNb6!@e-q4^wmyfB*y_009U<00Izz00bZa0SNp-0berqQetdojy6yK|BrtEzf=B3 z@k;Sb@kEhOoKWmgEK!sw?6_$PGzdTd0uX=z1Rwwb2tWV=5P-n%7x0ArxO|&&YM!WS znGCLN-s_cl({Gv3kGNCQ+Nf6cDZ0a5UQSbHYi#p`47>SZ)kp`|+-dk>Y^&4M&ZS~W zS1cQ2htVh=$}K0*u~D&c@>6`STvxvQW@Ybdv$>7h^4vDP!3n+Py`$aJi{pJh$Ugvm CN_Ip5 literal 0 HcmV?d00001 diff --git a/themes/clortox/layouts/partials/.header.html.swp b/themes/clortox/layouts/partials/.header.html.swp new file mode 100644 index 0000000000000000000000000000000000000000..cec9d51ae211e0f8247e02494e88d518b00c5488 GIT binary patch literal 12288 zcmeI&K}*9h6bJA(@hXabff!F-mZ>M9D|l1Ti#YFT8|^S%MjD5uonFM7pI{%v&*L{S zt=(l5rbp%fAcVa4+L9miP?~6PdvV21`vdZ^Lv;AQNRsN67WYK1(8|{NHK8W6Vogg^ zer|3kVv{HlYh#^x>c=J%E>)SzmnorTVIEyBrqa5x)VWBNOqA`XF4I4G40<2{flh%f zIypXSUiAaM&-Qjlon1&m00Izz00bZa0SG_<0{>IMO?&j>x3DM2AytTEmt|K4-0SG_<0uX=z z1Rwwb2tWV=5cst~(4K4$iTMa5ORc&a^0H)H$jG087o1hhDm}WsWb-)>&+23#WY+~N ft>-3FO=s|ZdY;8v=J}9M + + diff --git a/themes/clortox/layouts/partials/header.html b/themes/clortox/layouts/partials/header.html index b3f7c45..17c5a08 100644 --- a/themes/clortox/layouts/partials/header.html +++ b/themes/clortox/layouts/partials/header.html @@ -1,4 +1,4 @@ -
+ diff --git a/themes/clortox/static/css/clortox.css b/themes/clortox/static/css/clortox.css new file mode 100644 index 0000000..71f2b55 --- /dev/null +++ b/themes/clortox/static/css/clortox.css @@ -0,0 +1,14 @@ +.navbar { + margin: 0; + background: rgb(11,11,12); + height: 3em; + border-color: white; + border-bottom: 5px; + overflow: hidden; +} + +.sticky { + position: fixed; + top: 0; + width: 100%; +}