rocket-pinboard/scss/mixins/_navbar-align.scss
Paul van Tilburg 7f36f116a6 Switch to Sass based custom CSS
* Include the Bootstrap v4.0.0-beta3 SCSS sources
* Use the old custom.css as a basis for wishlist.scss
* Set the correct column count based on the media sizes
2017-12-29 23:55:12 +01:00

11 lines
385 B
SCSS

// Navbar vertical align
//
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);`
// to calculate the appropriate top margin.
// @mixin navbar-vertical-align($element-height) {
// margin-top: (($navbar-height - $element-height) / 2);
// margin-bottom: (($navbar-height - $element-height) / 2);
// }