fixed footer position

This commit is contained in:
Samuel Philipp 2018-12-12 17:47:11 +01:00
parent a962504ea8
commit af34674ea5
2 changed files with 3 additions and 6 deletions

View file

@ -3,16 +3,13 @@
src: local('Minotaur Phatte'), url(../font/minotaur.ttf) format('truetype'); src: local('Minotaur Phatte'), url(../font/minotaur.ttf) format('truetype');
} }
html, body {
height: 100%;
}
body { body {
background-image: url("../img/bg.png"); background-image: url("../img/bg.png");
/*padding: 2%;*/ /*padding: 2%;*/
/*font-size: 20px;*/ /*font-size: 20px;*/
color: #fff; color: #fff;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
min-height: 100vh;
} }
.logo { .logo {
@ -53,7 +50,7 @@ a:hover {
} }
.flex-grow { .flex-grow {
flex: 1 0 auto; flex: 1;
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {

View file

@ -35,7 +35,7 @@
</head> </head>
<body class="d-flex flex-column"> <body class="d-flex flex-column">
<div class="container flex-column flex-grow p-3"> <div class="container flex-column flex-grow p-3">
<div class="row justify-content-center py-5"> <div class="row py-5">
<div class="col"> <div class="col">
<img class="logo" src="img/samuel.png"> <img class="logo" src="img/samuel.png">
</div> </div>