diff --git a/articles/static/index.css b/articles/static/index.css index c7a06a0..d670d2a 100644 --- a/articles/static/index.css +++ b/articles/static/index.css @@ -29,6 +29,11 @@ a { padding-right: 15px; } +.one-post:hover { + background: #334661; + transition: .3s ease-in; +} + .article-created-date { font-size: 12px; } @@ -37,4 +42,18 @@ a { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); +} + +.post-link { + text-decoration: none; + color: unset; +} + +.article-meta { + display: flex; + justify-content: space-between; +} + +.article-header { + margin: 0; } \ No newline at end of file diff --git a/articles/templates/archive.html b/articles/templates/archive.html index 8ccd559..a0f0a02 100644 --- a/articles/templates/archive.html +++ b/articles/templates/archive.html @@ -15,14 +15,16 @@
{{ post.get_excerpt }}
{{ post.get_excerpt }}
-diff --git a/articles/templates/article.html b/articles/templates/article.html new file mode 100644 index 0000000..504d8ea --- /dev/null +++ b/articles/templates/article.html @@ -0,0 +1,29 @@ + + +
+ + +
+ {% load static %} + + + +
+