diff --git a/sass/parts/_tags.scss b/sass/parts/_tags.scss new file mode 100644 index 0000000..9e5125a --- /dev/null +++ b/sass/parts/_tags.scss @@ -0,0 +1,54 @@ +.taglist-container { + display: flex; + flex-wrap: wrap; + padding: 0; + + .taglist-table-row { + padding: 2%; + background-color: var(--navbar-color); + transition: 300ms; + width: 28%; + margin-right: 1%; + margin-top: 1%; + + .card-meta { + margin-bottom: 2.3rem; + } + + &:hover { + box-shadow: 0.5rem 0.5rem 0 var(--border-color); + } + } + + @media only screen and (max-width: 600px) { + .taglist-table-row { + width: 100%; + } + } +} + +.posts { + padding: 0; + margin-top: 1.2rem; + + .post { + display: flex; + flex-direction: column; + margin-bottom: 0.5rem; + } + + .title { + display: block; + margin-bottom: 0.5rem; + } + + .date { + display: block; + } + + ul { + list-style: none; + padding: 0; + margin: 0 + } +} diff --git a/templates/macros/list_title.html b/templates/macros/list_title.html index 0964727..e0d4ae1 100644 --- a/templates/macros/list_title.html +++ b/templates/macros/list_title.html @@ -1,16 +1,16 @@ {% macro list_title(pages, tag_name=false) %} {% if tag_name %} -