add z-index

This commit is contained in:
Henrique Dias 2016-06-23 20:18:03 +01:00
parent 076d13fbc1
commit 56d748106c
2 changed files with 3 additions and 0 deletions

View File

@ -575,6 +575,7 @@ pre {
header { header {
background-color: #2196f3; background-color: #2196f3;
padding: 1.7em 0; padding: 1.7em 0;
z-index: 999;
} }
header h1 { header h1 {
margin: 0; margin: 0;
@ -662,6 +663,7 @@ header, #toolbar {
top: -4em; top: -4em;
opacity: 0; opacity: 0;
transition: .2s ease-in-out all; transition: .2s ease-in-out all;
z-index: 1000;
} }
#toolbar.enabled { #toolbar.enabled {
top: 0; top: 0;

View File

@ -15,6 +15,7 @@
{{ if .Config.HugoEnabled }} {{ if .Config.HugoEnabled }}
<!-- Hugo plugin stuff --> <!-- Hugo plugin stuff -->
<link rel="stylesheet" href="{{ .Config.BaseURL }}/_hugointernal/css/styles.css"> <link rel="stylesheet" href="{{ .Config.BaseURL }}/_hugointernal/css/styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.3/ace.js"></script>
<script src="{{ .Config.BaseURL }}/_hugointernal/js/application.js"></script> <script src="{{ .Config.BaseURL }}/_hugointernal/js/application.js"></script>
{{ end }} {{ end }}
</head> </head>