diff --git a/_includes/single-post.html b/_includes/single-post.html index 5608cfc..cf57ada 100644 --- a/_includes/single-post.html +++ b/_includes/single-post.html @@ -44,19 +44,44 @@ -
- -

{{ post.title }}

-
-
- - -
{{ post.content }}
+
+ +

{{ post.title }}

+
+
+ +
+ {{ post.content }} +
+
- + \ No newline at end of file diff --git a/assets/css/app.css b/assets/css/app.css index 8612710..f7035f5 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -58,30 +58,18 @@ transition: all .15s ease; overflow: hidden; } + .roller { position: relative; - margin-bottom: 3rem!important; + margin-bottom: 3rem !important; } -.roller-label { + +.roller-button { position: absolute; top: 100%; } -.roller-input { - display: none; -} -.roller-label .show-less { - display: none; -} -.roller-label .show-more { - display: block; -} -.roller-input:checked + .roller-label .show-less { - display: block; -} -.roller-input:checked + .roller-label .show-more { - display: none; -} -.roller-input:checked ~ .roller-item { + +.roller-button[aria-expanded="true"] ~ .roller-item { max-height: 100%; transition: all .15s ease; overflow: hidden;