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

_navbar-align.scss « mixins « scss - github.com/uicardiodev/hugo-sodium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b351660335060856d40a7bb9ed5d72bdbbcfad1b (plain)
1
2
3
4
5
6
7
8
9
10
// 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);
// }