diff --git a/.gitignore b/.gitignore index c05d698..ec498eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -*#*# -/.old +/web-serve +*.pyc diff --git a/nginx/base.conf b/nginx/base.conf index 24bf500..1a81a63 100644 --- a/nginx/base.conf +++ b/nginx/base.conf @@ -1,6 +1,6 @@ server_name metanohi.name www.metanohi.name; -root /var/www/metanohi.name/web; +root /var/www/metanohi.name/web-serve; index index.html; location / { diff --git a/site/logo/logo-inkscape.svg b/site/logo/logo-inkscape.svg new file mode 100644 index 0000000..e587620 --- /dev/null +++ b/site/logo/logo-inkscape.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + metanohi.name + + diff --git a/site/logo/logo.svg b/site/logo/logo.svg new file mode 100644 index 0000000..65e5f06 --- /dev/null +++ b/site/logo/logo.svg @@ -0,0 +1,87 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/style.css b/site/style.css new file mode 100644 index 0000000..ba0780c --- /dev/null +++ b/site/style.css @@ -0,0 +1,66 @@ +body { + font-family: sans; +} + +* { + margin: 0; +} + +#body { + width: 800px; + margin: 0 auto; +} + +#body header { + height: 100px; + background-color: rgba(0, 0, 0, 0.8); +} + +#body header img { + width: 800px; + height: 100px; +} + +#body nav { + background-color: #333333; + padding: 1px 0 5px 0; +} + +#body nav ul { + list-style: none; + padding: 0; + text-align: center; + font-size: 24px; +} + +#body nav ul li { + display: inline; + margin-left: 25px; +} + +#body nav ul li:first-child { + margin-left: 0; +} + +#body nav a, #body nav a:visited { + color: #51B7FF; + text-decoration: none; +} + +#content { + padding: 10px; + background-color: rgba(0, 0, 0, 0.8); + color: #eeeeee; +} + +p { + margin-top: 0.5em; +} + +#background div { + position: fixed; + top: 0; + width: 10%; + height: 100%; + z-index: -1; +} diff --git a/template/base.html b/template/base.html new file mode 100644 index 0000000..faf1c6b --- /dev/null +++ b/template/base.html @@ -0,0 +1,39 @@ + + + + + metanohi.name: {title} + + + +
+
+ Logo +
+ +
+{content} +
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +