diff --git a/art/index.php b/art/index.php index 314ae8c..56b0dd6 100644 --- a/art/index.php +++ b/art/index.php @@ -5,6 +5,7 @@ if(array_key_exists('n', $_GET)) { if(!is_numeric($_GET['n'])) { header('Location: .'); + die(); } $subpage = $_GET['n']; } @@ -20,6 +21,7 @@ if(count($files) <= ($subpage * 15)) { header('Location: .'); + die(); } } ?> diff --git a/blog/index.php b/blog/index.php index 1804cf2..cd4e4ac 100644 --- a/blog/index.php +++ b/blog/index.php @@ -2,6 +2,7 @@ if(array_key_exists('p', $_GET)) { if(!is_numeric($_GET['p'])) { header('Location: .'); + die(); } $page = $_GET['p']; } @@ -41,6 +42,8 @@ + + diff --git a/index.php b/index.php index ce59e3e..5d2582c 100644 --- a/index.php +++ b/index.php @@ -11,6 +11,8 @@ + + diff --git a/main.scss b/main.scss index 0cd9406..485d746 100644 --- a/main.scss +++ b/main.scss @@ -526,6 +526,38 @@ section { } @media (min-aspect-ratio: 7/8) { + /* font modifiers */ + + .font-left { + text-align: left; + } + + .font-centre { + text-align: center; + } + + .font-right { + text-align: right; + } + + .font-huge { + font-size: 2.5em; + } + + .font-verylarge { + font-size: 2em; + } + + .font-large { + font-size: 1.5em; + } + + .font-semilarge { + font-size: 1.25em; + } + + /* end font modifiers */ + #header-links { width: 78%; max-width: 60rem; @@ -669,6 +701,38 @@ section { /* once supported, use (max-aspect-ratio: 7/8) and (not (aspect-ratio: 7/8)) */ @media (max-aspect-ratio: 7/8) { + /* font modifiers */ + + .font-left { + text-align: left; + } + + .font-centre { + text-align: center; + } + + .font-right { + text-align: right; + } + + .font-huge { + font-size: 2.25em; + } + + .font-verylarge { + font-size: 2em; + } + + .font-large { + font-size: 1.75em; + } + + .font-semilarge { + font-size: 1.5em; + } + + /* end font modifiers */ + main { font-size: $fs_mbl; padding : { diff --git a/meta.php b/meta.php index 4c12a9e..c1e1ba2 100644 --- a/meta.php +++ b/meta.php @@ -14,6 +14,3 @@ - - - diff --git a/projects/digitise/index.php b/projects/digitise/index.php new file mode 100644 index 0000000..efcc903 --- /dev/null +++ b/projects/digitise/index.php @@ -0,0 +1,138 @@ += count($chapters)) { + header('Location: /projects/digitise?p=' . $page); + die(); + } + } +?> + + + + ' . $title . ' - ' . $author . ''; + echo ''; + echo ''; + echo ''; + echo ''; + + echo ''; + echo ''; + + echo ''; + echo ''; + + include $_SERVER['DOCUMENT_ROOT']."/meta.php" + ?> + + + +
+ +
+
+
' . substr($matches[0], 3) . '

'; + + include $_SERVER['DOCUMENT_ROOT'] . '/projects/digitise/' . $page . '/pages/' . $chapters[$chapter]; + + echo '
'; + } else { + echo '

'; + echo '

' . $title . '
'; + echo '
' . $author . '
'; + echo '
' . $date . '
'; + echo '

'; + echo '
'; + echo '
'; + echo '
contents
'; + foreach ($chapters as $key => $value) { + preg_match("/ - .*$/", $value, $matches); + echo '

' . substr($matches[0], 3) . '

'; + } + } +?> +
+
+ + diff --git a/projects/index.php b/projects/index.php index b9fb881..c6ecceb 100644 --- a/projects/index.php +++ b/projects/index.php @@ -58,7 +58,7 @@ - +
Cconfconfconfconf utility for generating config file parsers
@@ -69,18 +69,18 @@ - + - + - - + +
Csimple-optsimple-opt cli option parsing in a single header file
Csimple-testsimple-test unit testing in a single header file
Crystalxdg_basedirinterface to the XDG Base Directory Specificationxdg_basedirinterface to the XDG Base Directory Specification

@@ -93,10 +93,11 @@

fiction

- + cover Small Sad People
20xx (in progress)
- a collection of short stories and poems about growing in the southwest US + a collection of short stories and poems about growing + in the southwest US

@@ -105,7 +106,7 @@ - +
computingtutorialstutorials rambling introductions to different aspects of computing
@@ -123,12 +124,12 @@ - + - +
fontbachirulo-brushbachirulo-brush brush calligraphy font for the galu script
fontbachirulo-typebachirulo-type computer font for the galu script
@@ -161,17 +162,18 @@

though mostly now forgotten, modern readers have at least, it seems, taken some interest in one of her earlier works, - Living Alone. because it has, like, witches and stuff

+ Living Alone, because it has, like, witches and stuff, and i'm + into that

- + cover The little world
1925
a travellogue in snippets, skits, and sarcasm, detailing time spent riding boats, walking a lot, and driving a poor, mistreated model-T named Stephanie
- (in-progress) web + (in-progress) web
diff --git a/robots.txt b/robots.txt index dccc794..85eb048 100644 --- a/robots.txt +++ b/robots.txt @@ -2,4 +2,5 @@ User-agent: * Disallow: /tmp/ Disallow: /secret/ Disallow: /img/ +Disallow: /projects/digitise/ Sitemap: https://airen-no-jikken.icu/sitemap.xml