navbar to center, awards table header to sticky

This commit is contained in:
Andy
2019-08-29 20:45:15 +01:00
parent 87bc0a66e3
commit 3bbe108ef1
2 changed files with 22 additions and 1 deletions

View File

@@ -22,7 +22,7 @@
</head>
<body>
<div class="container" id="nav-container">
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="<?php echo site_url(); ?>">Cloudlog</a>
@@ -126,3 +126,4 @@
<?php } ?>
</div>
</nav>
</div>

View File

@@ -1,6 +1,26 @@
.navbar {
margin: 0 auto;
width: 100%;
border-radius: 10px;
position: relative;
}
.container {
margin-top: 55px;
}
#nav-container {
margin-top: 0;
position: sticky;
top: 0;
}
thead > tr > td {
position: sticky;
top: 45px;
background-color: aliceblue;
}
.fancybox-content {
width : 710px !important;
height : 310px !important;