diff options
author | Jed Barber <jedb@bootes.lan> | 2021-06-28 00:21:26 +1200 |
---|---|---|
committer | Jed Barber <jedb@bootes.lan> | 2021-06-28 00:21:26 +1200 |
commit | e59ca4a3eaa53d66fb2dcd3ddbdd86d99b04b7c8 (patch) | |
tree | ba3223acbe2e99513adc0ecd9812f188a1a4ad2d /project/assets | |
parent | 3a1a7a4d62dce554436aa8c23e980204a481c7b4 (diff) |
Converted everything to XHTML 1.1
Diffstat (limited to 'project/assets')
-rw-r--r-- | project/assets/css/default.css | 27 | ||||
-rw-r--r-- | project/assets/css/steelman.css | 2 | ||||
-rw-r--r-- | project/assets/img/external_link.png | bin | 0 -> 1064 bytes |
3 files changed, 15 insertions, 14 deletions
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 Binary files differnew file mode 100644 index 0000000..9d8dd9d --- /dev/null +++ b/project/assets/img/external_link.png |