浏览代码

added logo image style for navbar

Christian Kahlau 4 年之前
父节点
当前提交
f4bef50926
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      scss/_navbar.scss

+ 7 - 7
scss/_navbar.scss

@@ -8,7 +8,6 @@
 // Navbar position
 // Navbar position
 // Navbar themes
 // Navbar themes
 
 
-
 // Navbar
 // Navbar
 //
 //
 // Provide a static navbar from which we expand to create full-width, fixed, and
 // Provide a static navbar from which we expand to create full-width, fixed, and
@@ -48,7 +47,6 @@
   }
   }
 }
 }
 
 
-
 // Navbar brand
 // Navbar brand
 //
 //
 // Used for brand, project, or site names.
 // Used for brand, project, or site names.
@@ -65,8 +63,13 @@
   &:focus {
   &:focus {
     text-decoration: if($link-hover-decoration == underline, none, null);
     text-decoration: if($link-hover-decoration == underline, none, null);
   }
   }
-}
 
 
+  img.logo {
+    max-width: 50px;
+    max-height: 50px;
+    margin-right: 30px;
+  }
+}
 
 
 // Navbar nav
 // Navbar nav
 //
 //
@@ -89,7 +92,6 @@
   }
   }
 }
 }
 
 
-
 // Navbar text
 // Navbar text
 //
 //
 //
 //
@@ -99,7 +101,6 @@
   padding-bottom: $nav-link-padding-y;
   padding-bottom: $nav-link-padding-y;
 }
 }
 
 
-
 // Responsive navbar
 // Responsive navbar
 //
 //
 // Custom styles for responsive collapsing and toggling of navbar contents.
 // Custom styles for responsive collapsing and toggling of navbar contents.
@@ -199,7 +200,6 @@
 }
 }
 // scss-docs-end navbar-expand-loop
 // scss-docs-end navbar-expand-loop
 
 
-
 // Navbar themes
 // Navbar themes
 //
 //
 // Styles for switching between navbars with light or dark background.
 // Styles for switching between navbars with light or dark background.
@@ -249,7 +249,7 @@
 
 
     a,
     a,
     a:hover,
     a:hover,
-    a:focus  {
+    a:focus {
       color: $navbar-light-active-color;
       color: $navbar-light-active-color;
     }
     }
   }
   }