Skip to content

Commit e82d32c

Browse files
authored
Merge pull request OpenGenus#96 from AnkitaKhurana/footer_body
Fixed Footer and Extra Spacing in body
2 parents beb17d6 + 3cb1c49 commit e82d32c

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

code/css/popup.css

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
html {
2-
position: relative;
3-
min-height: 100%;
4-
}
1+
html,body
2+
{
3+
width: 100%;
4+
height: 100%;
5+
margin: 0px;
6+
padding: 0px;
7+
overflow-x: hidden;
8+
position:absolute;
59

10+
}
611
body {
7-
position: relative;
12+
813
font-family: 'Roboto Mono', monospace;
9-
margin-bottom: 60px;
1014
}
11-
1215
article {
1316
display: block;
1417
text-align: left;
@@ -17,16 +20,16 @@ article {
1720
padding-bottom: 15%;
1821
margin: 0 auto;
1922
}
20-
.footer {
21-
position: absolute;
23+
footer {
24+
clear:both;
25+
position: fixed;
2226
bottom: 0;
2327
right: 0;
2428
left: 0;
2529
width: 100%;
2630
height: 60px;
2731
line-height: 60px;
28-
background-color: #E5E8E8;
29-
margin-top: 2%;
32+
background-color: #E5E8E8;
3033
}
3134

3235
.favListItem {
@@ -97,7 +100,10 @@ li {
97100
background-color:rgb(255, 193, 7);
98101
/*Lighter shade for future use -> rgba(255, 191, 0, 0.52);*/
99102
}
100-
103+
.bricklayer
104+
{
105+
margin-bottom: 200px;
106+
}
101107

102108
@media screen and (min-width: 768px) {
103109
.bricklayer-column-sizer {

code/popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h1 style="text-align: center;">World's first Offline Search Engine</h1>
104104

105105
<footer class="footer">
106106
<div class="container">
107-
<span class="text-muted">Built with ❤ @<a target="_blank" title="Works only when you are online" href="https://github.com/OpenGenus/">OpenGenus</a>
107+
<span class="text-muted float-left">Built with ❤ @<a target="_blank" title="Works only when you are online" href="https://github.com/OpenGenus/">OpenGenus</a>
108108
Email: <a target="_blank" title="Works offline if email app enabled" href="mailto:team@opengenus.org"> 📬 team@opengenus.org</a></span>
109109
<span class="text-muted float-right">Maintained by and part of the <a target="_blank" title="Works only when you are online" href="http://www.opengenus.org/"> 👪 OpenGenus Foundation</a></span>
110110
</div>

0 commit comments

Comments
 (0)