diff --git a/djpress/static/djpress/css/style.css b/djpress/static/djpress/css/style.css new file mode 100644 index 0000000..9d2b1e3 --- /dev/null +++ b/djpress/static/djpress/css/style.css @@ -0,0 +1,61 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, + sans-serif; + margin: 0; + padding: 0; + box-sizing: border-box; + background-color: #f4f4f4; +} + +header { + background-color: #333; + color: #fff; + padding: 1em 0; + text-align: center; +} + +header h1 a { + color: #fff; +} + +main { + padding: 2em; + max-width: 992px; + margin: 0 auto; +} + +article { + background-color: #fff; + padding: 1em; + margin-bottom: 1em; + border-radius: 5px; +} + +article header h1 { + margin-top: 0; +} + +article section { + margin-top: 1em; +} + +article footer { + text-align: left; + padding: 1em; + position: static; + width: auto; +} + +footer { + background-color: #333; + color: #fff; + text-align: center; + padding: 1em 0; + position: fixed; + bottom: 0; + width: 100%; +} + +footer a { + color: #fff; +} diff --git a/djpress/static/djpress/css/style.min.css b/djpress/static/djpress/css/style.min.css new file mode 100644 index 0000000..6fa5a16 --- /dev/null +++ b/djpress/static/djpress/css/style.min.css @@ -0,0 +1 @@ +body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,sans-serif;margin:0;padding:0;box-sizing:border-box;background-color:#f4f4f4}header{background-color:#333;color:#fff;padding:1em 0;text-align:center}header h1 a{color:#fff}main{padding:2em;max-width:992px;margin:0 auto}article{background-color:#fff;padding:1em;margin-bottom:1em;border-radius:5px}article header h1{margin-top:0}article section{margin-top:1em}article footer{text-align:left;padding:1em;position:static;width:auto}footer{background-color:#333;color:#fff;text-align:center;padding:1em 0;position:fixed;bottom:0;width:100%}footer a{color:#fff} diff --git a/djpress/templates/djpress/index.html b/djpress/templates/djpress/index.html index d9f2070..39086b7 100644 --- a/djpress/templates/djpress/index.html +++ b/djpress/templates/djpress/index.html @@ -1,3 +1,4 @@ +{% load static %} {% load djpress_tags %} @@ -6,6 +7,7 @@ {% get_blog_title %} +