From b635f903d4a8cd27c2061d4574aa68bc88e9c8b1 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Fri, 6 Oct 2023 08:38:43 +0100 Subject: [PATCH] Styling improvement --- app/assets/stylesheets/main.css | 5 ++++- app/views/home_pages/index.html.erb | 10 ++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/main.css b/app/assets/stylesheets/main.css index 4067528..90fa5e5 100644 --- a/app/assets/stylesheets/main.css +++ b/app/assets/stylesheets/main.css @@ -94,11 +94,14 @@ a:link:has(h1), a:visited:has(h1) { text-decoration: none; } -aside { +section.content, aside { margin: 1em auto; padding: .5em; background-color: var(--inset-background-color); border: 1px solid var(--border-color); +} + +aside { float: left; } diff --git a/app/views/home_pages/index.html.erb b/app/views/home_pages/index.html.erb index 3d5d37b..af29657 100644 --- a/app/views/home_pages/index.html.erb +++ b/app/views/home_pages/index.html.erb @@ -1,9 +1,11 @@ -

Hello.

+
+

Hello.

-

Welcome to my site! I’m a software engineer specialising in Ruby and Rails, with a love for *nix systems, -NixOS and free software in general. I’m also a maker and dad, and here is where my thoughts get dumped.

+

Welcome to my site! I’m a software engineer specialising in Ruby and Rails, with a love for *nix systems, + NixOS and free software in general. I’m also a maker and dad, and here is where my thoughts get dumped.

-

The code for my personal projects <%= link_to "can be found here", "https://git.tsvallender.co.uk/web" %>

+

The code for my personal projects <%= link_to "can be found here", "https://git.tsvallender.co.uk/web" %>

+