mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25: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 {
|
.floating-navbar {
|
||||||
border-top: 4px solid #4286f4;
|
//border-top: 4px solid #4286f4;
|
||||||
background-color: #a5a5a5;
|
background-color: #a5a5a5;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
|
postion: fixed;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.navbar a.navbar-brand {
|
.navbar a.navbar-brand {
|
||||||
background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat;
|
background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat;
|
||||||
|
|
|
@ -100,6 +100,15 @@ code {
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: 15px
|
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 {
|
.index-page--subtitle {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav class="navbar navbar-default" role="navigation">
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<!-- <a class="navbar-brand" th:href="@{/}"><span></span></a> -->
|
<!-- <a class="navbar-brand" th:href="@{/}"><span></span></a> -->
|
||||||
|
|
Loading…
Reference in a new issue