Commit Graph

33 Commits (a50a82f98585fc830aeddef687981a708de87615)

Author SHA1 Message Date
Nathan Steel 661ffb7fb0 Add a basic "test" page with additional CSS
For testing elements without needing to visit each
page.
3 years ago
Nathan Steel 43423d5c6f Add .tblcon element to allow for overflowing tables 3 years ago
Nathan Steel 2c0d510176 Change tag colour
Removed the actual colour, and changed to grays that match the theme
3 years ago
Nathan Steel 72d22294ef Add styling for blockquotes 3 years ago
Nathan Steel 26b2965dd3 Add additional wrapping for <320px displays
Prevent right scrolling on <320px by adding wrap, and image resizing
3 years ago
Nathan Steel 3c75364072 Style <code> blocks 3 years ago
Nathan Steel 5aa079af89 Restyle mobile nav/burger menu
To make it more usable, look nicer, and not
requiring being at the top of the page to access nav.
3 years ago
Nathan Steel 7d19bf6092 Add .vh (visually hidden) CSS class styling 3 years ago
Nathan Steel ec6d1e48fe Add .sr (screen reader) styling to CSS
Makes element non-visible, but still readible to screen-readers,
and passes accessibility checks (such as contrast, and size errors)
3 years ago
Nathan Steel f85aa54698 Correct the selectable area of burger nav
Since negative margin was used that part of the burger icon wasn't
selectable. Changed so no negative margin, which makes it aesthetically
worse, but functionally better.
3 years ago
Nathan Steel 1e757424e4 Increase font-size, whitespace, and restyle .tag 3 years ago
Nathan Steel 068e43c309 Change colours of site elements
Make it a little better for the eyes, and add some visual hierarchy.
For both light/dark theme browsers.
Also changed 6 digit Hex codes to similar 3 digit codes for some savings
3 years ago
Nathan Steel c0e4fd86de Add basic styling to .page-nav for recipes 3 years ago
Nathan Steel 83540bc0a9 Optimise CSS
Remove unneeded spaces, characters, and elements.
Change to shorthand where feasible. e.g. background-color
to background, and list-style-position to list-style
3 years ago
Nathan Steel 2519516d3d Change basic mobile styling, and desktop width
Breakpoint size
Header margin from burger
Max width for desktop
3 years ago
Nathan Steel b18e49658f Add burger styling 3 years ago
Nathan Steel 28119fffc8 Add border to pre to distinguish on dark theme 3 years ago
Nathan Steel c2fb8a10f4 Minify CSS file
Manual minified the CSS file, moving bits around for correct
cascading, and removing un-needed spacing, trailing ;, etc. whilst
still keeping the stylesheet readable, and workable.
3 years ago
Nathan Steel 1aae4345fb Style tables
- Add colour/styling to table
- Change SoC table to be full width
4 years ago
Nathan Steel 75d4a6886b Change pre colours on dark theme 4 years ago
Nathan Steel 1fba0381a2 Add padding to pre tag 4 years ago
Nathan Steel a0dfc13309 Add basic styling to pre element 4 years ago
Nathan Steel c490bce384 Space out li so they can be used as touch targets 4 years ago
Nathan Steel ffc9c69cb2 Correct ul styling, and pad ul within li
Sub ul need padding to make it look correct. This change is originally
for the sitemap, however it will likely be used elsewhere.
4 years ago
Nathan Steel 0a681f9b28 Alter colour scheme
Change colour scheme for light, and dark mode.
4 years ago
Nathan Steel b23b3b0e13 Tidy up, and remove redudant css
- Tidy up main.css
- Remove CSS that is no longer relevant. e.g:
 - nav list-style-type, padding, hrs
 - ul inline-block, and padding
 - ul p
4 years ago
Nathan Steel a9e0097acc Fix heading's line height, and h1 margins
- Add line height of 1 to all headings h{1..6}
- Add margin bottom to h1
4 years ago
Nathan Steel 511174738c Add tag class to projects
- Style new class "tag"
- Change "Written with" to tags
4 years ago
Nathan Steel 3b502904c7 Reduce font size to 14px
- Reduce font size from 16px to 14px
4 years ago
Nathan Steel 76047a307b Make navigation menus lighthouse compliant 5 years ago
Nathan Steel fba37b547c CSS changes
- Removed unneeded CSS
- Moved media queries to the bottom of the stylesheet
 - Added a media query for smaller devices
- Added a font-size to the html tag
 - Switched em to rem sizes
5 years ago
Nathan Steel b1054b2ffe Add spacing to navigation items 5 years ago
Nathan Steel b3671c3d74 Style and content changes and rewritten. Any instances of scripts and other un-hosted content removed. 5 years ago