Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer clash with side menu resolved #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,22 @@ <h3>Current projects</h3>
<h3>Want to know your first PR?</h3>

<p class="view"><a href="http://firstpr.me">firstpr.me</a></p>



</header>
<section>

{{ content }}

</section>
<footer>
<p>This project is maintained by <a href="https://www.github.com/my-first-pr">my-first-pr</a></p>

<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
<footer>
<p>This project is maintained by <a href="https://www.github.com/my-first-pr">my-first-pr</a><br />

<small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>

</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if site.google_analytics %}
Expand Down Expand Up @@ -85,4 +90,4 @@ <h3>Want to know your first PR?</h3>
request.send();
</script>
</body>
</html>
</html>
55 changes: 55 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
---

@import "{{ site.theme }}";

body{
padding: 10px;
}

header{
height: 90%;
overflow-x: hidden;
overflow-y: scroll;
}

footer{
bottom: 0px;
}

footer p{
margin: 0px 0px 10px;
}

/*Media Queries for adjusting height of header section for different screen resolution*/

@media only screen and (max-height: 512px) {
header{
height: 80%;
overflow-x: hidden;
overflow-y: scroll;
}
}

@media only screen and (max-height: 360px) {
header{
height: 70%;
overflow-x: hidden;
overflow-y: scroll;
}
}

@media only screen and (max-height : 240px) {
header{
height: 60%;
overflow-x: hidden;
overflow-y: scroll;
}
}

@media only screen and (max-width: 960px) {
header{
overflow-x: hidden;
overflow-y: hidden;
}
}