Skip to content

Commit

Permalink
Added footer. Shrinking logo on small screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdtw committed Jun 7, 2017
1 parent 61ad179 commit 73c84e4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Pixelated Github organisation website

## Run locally

You can run the Jekyll site locally with the `run_site.sh` script. This requires Jekyll.
You can run the site locally with Jekyll. This requires a local installation of Jekyll.

gem install jekyll
./run_site.sh
jekyll serve

By default the site is available at [http://localhost:4000](http://localhost:4000)

Expand All @@ -22,5 +22,4 @@ Simply push the changes to the origin on Github.

* make flexbozes grow and shrink a bit depending on viewport width
* maybe make left/right marging smaller on small screens
* shrink logo on small screens
* move welcome image below paragraph on small screens
26 changes: 26 additions & 0 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ a {
background: #DDD;
}

.footer-band {
background: #AAA;
}

/* content divs that have a maximum width */

Expand Down Expand Up @@ -88,6 +91,22 @@ section.faq, section.status {
padding-bottom: 2em;
}

footer {
@include content-div;
padding-top: 0.5em;
padding-bottom: 0.5em;
text-align: center;
}

footer a {
color: black;

&:hover,
&:focus {
color: #666;
}
}

/* features section with flex boxes */

section.features {
Expand All @@ -111,9 +130,16 @@ section.features > div > h2 {

/* specific formatting */

section.logo img {
max-width: 90%;
}

.welcome-img {
float: right;
margin-top: 1em;
margin-left: 1em;
}

footer .icon {
height: 2em;
}
Binary file added assets/images/fb_marca.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,10 @@ <h2>Status of Pixelated</h2>

</section>
</div>

<div class="footer-band">
<footer>
<a href="https://github.com/pixelated"><img class="icon" src="/assets/images/github.svg"><br>
github.com/pixelated</a>
</footer>
</div>

0 comments on commit 73c84e4

Please sign in to comment.