Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed extra margin below nested bullets #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 19 additions & 2 deletions themes/style/datastax.less
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,18 @@ 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;}
}
}

// 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; padding: 0; }

// Images
.image, .imageblock {
img {
Expand All @@ -129,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 {
Expand Down Expand Up @@ -317,4 +333,5 @@ a:hover, a:focus {
}

// Hide these things from other themes
.deck-header-summit, .flex-element-summit {display: none;}
.deck-header-summit, .flex-element-summit {display: none;}