From c6bfe1f197fc5a84504aeba528e91948755320bc Mon Sep 17 00:00:00 2001 From: Logan Date: Wed, 4 Sep 2024 22:13:10 -0500 Subject: [PATCH] changed layout --- dist/index.html | 41 ++++++-------------- dist/projects/fishbowl.html | 17 +-------- src/homepage.rs | 76 ++++++++++++++++--------------------- src/main.css | 17 +-------- 4 files changed, 48 insertions(+), 103 deletions(-) diff --git a/dist/index.html b/dist/index.html index bdad888..9ee9555 100644 --- a/dist/index.html +++ b/dist/index.html @@ -363,13 +363,12 @@ body { font-family: merriweather; background-image: url("/res/grey.png"); background-repeat: repeat; - height: 100%; - padding: 5px; + padding: 20px 10px 20px; line-height: 1.75em; } .container { - max-width: 1000px; + max-width: 40em; } .tile { @@ -420,14 +419,6 @@ code { text-align: center; } -.twocols { - display: inline-block; - columns: 2; - text-align: left; - -webkit-columns: 2; - -moz-columns: 2; -} - table { margin-left: auto; margin-right: auto; @@ -466,22 +457,14 @@ a:after { color: black; } -h1,h2 { - text-align: center; -} - -

logan's site


me

- I am a programming and philosophy - enthusiast. Once upon a time i was a - competitive debater on a few local and - state circuits. After over 10 years of - doing robotics I'm finally starting to - get the hang of it. Currently in the - process of discovering my love for - hypertext and the world wide web! -

migration

- I am currently in the process of migrating my git repositories - and portfolio to be entirely self hosted. Some features and - integrations are still a work in progress. Fishbowl will return soon! -
\ No newline at end of file +

logan's site


me

+ I am a programming and philosophy + enthusiast. Once upon a time i was a + competitive debater on a few local and + state circuits. After over 10 years of + doing robotics I'm finally starting to + get the hang of it. Currently in the + process of discovering my love for + hypertext and the world wide web! +

portfolio

\ No newline at end of file diff --git a/dist/projects/fishbowl.html b/dist/projects/fishbowl.html index ee03d45..7711e3b 100644 --- a/dist/projects/fishbowl.html +++ b/dist/projects/fishbowl.html @@ -363,13 +363,12 @@ body { font-family: merriweather; background-image: url("/res/grey.png"); background-repeat: repeat; - height: 100%; - padding: 5px; + padding: 20px 10px 20px; line-height: 1.75em; } .container { - max-width: 1000px; + max-width: 40em; } .tile { @@ -420,14 +419,6 @@ code { text-align: center; } -.twocols { - display: inline-block; - columns: 2; - text-align: left; - -webkit-columns: 2; - -moz-columns: 2; -} - table { margin-left: auto; margin-right: auto; @@ -466,10 +457,6 @@ a:after { color: black; } -h1,h2 { - text-align: center; -} -

fishbowl

Choose an image and click submit. The image will be sent and processed by diff --git a/src/homepage.rs b/src/homepage.rs index b55c502..fb2dd11 100644 --- a/src/homepage.rs +++ b/src/homepage.rs @@ -13,51 +13,39 @@ pub fn index() -> Markup { template(html! { h1 {"logan's site"} hr; - div .flex { - div .half { - h2 {"me"} - " - I am a programming and philosophy - enthusiast. Once upon a time i was a - competitive debater on a few local and - state circuits. After over 10 years of - doing robotics I'm finally starting to - get the hang of it. Currently in the - process of discovering my love for - hypertext and the world wide web! - " - h2 {"migration"} - " - I am currently in the process of migrating my git repositories - and portfolio to be entirely self hosted. Some features and - integrations are still a work in progress. Fishbowl will return soon! - " + h2 {"me"} + " + I am a programming and philosophy + enthusiast. Once upon a time i was a + competitive debater on a few local and + state circuits. After over 10 years of + doing robotics I'm finally starting to + get the hang of it. Currently in the + process of discovering my love for + hypertext and the world wide web! + " + h2 {"portfolio"} + ul { + li { + a href="https://git.lgatlin.dev/logan" { "my git server" } } - div .half { - h2 {"portfolio"} - ul { - li { - a href="https://git.lgatlin.dev/logan" { "my git server" } - } - li { - a href="https://git.lgatlin.dev/logan/http-server" { "http web server" } - } - li { - a href="https://git.lgatlin.dev/logan/html-templater" { "html templating language" } - } - li { - a href="https://git.lgatlin.dev/logan/fishbowl" { "kinematic image processing" } - } - li { - a href="https://git.lgatlin.dev/logan/forte" { "stack based assembly language" } - } - li { - a href="https://git.lgatlin.dev/logan/nrange" { "n dimensional cartesian product" } - } - li { - a href="https://git.lgatlin.dev/logan/stocks" { "stock trading algorithm" } - } - } + li { + a href="https://git.lgatlin.dev/logan/http-server" { "http web server" } + } + li { + a href="https://git.lgatlin.dev/logan/html-templater" { "html templating language" } + } + li { + a href="https://git.lgatlin.dev/logan/fishbowl" { "kinematic image processing" } + } + li { + a href="https://git.lgatlin.dev/logan/forte" { "stack based assembly language" } + } + li { + a href="https://git.lgatlin.dev/logan/nrange" { "n dimensional cartesian product" } + } + li { + a href="https://git.lgatlin.dev/logan/stocks" { "stock trading algorithm" } } } }) diff --git a/src/main.css b/src/main.css index 420a38c..405e6b5 100644 --- a/src/main.css +++ b/src/main.css @@ -12,13 +12,12 @@ body { font-family: merriweather; background-image: url("/res/grey.png"); background-repeat: repeat; - height: 100%; - padding: 5px; + padding: 20px 10px 20px; line-height: 1.75em; } .container { - max-width: 1000px; + max-width: 40em; } .tile { @@ -69,14 +68,6 @@ code { text-align: center; } -.twocols { - display: inline-block; - columns: 2; - text-align: left; - -webkit-columns: 2; - -moz-columns: 2; -} - table { margin-left: auto; margin-right: auto; @@ -115,8 +106,4 @@ a:after { color: black; } -h1,h2 { - text-align: center; -} -