Styling improvement

This commit is contained in:
Trevor Vallender 2023-10-06 08:38:43 +01:00
parent e3a01ae633
commit b635f903d4
2 changed files with 10 additions and 5 deletions

View File

@ -94,11 +94,14 @@ a:link:has(h1), a:visited:has(h1) {
text-decoration: none; text-decoration: none;
} }
aside { section.content, aside {
margin: 1em auto; margin: 1em auto;
padding: .5em; padding: .5em;
background-color: var(--inset-background-color); background-color: var(--inset-background-color);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
}
aside {
float: left; float: left;
} }

View File

@ -1,9 +1,11 @@
<h2>Hello.</h2> <section class="content">
<h2>Hello.</h2>
<p>Welcome to my site! Im a software engineer specialising in Ruby and Rails, with a love for *nix systems, <p>Welcome to my site! Im a software engineer specialising in Ruby and Rails, with a love for *nix systems,
NixOS and free software in general. Im also a maker and dad, and here is where my thoughts get dumped.</p> NixOS and free software in general. Im also a maker and dad, and here is where my thoughts get dumped.</p>
<p>The code for my personal projects <%= link_to "can be found here", "https://git.tsvallender.co.uk/web" %></p> <p>The code for my personal projects <%= link_to "can be found here", "https://git.tsvallender.co.uk/web" %></p>
</section>
<aside> <aside>
<h3>Find me:</h3> <h3>Find me:</h3>