From a12cea45dd15f1ef871e2ac49a5ebf25a47d48b5 Mon Sep 17 00:00:00 2001 From: Tim Berglund Date: Wed, 10 Feb 2016 12:56:29 +0100 Subject: [PATCH 1/5] Removed extra margin below nested bullets --- themes/style/datastax.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/style/datastax.less b/themes/style/datastax.less index 6436a850..df92cfc4 100644 --- a/themes/style/datastax.less +++ b/themes/style/datastax.less @@ -108,7 +108,7 @@ h5 {.font-size(2.6); .line-height(3.5);} // List Items with cool node icons ul {margin: .5em .5em 1em 1.5em; li {.font-size(3.5); list-style-type: disc; list-style-position: outside; - ul {margin: .5em .5em 1em 1.5em;} + ul {margin: .5em .5em 0 1.5em;} } } @@ -317,4 +317,5 @@ a:hover, a:focus { } // Hide these things from other themes -.deck-header-summit, .flex-element-summit {display: none;} \ No newline at end of file +.deck-header-summit, .flex-element-summit {display: none;} + From 314cbb7c99b9371022445d179669a1fa2b3c4ae1 Mon Sep 17 00:00:00 2001 From: James Kavanagh Date: Wed, 10 Feb 2016 12:47:55 +0000 Subject: [PATCH 2/5] Remove unecessary trailing paragraphs from indented lists --- themes/style/datastax.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/style/datastax.less b/themes/style/datastax.less index df92cfc4..17b9d6c2 100644 --- a/themes/style/datastax.less +++ b/themes/style/datastax.less @@ -112,6 +112,11 @@ h5 {.font-size(2.6); .line-height(3.5);} } } + // Ensure that trailing redundant paragraphs as per: + // https://github.com/datastax-training/curriculum/issues/176 + // are not displayed as they cause unecessary spacing + ul li p:last-child { display: none; } + // Images .image, .imageblock { img { From 8231a50e9b17ad5fbee63301bbbf73c9d54839a5 Mon Sep 17 00:00:00 2001 From: jkds Date: Wed, 10 Feb 2016 16:51:29 +0000 Subject: [PATCH 3/5] Modified nested list item so that it's different from the parent --- themes/style/datastax.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/style/datastax.less b/themes/style/datastax.less index 17b9d6c2..940dcfb6 100644 --- a/themes/style/datastax.less +++ b/themes/style/datastax.less @@ -116,6 +116,8 @@ h5 {.font-size(2.6); .line-height(3.5);} // https://github.com/datastax-training/curriculum/issues/176 // are not displayed as they cause unecessary spacing ul li p:last-child { display: none; } + // Indented items have a different bullet for more clarity + ul li ul li { list-style-type:circle; } // Images .image, .imageblock { From 74051d76f169a2759a426be8adf1eb68baab7dcc Mon Sep 17 00:00:00 2001 From: jkds Date: Thu, 11 Feb 2016 09:59:36 +0000 Subject: [PATCH 4/5] Removed padding for nested items also --- themes/style/datastax.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/style/datastax.less b/themes/style/datastax.less index 940dcfb6..6ac54258 100644 --- a/themes/style/datastax.less +++ b/themes/style/datastax.less @@ -115,9 +115,10 @@ h5 {.font-size(2.6); .line-height(3.5);} // Ensure that trailing redundant paragraphs as per: // https://github.com/datastax-training/curriculum/issues/176 // are not displayed as they cause unecessary spacing + ul li p { margin: 0; } ul li p:last-child { display: none; } // Indented items have a different bullet for more clarity - ul li ul li { list-style-type:circle; } + ul li ul li { list-style-type:circle; padding: 0; } // Images .image, .imageblock { From 792b396d7ae44ca0199bdf9b4531668f431d4035 Mon Sep 17 00:00:00 2001 From: jkds Date: Fri, 12 Feb 2016 14:07:11 +0000 Subject: [PATCH 5/5] Added a little extra padding around listing blocks otherwise everything looks cramped --- themes/style/datastax.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/themes/style/datastax.less b/themes/style/datastax.less index 6ac54258..205faf3e 100644 --- a/themes/style/datastax.less +++ b/themes/style/datastax.less @@ -137,6 +137,14 @@ h5 {.font-size(2.6); .line-height(3.5);} &.left {margin: .5em auto .5em 0; display: inline-block; padding: .5em;} &.right {margin: .5em 0 .5em auto; display: inline-block; padding: .5em;} } + + // Code block currently has no margin which looks a little crappy + .listingblock { + margin-top: 0.25em; + margin-bottom: 0.5em; + } + + // Slide Notes .notes {position:absolute;z-index:1000;background: @blue90;color: @white;width: 100vw;height: 100vh;top: 0px;left: 0px;padding: 100px;.font-size(5); .border-box; overflow: scroll; li {