Commits

Daniel Hemmingsen committed 43566b5

Testing some more

Comments (0)

Files changed (5)

templates/layouts/base.html

 
 {% block page_title %}Demenza.me | Because I can!{% endblock %}
 
-{% block navigation %}<ul><li><a href="/">Home</a></li><li><a href="/about/">About</a></li></ul>{% endblock %}
+{% block navigation %}<ul><li><a class="firstLink" href="/">Home</a></li><li><a href="/about/">About</a></li></ul>{% endblock %}
 
 {% block header %}<h1>Demenza.me</h1><p>Because I can!</p>{% endblock %}
 

templates/layouts/css/style.css

     font-size: 16px;
 }
 
+nav {
+    -webkit-border-radius: 5px;
+    background-color: #CCC;
+    padding: 0 0 0 5px;
+}
+
 nav a {
     text-decoration: none;
     text-transform: uppercase;
 
 nav ul li {
     display: inline-block;
-    padding: 5px 10px;
-    margin: 0 5px 0 0;
+    padding: 5px;
 }
 
 nav li:hover {
-    padding: 5px 10px;
+    padding: 5px;
 }
 
 #main {
     padding: 5px 10px;
 }
 
+#main img {
+    margin: 5px;
+    max-width: 250px;
+    -webkit-border-radius: 10px;
+    -moz-border-radius: 10px;
+    border-radius: 10px;
+    -webkit-box-shadow: 0 0 5px #000;
+}
+
 #sidebar {
     padding: 5px 10px;
     width: 200px;

templates/layouts/img/test1.png

Added
New image

templates/layouts/img/test2.png

Added
New image

templates/pages/index.html

 {% block page_title %}{{ block.super }} | Home{% endblock %}
 
 {% block main %}
-    Index page test... (Aka: Home)
+    <h1>Welcome</h1>
+
+    <p>
+        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+    </p>
+
+    <p>
+        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br />
+        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+    </p>
+
+    <img src="/static/img/test1.png" />
+    <img src="/static/img/test2.png" />
 {% endblock %}