Difference between revisions of "Template:NCKU Tainan/navbar"

(Created page with "<html> <head> </head> <body> <nav class="navbar navbar-expand-lg navbar-light fixed-top" style="background-color: #7ae26f;"> <a class="navb...")
 
Line 87: Line 87:
 
       .dropdown-menu li:hover .sub-menu {visibility: visible;}
 
       .dropdown-menu li:hover .sub-menu {visibility: visible;}
 
       .dropdown:hover .dropdown-menu {display: block;}
 
       .dropdown:hover .dropdown-menu {display: block;}
 +
 +
      @media (min-width: 992px) {
 +
        .navbar {
 +
          padding-left: 80px;
 +
          padding-right: 80px;
 +
        }
 +
      }
 +
      @media (max-width: 768px) {
 +
        .navbar-right form {
 +
          display: none;
 +
        }
 +
      }
 
     </style>
 
     </style>
 
     </body>
 
     </body>
 
</html>
 
</html>

Revision as of 08:34, 9 July 2018