Basic footer layout
This commit is contained in:
parent
67506d28bf
commit
cd861dd437
@ -22,8 +22,8 @@
|
|||||||
<ng-view></ng-view>
|
<ng-view></ng-view>
|
||||||
</div>
|
</div>
|
||||||
<ng-include src="'views/sidebar.html'"></ng-include>
|
<ng-include src="'views/sidebar.html'"></ng-include>
|
||||||
<ng-include src="'views/footer.html'"></ng-include>
|
|
||||||
</div>
|
</div>
|
||||||
|
<ng-include src="'views/footer.html'"></ng-include>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -33,7 +33,7 @@ a
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
width: 800px;
|
width: 800px;
|
||||||
min-height: calc(100vh - 120px);
|
min-height: calc(100vh - 116px - 100px);
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
@ -125,11 +125,20 @@ a
|
|||||||
|
|
||||||
.footerContainer
|
.footerContainer
|
||||||
{
|
{
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100px;
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centreFooterContainer
|
||||||
|
{
|
||||||
|
width: calc(800px - 20px);
|
||||||
|
height: 100%;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
padding: 10px;
|
||||||
|
|
||||||
|
color: #fff;
|
||||||
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar
|
.sidebar
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
<div class="footerContainer">
|
<div class="footerContainer">
|
||||||
|
<div class="centreFooterContainer">
|
||||||
Footer
|
Footer
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user