From b9c709823e26f5b20d3732e1788b871cdd961a03 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 27 Aug 2019 12:29:12 +0530 Subject: added intial code for project --- .../bootstrap/less/mixins/nav-vertical-align.less | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 static/website/bootstrap-css/bower_components/bootstrap/less/mixins/nav-vertical-align.less (limited to 'static/website/bootstrap-css/bower_components/bootstrap/less/mixins/nav-vertical-align.less') diff --git a/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/nav-vertical-align.less b/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/nav-vertical-align.less new file mode 100644 index 0000000..d458c78 --- /dev/null +++ b/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/nav-vertical-align.less @@ -0,0 +1,9 @@ +// 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. + +.navbar-vertical-align(@element-height) { + margin-top: ((@navbar-height - @element-height) / 2); + margin-bottom: ((@navbar-height - @element-height) / 2); +} -- cgit