diff --git a/web_dev/sas_web/meingoethopia/static/meingoethopia/css/index.css b/web_dev/sas_web/meingoethopia/static/meingoethopia/css/index.css new file mode 100644 index 0000000..1036fa6 --- /dev/null +++ b/web_dev/sas_web/meingoethopia/static/meingoethopia/css/index.css @@ -0,0 +1,26 @@ +ul.meinlinks { + margin: 0.75em 0; + padding: 0 1em; + list-style: none; +} +ul.meinlinks li:before { + content: ""; + border-color: transparent #111; + border-style: solid; + border-width: 0.35em 0 0.35em 0.45em; + display: block; + height: 0; + width: 0; + left: -1em; + top: 0.9em; + position: relative; +} + +ul.meinlinks a, ul.meinlinks a:visited { + text-decoration: none; + color: #9F2D17; +} + +ul.meinlinks a:hover { + color: #48140a; +} diff --git a/web_dev/sas_web/meingoethopia/templates/meingoethopia/index.html b/web_dev/sas_web/meingoethopia/templates/meingoethopia/index.html index 7f022e8..f91ab14 100644 --- a/web_dev/sas_web/meingoethopia/templates/meingoethopia/index.html +++ b/web_dev/sas_web/meingoethopia/templates/meingoethopia/index.html @@ -1,9 +1,17 @@ {% extends "public/default.html" %} +{% load static %} {% block content %} -
Mein Goethopia!
+ +Du möchtest einen Betrieb anmelden? Oder eine Partei gründen? Vielleicht sogar als Präsidentin +kandidieren?
+ +Dann bist du hier genau richtig!
+ + - - -Als Präsidentin aufstellen lassen
{% endblock %} diff --git a/web_dev/sas_web/static/public/css/default.css b/web_dev/sas_web/static/public/css/default.css new file mode 100644 index 0000000..cc4ffaf --- /dev/null +++ b/web_dev/sas_web/static/public/css/default.css @@ -0,0 +1,4 @@ +#content{ + margin-left: 5%; + margin-right: 5%; +} diff --git a/web_dev/sas_web/static/public/css/footer.css b/web_dev/sas_web/static/public/css/footer.css new file mode 100644 index 0000000..2d2cd55 --- /dev/null +++ b/web_dev/sas_web/static/public/css/footer.css @@ -0,0 +1,4 @@ +#footer { + margin-left: 2%; + margin-right: 2%; +} diff --git a/web_dev/sas_web/static/public/css/header.css b/web_dev/sas_web/static/public/css/header.css index 2caee51..9c536e5 100644 --- a/web_dev/sas_web/static/public/css/header.css +++ b/web_dev/sas_web/static/public/css/header.css @@ -57,7 +57,7 @@ table td{ color: black; outline: none; } -ul { +ul.navbar { list-style-type: none; position: relative; margin-left: 2%; @@ -69,7 +69,7 @@ ul { border: none; } -li { +li.navbar { float: left; width: 30%; margin-top: 0.5%; @@ -79,7 +79,7 @@ li { color: #929292; } -li a { +li.navbar a { display: block; color: #666; text-align: center; @@ -89,11 +89,11 @@ li a { border-top-left-radius: 2.5px; } -.active { +li.navbar a.active { background: #9F2D17; color: white; } -li a:hover:not(.active) { +li.navbar a:hover:not(.active) { background: #929292; } diff --git a/web_dev/sas_web/templates/public/default.html b/web_dev/sas_web/templates/public/default.html index 6f9bdc6..93a9050 100644 --- a/web_dev/sas_web/templates/public/default.html +++ b/web_dev/sas_web/templates/public/default.html @@ -1,6 +1,9 @@ {% extends "public/base.html" %} +{% load static %} {% block raw_content %} + +