Skip to content

Commit

Permalink
made footer sticky to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan1x committed Jan 29, 2021
1 parent 4bc4dd0 commit 0ecabea
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
20 changes: 16 additions & 4 deletions static/css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
*{
position: relative;
}

body {
font-family: 'Poppins', sans-serif;
height: 100%;
background-color: #ffba08;
height: 100%;

}

h1{
Expand Down Expand Up @@ -55,6 +60,11 @@ input[type=submit]:hover {
color : #ffba08;
background-color: #343a40 ;
}

.extra-margin{
margin-bottom: 50px;
}

.error{
color: red;
}
Expand All @@ -63,9 +73,11 @@ input[type=submit]:hover {
.footer{
background: black;
color:#ffba08;
height: 150px;
position: relative;

/* height: 150px; */
position: fixed;
bottom: 0;
left: 0;
width: 100%;
}


Expand Down
4 changes: 2 additions & 2 deletions templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@


<body>
<nav class="navbar navbar-expand-lg">
<!-- <nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="nav-link" id="companylogo" href="#">Logo</a>
<button class="btn btn-dark d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
Expand All @@ -105,7 +105,7 @@
</ul>
</div>
</div>
</nav>
</nav> -->
<div class="page-wrap d-flex flex-row align-items-center">
<div class="container">
<div class="row justify-content-center">
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ <h3 class="text-break" id="myInput">{{ seq }}</h3>
<button class="btn m-2 mb-3" data-clipboard-target="#myInput">Copy Sequence</button>
<P>Generated Random Reversed compliement sequence is :</P>
<h3 class="text-break" id="myInput1">{{ rev_seq }}</h3>
<button class="btn m-2" data-clipboard-target="#myInput1">Copy Reversed Sequence</button>

<button class="btn m-2 extra-margin" data-clipboard-target="#myInput1">Copy Reversed Sequence</button>
<div class="extra-margin"></div>
{% endif %}


Expand Down

0 comments on commit 0ecabea

Please sign in to comment.