summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-02-20 20:44:30 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-02-20 20:44:30 -0800
commit00b344891032bd25c21f45d98be510dac7413892 (patch)
treea8b285c6c3b1879be636b4cca7996c69049c3b04
parent3d04f66fcdc8c39f432991edd2b2c13b986cedee (diff)
updated homepage, and styled some stuff
-rw-r--r--src/header.php2
-rw-r--r--src/index.php5
-rw-r--r--src/style.css6
3 files changed, 11 insertions, 2 deletions
diff --git a/src/header.php b/src/header.php
index 7d8614b..11fede6 100644
--- a/src/header.php
+++ b/src/header.php
@@ -1,5 +1,5 @@
<h1><?php echo $title; ?></h1>
-
+<hr>
<?php if (getcwd() == $_SERVER["DOCUMENT_ROOT"]) { ?>
<h3 class="nav"><a href="/">[Home]</a> | <a href="/about.php">[About]</a></h3>
<?php } else if (basename($_SERVER['PHP_SELF']) == "index.php") { ?>
diff --git a/src/index.php b/src/index.php
index 7adc7eb..4e37ec8 100644
--- a/src/index.php
+++ b/src/index.php
@@ -5,8 +5,9 @@ require($_SERVER["DOCUMENT_ROOT"] . "/header.php");
?>
<p>
I'm Kai Stevenson, and this is my personal Web site for things that I like, such as programming, music, philosophy, and photography.
- I'm a student at The University of Victoria in Canada, though I try to find time to do things other than schoolwork.
You can email me at kai@kaistevenson.com.
+ Whereas I've done some cool things and whereas people sometimes like looking at cool things, you may want
+ to follow one of the links below.
</p>
<ul>
<li>
@@ -36,5 +37,7 @@ require($_SERVER["DOCUMENT_ROOT"] . "/header.php");
<li><p>I was born in 2004, making me ($CURRENTYEAR-2004) years old!</p></li>
<li><p>My favourite movie is the 1939 propaganda piece <i>Ninotchka</i></p></li>
<li><p>I live in the Pacific Northwest, south of the 49th and north of the border</p></li>
+ <li><p>I was at home minding my own business on the night of January 16th 2020. Please stop asking</p></li>
+ <li><p>I have a cat and a dog</p></li>
</ul>
<?php require($_SERVER["DOCUMENT_ROOT"] . "/footer.php"); ?>
diff --git a/src/style.css b/src/style.css
index d5a6b8c..68d09dc 100644
--- a/src/style.css
+++ b/src/style.css
@@ -130,6 +130,12 @@ ul {
li {
color: var(--highlight);
}
+
+hr {
+ border-color: var(--text);
+ background-color: var(--text);
+}
+
.footer {
width: auto;
margin: auto;