diff --git a/main/static/main/main.css b/main/static/main/main.css new file mode 100644 index 0000000..d5a9104 --- /dev/null +++ b/main/static/main/main.css @@ -0,0 +1,47 @@ +html { + padding: 0; + margin: 0; + width: 100%; + height: 100%; + + --background-color: #2E2A39; + --text-color: #E3D096; + --accent-color: #53929B; + + background: var(--accent-color); +} + +body { + padding: 0; + margin: 0 3%; + + background: var(--background-color); + + height: 100%; + max-width: 1000px; +} + +.thought { + color: var(--text-color); + + padding: 20px 30px; + +} +hr.thought-end { + margin: 0 30px; + border-color: var(--accent-color); +} + +header { + padding: 4% 30px 15px; +} +header .text { + color: var(--text-color); + font-size: 3em; + font-family: Georgia, Libre Baskerville, serif; + border-bottom: 4px solid var(--accent-color); +} + +.hidden { + display: none; +} \ No newline at end of file diff --git a/main/templates/whispermaphone/index.html b/main/templates/whispermaphone/index.html index 3cc0587..43d9932 100644 --- a/main/templates/whispermaphone/index.html +++ b/main/templates/whispermaphone/index.html @@ -2,21 +2,23 @@ + Title - + {% load static %} + - Hello, and welcome to the index. +
Thoughts
{% for thought in thoughts %}
{{thought.text}}
-
- {% endfor %} +
+ {% endfor %}
diff --git a/main/templates/whispermaphone/post.html b/main/templates/whispermaphone/post.html index c57c4cb..d586e98 100644 --- a/main/templates/whispermaphone/post.html +++ b/main/templates/whispermaphone/post.html @@ -3,6 +3,10 @@ Title + + {% load static %} + + diff --git a/whispermaphone/settings.py b/whispermaphone/settings.py index 6c8f1bf..0ba804f 100644 --- a/whispermaphone/settings.py +++ b/whispermaphone/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = 'qdm4_0b)3^)k$6r($!o^a7&0l#^6)@g2wr!x0r40ii@9otfnwo' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["192.168.1.124"] # Application definition