Merge branch 'release/0.9.0'

master^2
Nathan Steel 3 years ago
commit 5f0bfd6aa1

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Error 404</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>You broke the internet</h2>
<p>This page probably doesn't exist, but if it's supposed to a developer will be looking into why it's borked.</p>

@ -24,6 +24,15 @@ semantic, accessable, and snappy.
## Release Notes
### v0.9.0
- Accessibility changes
- Change colours
- Increase font size/whitespace
- Add "skip to content" button
- Redesign burger navigation
[Patch notes](https://aney.co.uk/blog/release-0.9.0)
### v0.8.0
- Add about page

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>About me</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>Who are you</h2>
<p>I'm Aney, a developer, and self-hoster that enjoys art/design, automation, Unix, and those pesky Japanese cartoons. Yes, that's a straight up rip from the homepage, why re-invent the wheel right?</p>
@ -37,7 +38,7 @@
<p>I set this website up as a means to share information to educate, and help people, as well as to easily point people to my answers for common questions.</p>
<h2>What do you do?</h2>
<p>I'm currently employed as a web developer, and I enjoy it to an extent. I love solving problems, optimising sites, and creating designs/experiences, but building the guts, not so much.</p>
<p>I'm currently taking some time away from work, but looking for places I believe I'd be a good fit. I love solving problems, optimising sites, and creating designs/experiences, so I'm kind of a developer at heart.</p>
<p>Outside of work I practise minimalism, frugalism (to an extent), and work towards Financial Independance (FI/RE). I also love the idea of OneBagging, self-sufficiency, and travelling, so these are things I'm trying to work towards.</p>
<h2>What else do you do?</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Blog Thoughts</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">I've been having some thoughts about potential changes to the blog, including layouts, moving existing content, and such.</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Hello, Burger menu!</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">On Friday 18th of November 2022, I released version 0.8.0 of this website. With that a large, and very noticable change occured. The addition of a burger menu.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Blog</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,12 +31,17 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>You may be looking for my <a href="/guides/">guides</a>, or <a href="/recipes/">recipes</a>.</p>
</section>
<section>
<h2>2022</h2>
<ul>
<li><a href="/blog/release-0.9.0.html">Release 0.9.0</a> - 21/02/2023</li>
</ul>
<h2>2022</h2>
<ul>
<li><a href="/blog/burger-menu.html">Hello, Burger menu!</a> - 21/11/2022</li>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>I've started a blog</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>To preface, I am not an author. In fact my skill with the pen was much more proficient when I was a youngling, but alas I have returned to write.</p>
<h2>Why?</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>My SteamDeck Arrived!</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">The title does not decieve you, my SteamDeck has in fact arrived! Well actually it arrived on the 15th of August, and I've been using it since.</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Reducing my Homelab</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>Homelabbing, and with it self-hosting, has been a great exploration into server maintance, dabbling with new technologies, and has overall (sometimes it's been a hassle, but it comes with the territory) been an enjoyable little hobby.</p>
<p>As the title implies, however, I have reduced the amount of services, and horsepower in my homelab, at least for the time being, starting from 24/09/2022.</p>

@ -0,0 +1,128 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Nathan (Aney) Steel">
<meta name="theme-color" content="white">
<meta name="theme-color" content="green">
<link rel="stylesheet" type="text/css" href="/main.css">
<link rel="icon" type="image/png" href="/images/favicon.svg">
<title>Release 0.9.0</title>
</head>
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Release 0.9.0</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
<a href="/about.html">about</a>
<a href="/projects.html">projects</a>
<a href="/blog/">blog</a>
<a href="/sitemap.html">misc</a>
<a href="/support.html">support</a>
</nav>
<hr/>
</header>
<main id="main">
<h2>Accessibility and Design</h2>
<p>Release 0.9.0 was a non-functionality release, as I focussed my lil' brain on Accessibility, the User Experience (UX), and the design of the website. Also this is my first publicised "patch note" so go easy, ok.</p>
<h2>Accessiblity</h2>
<ul>
<li>Fix burger menu's accessiblity issues
<ul>
<li>Add label content, but make hidden for non screen-readers.</li>
<li>Make top of burger clickable. The burger wasn't fitting to its elements container, as a negative margin was used.</li>
</ul></li>
<li>Add "Skip nav" functionality
<ul>
<li>Added a hidden button for keyboard tab-targetting that skips over the navigation, straight to the content.</li>
</ul></li>
</ul>
<h2>User Experience</h2>
<ul>
<li>Styled <code>&lt;code&gt;</code> tags
<ul>
<li>So they can be used in-line to aid with any development guides.</li>
</ul>
</li>
<li>
Make mobile nav/burger fixed
<ul>
<li>This allows the navigation to be opened/closed and visible from anywhere on the page, not just the top.</li>
</ul>
</li></ul>
<h2>Design/User Interface</h2>
<ul>
<li>Font<ul>
<li>Increase the font-size.</li>
<li>Increase the whitespace used around the site.</li>
</ul></li>
<li>Colours<ul>
<li>Altered colours to improve the visual hierarchy of the elements.</li>
</ul></li>
<li>Remove hr above navigation<ul>
<li>Due to the nav now being atop the page, this wasn't needed to seperate the content.</li>
</ul></li>
<li>Restyle mobile nav<ul>
<li>Instead of having the nav just pop-up atop the page, it now displays as a sidebar.</li>
</ul></li>
<li>Add background and border to burger<ul>
<li>As it's not fixed it needed to be visually differentiated from content.</li>
</ul></li>
<li>Scrollable table<ul>
<li>Super basic overflow-x on a parent of table so tables fit on screen, but all content can still be accessed.</li>
</ul></li>
<li>Add <code>&amp;nbsp;</code> to tags<ul>
<li>Multiple word tags were breaking, and looked pretty bad, so made them non-breakable.</li>
</ul></li>
</ul>
<h2>Dev</h2>
<ul>
<li>Colour simplification<ul>
<li>I changed the colours to all be 3 digit HEX values, saving a few bytes for the CSS.</li>
</ul></li>
<li>Add test.html page<ul>
<li>For <a href="/test.html">testing elements</a> without navigating through the site, it's public too because why not.</li>
<li>Side note: This got me thinking about writing a lil' CSS framework.</li>
</ul></li>
</ul>
<h2>Known Issues</h2>
<ul>
<li>When the burger menu is active, the page is still scrollable<ul>
<li>Easily fixed with JS (and a basic overflow), however I want to stay away from JS as much as possible. I believe the approach I took is the best-case scenario, as users at least know if they're scrolling with the sidebar styled nav.</li>
</ul></li>
<li>Burger nav animation<ul>
<li>Changes to clickable area of burger icon meant the animation needed tweaking, and it looks worse. It's not really important though.</li>
</ul></li>
<li>h1 in nav<ul>
<li>I was contemplating moving this into the main, but have yet to do so. Not sure if this is technically an issue, but will need to look into it.</li>
</ul></li>
<li>Scrollable table<ul>
<li>I'd like a better solution than this, preferably one that doesn't require an additional element.</li>
</ul></li>
</ul>
<h2>Final words</h2>
<p>This release should offer better accesibility, and a nicer look and feel all around.</p>
<p>All changes were made as semantic as possible, and the site has been kept accessible, and usable for those not running CSS/JS at all (for instance terminal browsers, and neo-luddites with everything disabled).</p>
</main>
<footer>
<hr/>
<p>Written by <a href="https://aney.co.uk" target="_blank" rel="noopener">@aney</a> with <a href="https://danluu.com/web-bloat/" target="_blank" rel="noopener">web bloat</a> in mind | <a href="https://github.com/Aney/website" target="_blank" rel="noopener">Source Code</a></p>
</footer>
</body>
</html>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's CV</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section id="about">
<h2>About Me</h2>
<p>I'm a helpful and well-mannered person that can work both alone, and as part of a team. I have a willingness to learn, and a proficiency with post-optimisation, and problem-solving. A goal of mine is to always help people to the best of my ability, and to improve myself wherever possible.</p>
@ -41,7 +42,7 @@
<h3><a href="https://www.tjs.co.uk/" target="_blank" rel="noopener">TJS</a></h3>
<p>April 2021 - January 2023</p>
<p>Position: Developer</p>
<p>My time at TJS online is spent developing, and maintaining both the front, and back-end of the dozens of client websites, primarily using a Symfony based stack.</p>
<p>My time at TJS online was spent developing, and maintaining both the front, and back-end of the dozens of client websites, primarily using a Symfony based stack. This also entailed working with the databases, and ensuring service, and cronjob uptimes.</p>
<p>Skills: <span class="tag">PHP</span> <span class="tag">Symfony</span> <span class="tag">SCSS</span> <span class="tag">Git</span> <span class="tag">Linux</span> <span class="tag">NGINX</span> <span class="tag">SEO</span></p>
</section>
<section>
@ -49,7 +50,7 @@
<p>Time: October 2018 - March 2021</p>
<p>Position: System Developer and Technician</p>
<p>I worked as part of the DevOps team at the car financing company, Advantage Finance. Whilst there I worked full-stack on the numerous bespoke systems; adding features, working on bug fixes, and rewriting legacy code for both desktop and web applications. I also assumed the position of IT support, aiding with general AD and PC issues, along with assisting in the training of new starters.</p>
<p>Skills: <span class="tag">VB6</span> <span class="tag">VB.net</span> <span class="tag">ASP Classic</span> <span class="tag">SVN</span> <span class="tag">SQL</span> <span class="tag">Active Directory</span></p>
<p>Skills: <span class="tag">VB6</span> <span class="tag">VB.net</span> <span class="tag">ASP&nbsp;Classic</span> <span class="tag">SVN</span> <span class="tag">SQL</span> <span class="tag">Active&nbsp;Directory</span></p>
</section>
<section>
<h3><a href="https://www.oxfam.org.uk/" target="_blank" rel="noopener">Oxfam</a></h3>
@ -122,7 +123,8 @@
<section id="contact">
<h2>Contact</h2>
<p>If you like what you see, feel free to contact me via one of the methods below:</p>
<p><a href="mailto:the.nathan.steel@outlook.com">the.nathan.steel@outlook.com</a></p>
<p>Email: <a href="mailto:the.nathan.steel@outlook.com">the.nathan.steel@outlook.com</a></p>
<p>LinkedIn: <a href="https://www.linkedin.com/in/nathan-steel-a72247267/" target="_blank" rel="noopener">Nathan Steel</a></p>
</section>
</main>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Hardware</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>My everyday tech</h2>
<p>This is what I use basically every day. It's either at my desk, in my bag, or within arms reach.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Link your domain name to your server</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">To avoid needing to remember an IP, this guide will help to link your domain name to your server.</p>
<h2>Login to your domain name registrar</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Adding PHP to NGINX server</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">PHP is one of the highest used programming languages for websites, and it allows you to add practically any functionality you'd ever want to your sites.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Adminer Setup</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>Adminer is a simple front-end for your database server that can be access through the browser</p>
<h2>Pre-Requirements</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Backup MySQL/MariaDB</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>A database if a huge part of many projects, services, and servers. If something goes wrong, data is wrongly updated/deleted there could be many problems. Thankfully we can make backups to make sure our data is safe.</p>
<h2>Manual Backup of a DB</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Automating Backups with Cronjobs</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Backups are wonderful things that save hours upon hours of work, and stress, so long as they're actually made in the first place!</p>
<p>Automatically taking backups allows for peace of mind that your work won't be lost forever whilst you go about your normal workflow..</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Backup with rdiff-backup</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Like rsync, rdiff-backup is a tool used for incremental backups. Unlike rsync however, rdiff keeps the most-recent file change, along with any previous changes, deletions, etc.</p>
<h2>Install</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Backup with rsync</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Rsync is a program that allows for incremental backups. This means that rsync will not create an additional copy of the data when backing up, it will only backup changes to the files/directories, saving bandwidth and storage space.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Setup SSL with Certbot</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>An SSL certificate is used to secure a domain, preventing people from seeing many things, including those entered into forms (username, password, etc.).</p>
<h2>Install Certbot</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Get a domain name</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>A domain name, as many will know is what people typing into their browser, e.g. google.com, facebook.com, etc.</p>
<p>The primary use for these is to have a memorable thing for users, instead of needing to type the IP address of the server</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney' guide to server hosting</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">If you want to start getting into server hosting, system administration, or just want to get a basic minecraft/web server up for you and your friends, then welcome. We all start somewhere, and I would love if I could get your foot in the door.</p>
<h2>Notice</h2>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Guides</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>Pinned</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Initial Server Setup</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>This section assumes you have a fresh Debian 11 install on a server (either physical or VPS)</p>
<p>It will cover installing the essentials for access, and basic security so you don't need to worry in the future. This section may seem a little daunting for a first-time linux user, but most of it is copy/paste, hopefully with enough description to understand what is being done. Just remember not to copy the $/root$ they're there to show what user/directory we're in. </p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Template for Blog</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">This is an intro, you gotta believe me</p>
<h2>Heading</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>MySQL (actually MariaDB) Setup Guide</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>MySQL is a well known free, open-source relational database service, and it's great. MariaDB is just MySQL (a fork of it), but better.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>How to install an NGINX web server</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>NGINX (engine X) is one of the top webservers. It has relatively easy learning curve, is fast, and <a href="">secure</a>. It's a great step into web hosting, and a good first service for many servers.</p>
<h2>Install</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Template for Blog</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">This is an intro, you gotta believe me</p>
<h2>Install</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>NGINX web optimisation</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>Optimisations for the nginx configs will increase both the security, and performance of your website
<h2>TODO: Headers</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Template for Blog</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">This is an intro, you gotta believe me</p>
<h2>Heading</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Debian Install Guide for Servers</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Debian is a fantastic linux distrubution that works, and rarely causes issues. Due to this, it is a common canditate for a server OS, and is what this guide will walkthrough how to install on a PC.</p>
<h2>Assumptions</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>How to set a static IP</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">For those that don't know a static IP is an IP address that doesn't change on reboots, etc. The opposite of a dynamic IP, which can change on reboots, and is the default mode for computers to get an IP (via DHCP).</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Git server setup</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Self-hosted version control is great way to not be dependant of a third party to keep your git server up, or your code secure.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Setup a bridge network for KVM</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">A bridge network is a means to connect/bridge different networks together to act like a single network. In this case, it allows any connections to the bridge network to get their own internal IPs, as if plugged into the network directly, and work as you'd expect a completely new physical PC to work. i.e. Accessble to other clients outside of the host.</p>
<h2>Install bridge-utils</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>How to setup an NGINX website</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>Nginx has the ability to host multiple websites, all at different domains/sub-domains. This guide will show you how to point a domain at the server, and display a different website than the default NGINX page.</p>
<h2>Make the domain point to the server</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Setup KVM/QEMU virtualisation</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">This is an intro, you gotta believe me</p>
<h2>Heading</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>SQL Cheatsheet</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>SQL is a great, simple to use language to manipulate data within a database. This cheatsheet is aimed at basic SQL for MySQL/MariaDB.</p>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Virsh Cheatsheet</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Virsh is an extremely powerful tool for managing KVM/QEMU virtual machines. From restarting, to changing hardware, snapshotting, and cloning machines. I'll cover the basics of Virsh here, as it's all I personally use.</p>
<h2>List VMs</h2>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>VM/Server Seperation of Concerns</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p class="intro">Seperation of Concerns is a principle used in Computer Science that helps seperate functionality, making things easier to work with, and avoiding issues that could occur with too much going on in one place</p>
<h2>Why seperate concerns for a server?</h2>
@ -39,6 +40,7 @@
<h2>How to seperate concerns</h2>
<p>Some people will seperate each service into their own VM, however I don't believe this to be efficient (in all cases).</p>
<p>What I recommend is to take your server needs, and break them down into logical blocks, adding each of these blocks to their own VMs. This will keep certain things contained alone, as you want them seperated as much as possible (NAS, etc).</p>
<div class="tblcon">
<table>
<thead><tr><th colspan="2">Concern/VM</th><th colspan="5">Services</th></tr></thead>
<tbody>
@ -73,6 +75,7 @@
</tr>
</tbody>
</table>
</div>
<h2>Why not use a dedicated server for each concern?</h2>
<p>You can! No-one's going to stop you, but unless each concern <em>requires</em> (i.e. needs the dedicated hardware/isolation) its own dedicated server, it's hugely redundant. Again NAS as an example, would be good for a dedicated machine, as it'll be safer if there's no additional chance it goes down due to failure of an unrelated service.</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Web Development 101</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>Interested in web development, but don't know where to begin? Don't worry, I've got you covered.</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Webpage to website</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>With a <a href="/guides/your-first-webpage.html">basic webpage</a> now created, the next hurdle is to add multiple pages, and get them all linked together into a website of some sort.</p>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Your first webpage</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>In my opinion learning is done by doing, so where better to start than making your own basic webpage. This assumes you already have a text editor; you can use Notepad, Vim, etc. but if you're learning coding, I recommend <a href="https://code.visualstudio.com/" target="_blank" rel="noopender">Visual Studio Code</a></p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Network</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>I'm Aney</h2>
<p>Somehow you've landed on my website, welcome!</p>

@ -1,26 +1,31 @@
html,body{height:100%}
html{font-size:14px}
html{font-size:15px}
header{position:relative}
header hr{display:none}
body{
max-width:54rem;
margin:.2rem;padding:0 .62rem;
font:1.2rem/1.62 sans-serif;
max-width:768px;
margin:auto;padding:0 1.24rem;
font:1.2rem/1.62 sans-serif;color:#444;
display:-webkit-flex;display:-ms-flexbox;display:flex;
flex-direction:column}
main{flex:1 0 auto}
nav{
box-sizing:border-box;
z-index:9}
nav>a{
padding:.2rem 0;
display:block;
border-top:1px dotted #000}
border-top:1px dotted #101}
nav>a:first-child{border:none}
h1,h2,h3,h4,h5,h6{line-height:1}
header h1{margin:1.4rem 52px 1.2rem auto}
h1{color:#000}h2{color:#111}h3{color:#222}
h4,h5,h6{color:#333}
a{text-decoration:none}
a:link,a:visited{color:#087CA7}
a:hover,a:visited:hover{color:#09B2DC}
a:link,a:visited{color:#07C}
a:hover,a:visited:hover{color:#1AE}
ul{padding-left:0;margin-left:0;list-style:inside}
ul li{margin:.35rem}
@ -28,40 +33,70 @@ li>ul{margin-left:1em}
.tag{
font-size:.8rem;vertical-align:middle;
padding:.2rem;border-radius:.33rem;
background:#191919;color:#FFF}
padding:.2rem .5rem;border-radius:.33rem;
border:1px solid #CCC}
pre{
background:#191919;color:#FFF;
background:#EEE;padding:1rem;
white-space:pre-wrap;overflow-x:auto;
padding:12px;border:1px solid #FFF}
border:1px solid #DDD;border-radius:6px}
code{
background:#EEE;padding:.2rem;
border:1px solid #DDD;border-radius:6px}
pre code{border:none}
blockquote{
margin:0 .2rem;
border-left:2px solid;
padding:.4rem;padding-left:.8rem}
.page-nav{
float:right;
padding:14px;border:1px solid;
margin:1.4rem;margin-right:auto}
.sr{
position:absolute;overflow:hidden;
left:-9999px;top:auto;
width:1px;height:1px;
}
.vh{
position:absolute;
clip:rect(1px,1px,1px,1px);
height:1px;width:1px;
padding:2px 8px;overflow:hidden;
white-space:nowrap;
background:#FFF;z-index:10}
.vh:focus{
clip:auto;overflow:auto;
height:auto;width:auto}
.tblcon{overflow-x:auto}
footer p{margin:0}
table{text-align:left;width:100%;border-collapse:collapse}
td,th{border:1px solid #222;padding:9px 6px}
th{padding:12px;color:#FFF}
thead th{background:#191919}
tbody th{background:#292929}
tr:nth-child(even){background:#FEFEFE}
tr:hover{background:#DEDEDE}
table{text-align:left;width:100%;
border-collapse:collapse;
overflow-wrap:normal;
margin:24px 0}
td,th{border:1px solid #CCC;padding:9px 6px}
th{padding:12px}
thead tr{background:#FFF}
tbody tr:nth-child(odd){background:#EEE}
tbody tr:hover{background:#DDD}
.burger-container{
position:absolute;height:24px;width:30px;
cursor:pointer;top:34px;right:10px}
position:absolute;height:34px;width:36px;
cursor:pointer;top:25px;right:1.24rem;
position:fixed;background:#FFF;
border:2px solid #EEE;border-radius:6px;
z-index:9}
#burger-toggle,#burger-toggle~nav{display:none}
.burger{left:3px;top:7px}
.burger,.burger::after,.burger::before{
position:absolute;background:#000;
height:4px;width:30px;border-radius:2px;content:"";
transition:transform 300ms cubic-bezier(.4,1,.5,1)}
.burger::before{margin-top:-8px}
.burger::after{margin-top:8px}
.burger::before{margin-top:8px}
.burger::after{margin-top:16px}
#burger-toggle:checked~nav{display:block}
#burger-toggle:checked+.burger-container .burger::before{margin-top:0;transform:rotate(45deg)}
#burger-toggle:checked+.burger-container .burger::after{margin-top:0;transform:rotate(-45deg)}
#burger-toggle:checked+.burger-container .burger{background:rgba(255,255,255,0)}
#burger-toggle:checked+.burger-container .burger::before{margin-top:8px;transform:rotate(45deg)}
#burger-toggle:checked+.burger-container .burger::after{margin-top:8px;transform:rotate(-45deg)}
#burger-toggle:checked+.burger-container .burger{background:rgba(0,0,0,0)}
@media print{body{max-width:none}}
@media(min-width:720px){
@ -72,17 +107,90 @@ transition:transform 300ms cubic-bezier(.4,1,.5,1)}
.burger-container{display:none}
#burger-toggle~nav,header hr{display:block}
}
@media(min-width:320px) and (max-width:719px){
nav{height:100%;
width:50%;min-width:250px;
position:fixed;
top:0;right:1.24rem;
padding:85px 1.24rem 1.24rem;
background:#FFF;border-left:1px solid #EEE;
z-index:8}
}
@media(max-width:320px){
#burger-toggle~nav{display:block}
.burger-container{display:none}
header h1{margin-right:auto}
body{overflow-wrap:anywhere}
img{width:100%;height:auto}
}
@media(prefers-color-scheme:dark){
body{color:#FFF;background:#191919}
body{color:#CCC;background:#101}
a:link,a:visited{color:#9CF}
a:hover,a:visited:hover{color:#DA4167}
nav>a{border-color:#FFF}
.tag{background:#FFF;color:#000}
.burger,.burger::after,.burger::before{background:#FFF}
a:hover,a:visited:hover{color:#C34}
nav{background:#101;border-color:#555}
nav>a{border-color:#555}
.burger-container{border:2px solid #555;background:#555;}
.burger,.burger::after,.burger::before{background:#EEE}
h1{color:#FFF}h2{color:#EEE}
h3,h4,h5,h6{color:#DDD}
td,th{border-color:#444}
thead tr{background:#101}
tbody tr:nth-child(odd){background:#222}
tbody tr:hover{background:#333}
pre{background:#333;color:#EEE;border-color:#555}
code{background:#333}
.tag{border-color:#555}
}
/* Form stuff */
/* If I do a CSS framework, it'll need to have a reset too... */
/* e.g. https://github.com/necolas/normalize.css/blob/master/normalize.css
https://byby.dev/normalize-css#:~:text=css%23css%2Dresets-,Normalize.,experience%20for%20each%20web%20browser.
https://www.joshwcomeau.com/css/custom-css-reset/
*/
form{
border:1px solid;
padding: 1rem;
}
input,select,textarea{
font:1.2rem/1.62 sans-serif;color:#444;
border:1px solid #CCC;
}
textarea{
resize: vertical;
}
input,select,textarea{
background: #EEE;
border: 2px solid #444;
box-sizing: border-box;
color: #444;
display: block;
line-height: 1;
vertical-align: top;
transition-duration:.2s;
}
input,textarea{
width:100%;
}
input[type="checkbox"]{
display:inline-block;
}
input:focus,select:focus,textarea:focus {
border-color: #9CF;
}
@media(min-width:720px){
input,select,textarea{
display:inline-block;
max-width:50%; /* so half it can be, with margins factored in... */
max-width:346.8px;
}
input,textarea{
width:auto;
}
}
@media(prefers-color-scheme:dark){
input,select,textarea{
background:#CCC;border-color:#CCC;
}
}

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Projects</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,10 +30,9 @@
<hr/>
</header>
<main>
<main id="main">
<section id="projects">
<h2>Current Projects</h2>
<p>Here to hold me accountable, as I cannot finish my own projects</p>
<section id="website">
<h3><a href="https://aney.co.uk" target="_blank" rel="noopener">Personal Website</a></h3>
@ -45,7 +45,7 @@
<h3><a href="https://anetwork.uk" target="_blank" rel="noopener">aNetwork</a></h3>
<p>A gaming community, and public server host.</p>
<p>This consists of a website, server hosting, and community/server administration.</p>
<p>Skills: <span class="tag">HTML</span> <span class="tag">CSS</span> <span class="tag">JS</span> <span class="tag">Linux</span> <span class="tag">System Administration</span></p>
<p>Skills: <span class="tag">HTML</span> <span class="tag">CSS</span> <span class="tag">JS</span> <span class="tag">Linux</span> <span class="tag">System&nbsp;Administration</span></p>
</section>
</section>
</main>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Recipes</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>A collection of recipes I use, mostly budget oriented, but always tastee.</p>
</section>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Woky Beef Stew</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<aside class="page-nav">
<ul>
<li><a href="#requirements">Requirements</a></li>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Sitemap</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<ul>
<li><a href="/">home</a></li>

@ -14,9 +14,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Support Me</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -29,7 +30,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<p>If you'd like to support me, the site, or any projects I'm working on, thank you.</p>
</section>

@ -0,0 +1,360 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A page with all HTML elements used on Aney's website. Attempted to get all elements, even those not used so it's easier to test.">
<meta name="author" content="Nathan (Aney) Steel">
<meta name="theme-color" content="white">
<meta name="theme-color" content="black">
<link rel="stylesheet" type="text/css" href="/main.css">
<link rel="icon" type="image/png" href="/images/favicon.svg">
<title>HTML element test page</title>
</head>
<body id="top">
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>HTML element test page (h1)</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><div class="sr">Burger menu</div></label>
<hr/>
<nav>
<a href="/">home</a>
<a href="/about.html">about</a>
<a href="/projects.html">projects</a>
<a href="/blog/">blog</a>
<a href="/sitemap.html">misc</a>
<a href="/support.html">support</a>
</nav>
<hr/>
</header>
<main id="main">
<section>
<h1>HTML element test page (h1)</h1>
<p>Welcome, you've found my testing page. A page with all HTML elements I could drop in (even if not used on site), that is used for testing my CSS to ensure it's works everywhere I can get it to.</p>
<h2>heading 2 (h2)</h2>
<h3>heading 3 (h3)</h3>
<h4>heading 4 (h4)</h4>
<h5>heading 5 (h5)</h5>
<h6>heading 6 (h6)</h6>
<h2>Paragraphs</h2>
<p>A simple little paragraph.</p>
<p>Followed by another with a link <a href="/">home</a></p>
<h2>Lists</h2>
<h3>ul</h3>
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ul>
<h3>ol</h3>
<ol>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ol>
<h3>dl</h3>
<dl>
<dt>Term</dt>
<dd>Description 1</dd>
<dd>Descripton 2</dd>
</dl>
<h3>menu</h3>
<menu>
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ul>
</menu>
<h2>Code</h2>
<pre><code>&lt;p&gt;Example of code inside a pre.&lt;p&gt;</code></pre>
<code>Code alone.</code>
<p>And heres some <code>code inside a tag</code>, namely a paragraph.</p>
<h2>Tables</h2>
<p>Each of these are wrapped by an element with <code>.tblcon</code> class.</p>
<div class="tblcon">
<table>
<thead><tr><th scope="col">Concern/VM</th><th scope="col">Services1</th></tr></thead>
<tbody>
<tr>
<th scope="row">Production Web Server</th>
<td>Nginx</td>
</tr>
<tr>
<th scope="row">Production Web Server</th>
<td>Nginx</td>
</tr>
</tbody>
</table>
</div>
<div class="tblcon">
<table>
<thead><tr><th scope="col">Concern/VM</th><th colspan="5" scope="colgroup">Services2</th></tr></thead>
<tbody>
<tr>
<td>Production Web Server</td>
<td>Nginx</td>
<td>Nginx</td>
<td colspan="3">Nginx</td>
</tr>
<tr>
<td>Production Web Server</td>
<td>Nginx</td>
<td colspan="4">Nginx</td>
</tr>
<tr>
<td>Production Web Server</td>
<td>Nginx</td>
<td>Nginx</td>
<td>Nginx</td>
<td>Nginx</td>
<td>Nginx</td>
</tr>
</tbody>
</table>
</div>
<div class="tblcon">
<table>
<tr><th scope="col">Concern/VM</th><th scope="col">Services3</th></tr>
<tr>
<td>Production Web Server</td>
<td>Nginx</td>
</tr>
<tr>
<td>Production Web Server</td>
<td>Nginx</td>
</tr>
</table>
</div>
<p>Table with all elements</p>
<div class="tblcon">
<table>
<caption>Here's a captioned table</caption>
<colgroup><col><col span="2"></colgroup>
<thead><tr><th scope="col">Name</th><th scope="col">Earned</th><th scope="col">Profit</th></tr></thead>
<tbody>
<tr>
<td>Mr. Epic</td>
<td>£15000</td>
<td>£1000</td>
</tr>
<tr>
<td>Sludge</td>
<td>£35000</td>
<td>£19000</td>
</tr>
<tr>
<td>Smart fella</td>
<td>£69420</td>
<td>£50000</td>
</tr>
</tbody>
<tfoot>
<tr>
<td></td>
<td>£119420</td>
<td>£70000</td>
</tr>
</tfoot>
</table>
<h2>Block<wbr>quotes</h2>
<blockquote cite="https://www.w3schools.com/tags/tag_blockquote.asp">A section that is quoted from another source</blockquote>
<p>Using q tag <q>for inline (short) quotations</q>, as you see. Nifty.</p>
<h2>Form</h2>
<p>Behold, the mega-form! If you want details check <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms">mozilla's form section</a></p>
<p>datalist, fieldset, input, legend, meter, output, select, textarea</p>
<p>input todo: datetime-local, email, file, hidden, image, month, number, password, radio, range, reset, search, submit, tel, text, time, url, week</p>
<form>
<label for="name">Name</label>
<input name="name" id="name" placeholder="Name here"></input>
<label for="fruits" id="fruits">Fruits</label>
<select name="fruits">
<option value="">--Choose your fav--</option>
<option value="apple">Apple</option>
<option value="banana">Banana</option>
<option value="pear">Pear</option>
</select>
<label for="fruits-veg" id="fruits-veg">Fruits/Veg</label>
<select name="fruits-veg">
<option value="">--Choose your fav--</option>
<optgroup label="Fruits">
<option value="apple">Apple</option>
<option value="banana">Banana</option>
</optgroup>
<optgroup label="Vegetables">
<option value="potato">Potato</option>
<option value="onion">Onion</option>
</optgroup>
</select>
<fieldset>
<legend>Answer these yes/nos</legend>
<input type="checkbox" id="check-smart" name="check-smart" checked/>
<label for="check-smart">Smart</label>
<input type="checkbox" id="check-swag" name="check-swag"/>
<label for="check-swag">Swag</label>
<input type="checkbox" id="check-epic" name="check-epic"/>
<label for="check-epic">Epic</label>
</fieldset>
<label for="prog">Progress</label>
<progress id="prog" max="100" value="55">55%</progress>
<label for="colour">Favourite Colour</label>
<input type="color" id="colour" name="colour" value="#CCCCCC"/>
<label for="birth">Birthdate</label>
<input type="date" id="birth" name="birth" min="1900-01-01" max="2020-01-01"/>
<label for="details">Details</label>
<textarea name="details" id="details" rows="4" placeholder="Describe yourself"></textarea>
<button type="button">Submit form</button>
</form>
<h2>Button</h2>
<button type="button">Button!</button>
<a class="button" href="#">Anchor!</a>
<h2>Grid System</h2>
<p>Not using one (curently at least) as it's un-needed. Perhaps if I make my own reset/base CSS file I'll add one for you guys.</p>
<h2>Util<wbr>ities</h2>
<h3>Tags</h3>
<div class="tag">Tag</div>
<p>As a span within <span class="tag">w</span> another element.</p>
<p>Actual usage <span class="tag">Tag&nbsp;1</span> <span class="tag">Tag&nbsp;2</span></p>
<h3>Notecards</h3>
<h3>Alerts</h3>
<h3>Modals</h3>
<h3>Example utils I may want</h3>
<a href="https://getbootstrap.com/docs/5.2/examples/">Bootstrap utilities</a>
<h2>Headers</h2>
<h2>Menus</h2>
<p>Maybe I'll do dropdowns soonish</p>
<h2>Searchbars</h2>
<h2>Inline elements</h2>
<h2>Unplanned<wbr>/<wbr>Dumped for now</h2>
<h3>Address</h3>
<address>testing</address>
<h3>Article</h3>
<article>testing</article>
<aside class="page-nav"><p>page-nav is here</p><ul><li>list 1</li><li>list 2</li></ul></aside>
<h3>Aside</h3>
<aside>Test aside</aside>
<p>There's also the class <code>.page-nav</code></p>
<h3>Images</h3>
<p>Webp. If it doesn't load your browser doesn't support it, but the picture below will work.</p>
<img src="/images/200px.webp" alt="Placeholder image" width="200" height="200">
<h3>Picture</h3>
<picture>
<source type="image/webp" srcset="/images/200px.webp">
<source type="image/jpeg" srcset="/images/200px.png">
<img src="/images/200px.png" alt="Placeholder image" width="200" height="200">
</picture>
<h3>Figure</h3>
<figure>
<picture>
<source type="image/webp" srcset="/images/200px.webp">
<source type="image/jpeg" srcset="/images/200px.png">
<img src="/images/200px.png" alt="Placeholder image" width="200" height="200">
</picture>
</figure>
<figure>
<picture>
<source type="image/webp" srcset="/images/200px.webp">
<source type="image/jpeg" srcset="/images/200px.png">
<img src="/images/200px.png" alt="Placeholder image" width="200" height="200">
</picture>
<figcaption>figcaption</figcaption>
</figure>
<h3>hr</h3>
<hr/>
<h3>misc</h3>
<p>Here's some examples of inline elements I currently don't use (or didn't up to now).</p>
<p>The list consists of <code>abbr</code> for <abbr>abbr</abbr> abbreviations, <code>bdi</code> <bdi>for bidirectional text</bdi>, <code>bdo</code> <bdo dir="rtl">(rtl) for changing text direction</bdo><br/>Oh there was a br (line break), not a new paragraph tag.</p>
<p>If something has been removed, <del>because it's wrong</del> <ins>for any reason</ins>, the <code>del</code> and <code>ins</code> elements are here!</p>
<h3>todo</h3>
<p>cite, data, dfn, em, i, kbd, mark, s, samp, small, strong, sub, sup, time, u, var, wbr</p>
<p>rp, rt, ruby</p>
<h2>Multimedia</h2>
<p>area, audio, img(done elsehwere), map, track, video</p>
<h2>Embedded content</h2>
<p>embed, iframe, object, picture, portal, source</p>
<h2>Svg</h2>
<h2>canvas</h2>
<p>This allows for scripting, animations, games, fancier graphics, etc.</p>
<canvas width="200" height="200"></canvas>
<h2>Interactive elements</h2>
<h3>details</h3>
<details>
<summary>Gangnam style</summary>
OP OP OP OP, OPPA GANGNAM STYLE
</details>
<h3>dialog</h3>
<p>Non-suggested way</p>
<dialog open>
<p>I am a dialog box! You cannot kill me!</p>
<form method="dialog">
<button>Kill</button>
</form>
</dialog>
<p>It's recommended to use JS to toggle dialogs, but to still use <code>dialog</code> (without the open attribute) over a <code>div</code> for semantic reasoning.
<h2>Web components</h2>
<p>slot, template</p>
<p>I've never used these, so I'm not sure 100% about their application, omitting for now.</p>
</section>
<section>
<h2>Up to date</h2>
<p>If you're looking for a complete (and up-to-date) list of HTML elements, look over at the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element" target="_blank" rel="noopener">mdn web docs</a>.</p>
<p>I'm recommending this, as it's where I yoinked all the elements from on <time datetime="2022-12-09">Dec 9th 2022</time>, and it's maintained regularly (unlike this page).<p>
</section>
<section>
#TODO:
<h2>Trivia</h2>
<p>As of today <time datetime="2022-12-09">09/12/22</time> thiss is the largest webpage on my site, with the HTML taking up ~13KB</p>
</section>
</main>
<footer>
<hr/>
<p>Written by <a href="https://aney.co.uk" target="_blank" rel="noopener">@aney</a> with <a href="https://danluu.com/web-bloat/" target="_blank" rel="noopener">web bloat</a> in mind | <a href="https://github.com/Aney/website" target="_blank" rel="noopener">Source Code</a></p>
</footer>
</body>
</html>

@ -15,9 +15,10 @@
<body>
<header>
<a href="#main" class="vh">Jump directly to main content</a>
<h1>Aney's Favourite Sites</h1>
<input id="burger-toggle" type="checkbox"/>
<label class="burger-container" for="burger-toggle"><div class="burger"></div></label>
<label class="burger-container" for="burger-toggle"><div class="burger"></div><span class="sr">Burger menu</span></label>
<hr/>
<nav>
<a href="/">home</a>
@ -30,7 +31,7 @@
<hr/>
</header>
<main>
<main id="main">
<section>
<h2>Websites I frequent</h2>
<p>I use these, but maybe I should stop.</p>

Loading…
Cancel
Save