From e59ca4a3eaa53d66fb2dcd3ddbdd86d99b04b7c8 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 28 Jun 2021 00:21:26 +1200 Subject: Converted everything to XHTML 1.1 --- project/assets/css/default.css | 27 ++++++++++++++------------- project/assets/css/steelman.css | 2 +- project/assets/img/external_link.png | Bin 0 -> 1064 bytes 3 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 project/assets/img/external_link.png (limited to 'project/assets') diff --git a/project/assets/css/default.css b/project/assets/css/default.css index 827c218..8e09c9b 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -26,8 +26,10 @@ div.white { } -figure { +div.figure { text-align: center; + margin-top: 1em; + margin-bottom: 1em; margin-left: 0.5em; margin-right: 0.5em; } @@ -109,19 +111,28 @@ p { } +a.external { + background: url("/img/external_link.png"); + background-size: 1em 1em; + background-position: right; + background-repeat: no-repeat; + padding-right: 1.2em; +} + + /* Display the navbar like a table to make it horizontal and evenly spaced. */ -nav ul { +div.nav ul { display: table; width: 100%; margin: 0.5em auto 0.5em auto; padding: 0; } -nav ul li { +div.nav ul li { display: table-cell; text-align: center; margin: 0; @@ -129,14 +140,4 @@ nav ul li { width: 20%; } -/* -nav ul li:first-child { - text-align: left; -} - -nav ul li:last-child { - text-align: right; -} -*/ - diff --git a/project/assets/css/steelman.css b/project/assets/css/steelman.css index d0f2c2a..14bc84b 100644 --- a/project/assets/css/steelman.css +++ b/project/assets/css/steelman.css @@ -1,6 +1,6 @@ -section.accordian { +div.accordian { margin: 1em 2em 2em 2em; } diff --git a/project/assets/img/external_link.png b/project/assets/img/external_link.png new file mode 100644 index 0000000..9d8dd9d Binary files /dev/null and b/project/assets/img/external_link.png differ -- cgit