Skip to content

Instantly share code, notes, and snippets.

@jmcclellan
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmcclellan/8797401 to your computer and use it in GitHub Desktop.
Save jmcclellan/8797401 to your computer and use it in GitHub Desktop.
Soliloquy nested LESS/SCSS classes
.soliloquy-container {
.soliloquy {
ul.soliloquy-slides {
li.soliloquy-item {
img.soliloquy-item-image {
// make sure the image fills the width of the container
width: 100%;
}
.soliloquy-caption {
.soliloquy-caption-inside {
h2.soliloquy-fc-title {
}
p.soliloquy-fc-content {
a.soliloquy-fc-read-more {
} // .soliloquy-fc-read-more
} // .soliloquy-fc-content
} // .soliloquy-caption-inside
} // .soliloquy-caption
} // .soliloquy-item
} // .soliloquy-slides
} // .soliloquy
.soliloquy-control-nav {
li {
a {
}
a.soliloquy-active {
}
}
}
.soliloquy-direction-nav {
li {
a.soliloquy-prev {
}
a.soliloquy-next {
}
}
}
} // .soliloquy-container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment