diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2318862 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.css \ No newline at end of file diff --git a/css/style.scss b/css/style.scss new file mode 100644 index 0000000..55f9c80 --- /dev/null +++ b/css/style.scss @@ -0,0 +1,44 @@ +$background-color: #c7c7c7; +$primary-color: #333; +$secondary-color: #d11414; +$text-color: #123455; + +body { + font-family: sans-serif; + background-color: $background-color; + header { + nav { + ul { + display: flex; + list-style: none; + gap: 1em; + li { + + } + } + a { + &:hover {} + } + } + } + + main { + display: flex; + flex-direction: column; + text-align: center; + h1 {} + + p {} + img { + width: 20em; + border-radius: 50%; + } + } + + + footer { + text-align: center; + // background: #eee; + padding: 1em; + } +} \ No newline at end of file diff --git a/images/me.jpg b/images/me.jpg new file mode 100644 index 0000000..7b14e62 Binary files /dev/null and b/images/me.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..c383f7f --- /dev/null +++ b/index.html @@ -0,0 +1,37 @@ + + + + + + + + David Westgate + + + + +
+

David Westgate

+
+ +
+

Projects

+

Travel

+

Games

+

Media

+
+ + + + \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..cda708d --- /dev/null +++ b/start.sh @@ -0,0 +1,13 @@ +#!/bin/bash +sassc css/style.scss css/style.css +python3 -m http.server 8080 & + +# Keypress loop +while true; do + read -n 1 -s key + if [[ $key == "r" ]]; then + echo -e "\nRecompiling SCSS..." + sassc css/style.scss css/style.css && echo "Done." + fi +done +