mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
nav bar float
This commit is contained in:
parent
bcaf4b5371
commit
998f4bde5b
3 changed files with 16 additions and 3 deletions
|
@ -1,12 +1,16 @@
|
|||
.navbar {
|
||||
border-top: 4px solid #4286f4;
|
||||
.floating-navbar {
|
||||
//border-top: 4px solid #4286f4;
|
||||
background-color: #a5a5a5;
|
||||
margin-bottom: 0px;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
postion: fixed;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.navbar a.navbar-brand {
|
||||
background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat;
|
||||
|
|
|
@ -100,6 +100,15 @@ code {
|
|||
h1 {
|
||||
margin-bottom: 15px
|
||||
}
|
||||
h6{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
background-size: cover;
|
||||
-o-background-size: cover;
|
||||
}
|
||||
|
||||
.index-page--subtitle {
|
||||
font-size: 16px;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-default" role="navigation">
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<!-- <a class="navbar-brand" th:href="@{/}"><span></span></a> -->
|
||||
|
|
Loading…
Reference in a new issue