Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorXavier Valls Pla <xaviervallspla@gmail.com>2020-06-24 19:45:03 +0300
committerXavier Valls Pla <xaviervallspla@gmail.com>2020-06-24 19:45:03 +0300
commit2b8e779abb7e8a44e053bd44a6902ac2bd38d8bc (patch)
tree839e129abd764a3ab7f2265bcf4247136ad0d1fd /assets
parentefe78af487bba7ab7e21e0a74c17e21660d4a7ee (diff)
restructure the single post
post pagination was not correctly aligned, which helped see that the structure
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/pages/post.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/scss/pages/post.scss b/assets/scss/pages/post.scss
index f08af81..34357f8 100644
--- a/assets/scss/pages/post.scss
+++ b/assets/scss/pages/post.scss
@@ -4,8 +4,6 @@
.post {
width: 100%;
- max-width: 50rem;
- margin: 0 auto;
h2, h3 {
position: relative;
@@ -49,9 +47,11 @@
}
}
-.article-w-ToC {
+.post__container {
display: flex;
flex-direction: row;
+ max-width: 50rem;
+ margin: 0 auto 0 auto;
@media screen and (max-width:800px) {
flex-direction: column;