diff --git a/static/src/scss/content.scss b/static/src/scss/content.scss index c1fc550..1444e32 100644 --- a/static/src/scss/content.scss +++ b/static/src/scss/content.scss @@ -41,3 +41,29 @@ h1.page-title { height: 100%; } } + +.page-list { + .card { + background-color: transparent; + box-shadow: none; + } + + .card + .card { + margin-top: 2rem; + } + + .card-image { + max-width: 25% !important; + margin: auto 0; + } + + @media #{$small-and-down} { + .card { + display: initial; + } + + .card-image { + max-width: initial !important; + } + } +} diff --git a/templates/blog/index.html b/templates/blog/index.html index 80b7931..5389ef5 100644 --- a/templates/blog/index.html +++ b/templates/blog/index.html @@ -1,9 +1,9 @@ {% extends "content.html" %} -{% load static %} - {% block title %}Blog{% endblock %} {% block content %} - +
+ {% include "blog/item.html" %} +
{% endblock%} diff --git a/templates/blog/item.html b/templates/blog/item.html new file mode 100644 index 0000000..eef0f4a --- /dev/null +++ b/templates/blog/item.html @@ -0,0 +1,20 @@ +{% load static %} + + +
+
+
+ +
+
+
+ Card Title +

I am a very simple card. I am good at containing small bits of information.I am a very simple card. I am good at containing small bits of information.I am a very simple card. I am good at containing small bits of information.I am a very simple card. I am good at containing small bits of information.I am a very simple card. I am good at containing small bits of information.I am a very simple card. I am good at containing small bits of information.

+
+
+ Read More +

2020-01-01   10 minutes

+
+
+
+