Skip to content

Commit

Permalink
Merge pull request #27 from stuartmaxwell/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmaxwell authored May 2, 2024
2 parents 09f519d + 148cd59 commit 6673f39
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
61 changes: 61 additions & 0 deletions djpress/static/djpress/css/style.css
Original file line number Diff line number Diff line change
@@ -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;
}
1 change: 1 addition & 0 deletions djpress/static/djpress/css/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions djpress/templates/djpress/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load static %}
{% load djpress_tags %}

<!DOCTYPE html>
Expand All @@ -6,6 +7,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% get_blog_title %}</title>
<link rel="stylesheet" href="{% static 'djpress/css/style.min.css' %}">
</head>
<body>
<header>
Expand Down

0 comments on commit 6673f39

Please sign in to comment.