forked from FrontendMatter/material-design-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader-layout.html
More file actions
60 lines (53 loc) · 1.27 KB
/
Copy pathheader-layout.html
File metadata and controls
60 lines (53 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: Basic header layout
---
{% extends "layouts/demo.html" %}
{% block page %}
<style>
.container {
padding-left: 2rem;
padding-right: 2rem;
}
body {
display: flex;
flex-direction: row;
position: relative;
overflow: hidden;
padding: 2rem;
height: 100vh;
background-color: #ddd;
}
#custom {
flex: 1;
height: 100%;
position: relative;
overflow: hidden;
background-color: #fff;
}
</style>
<div id="custom">
<!-- header-layout -->
<div class="mdk-header-layout mdk-js-header-layout" has-scrolling-region>
<!-- header -->
<div class="mdk-header mdk-js-header bg-primary"
effects="waterfall"
condenses fixed>
<div class="mdk-header__content">
<button class="navbar-toggler" type="button">
<span class="material-icons">menu</span>
</button>
</div>
</div>
<!-- content -->
<div class="mdk-header-layout__content">
<div class="container">
<div class="content">
{% include '_header-layout.html' %}
<hr>
{% include '_sample-content.html' %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}