Browse Source

Create and use custom brand color

Create class `bg-jovian` and use it for navbar.
DricomDragon 4 năm trước cách đây
mục cha
commit
5645a06066
2 tập tin đã thay đổi với 7 bổ sung2 xóa
  1. 6 1
      web/include/css/custom/main.css
  2. 1 1
      web/include/navbar.php

+ 6 - 1
web/include/css/custom/main.css

@@ -30,6 +30,11 @@ h4 {
     }
 }
 
+/* Jovian custom color */
+.bg-jovian {
+    background-color: #004D40;
+}
+
 /* Dropdown acive color */
 .dropdown-item.active {
     background-color: #28a745;
@@ -98,4 +103,4 @@ main a {
 /* Footer */
 .footer a {
     color: #1c7430;
-}
+}

+ 1 - 1
web/include/navbar.php

@@ -1,5 +1,5 @@
 <!-- Navbar -->
-<nav class="navbar navbar-expand-md navbar-dark bg-success fixed-top">
+<nav class="navbar navbar-expand-md navbar-dark bg-jovian fixed-top">
     <a class="navbar-brand" href="/index.php">Jovian Hersemeule</a>
     <img class="rounded-circle jovian-toggler" type="button" data-toggle="collapse" data-target="#joviaNav"
          aria-controls="joviaNav"