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

github.com/escalate/hugo-split-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mendoza <christian.mendoza@gmail.com>2017-12-20 21:43:19 +0300
committerChristian Mendoza <christian.mendoza@gmail.com>2017-12-20 21:43:19 +0300
commit011e082ef3c70ce13a65eeee08d57059cba68130 (patch)
treecf072e0eec7951f3841ba675ee26078f9d88edfb /static/assets
parent5e8841e650fb3aeb23066d6877158b70d5bef316 (diff)
Fix links list alignment
Align to top when one list has an uneven number of links
Diffstat (limited to 'static/assets')
-rw-r--r--static/assets/css/split.css3
-rw-r--r--static/assets/sass/01-content.scss1
2 files changed, 3 insertions, 1 deletions
diff --git a/static/assets/css/split.css b/static/assets/css/split.css
index 5f8708f..49d4965 100644
--- a/static/assets/css/split.css
+++ b/static/assets/css/split.css
@@ -201,7 +201,8 @@ body.page-template-page-fullsingle-split {
.split-lists .split-list {
width: 30%;
display: inline-block;
- margin-bottom: 40px; }
+ margin-bottom: 40px;
+ vertical-align: top; }
@media (max-width: 500px) {
.split-lists .split-list {
width: 90%; } }
diff --git a/static/assets/sass/01-content.scss b/static/assets/sass/01-content.scss
index 81b2b89..21ea2b3 100644
--- a/static/assets/sass/01-content.scss
+++ b/static/assets/sass/01-content.scss
@@ -205,6 +205,7 @@ body.page-template-page-fullsingle-split {
width: 30%;
display: inline-block;
margin-bottom: 40px;
+ vertical-align: top;
@media (max-width: $bp-mobile ) {
width: 90%;