Skip to content

Commit

Permalink
fix footer for small displays
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Michonneau committed Feb 23, 2015
1 parent 5ea8320 commit ec38fb6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions css/swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,10 @@ a:hover {
}

footer {
background:#2b3990;
padding:20px 0;
background: #2b3990;
padding: 20px 0;
font-size: 10pt;
margin-top:10px;
margin-top: 10px;
}

footer a, footer a:hover{
Expand All @@ -567,18 +567,19 @@ footer .container .links {
background:url('../img/software-carpentry-banner-white.png') no-repeat;
background-size: 200px;
background-position: 0;
height: 40px;
min-height: 40px;
padding: 20px 0px 0px 200px;
text-align: right;
}


/* Footer of every page. */
/* TODO -- might clash with site footer */
div.footer {
clear: both;
background: url("/img/main_shadow.png") repeat-x scroll center top #FFFFFF;
padding: 4px 10px 7px 10px;
border-top: 1px solid #A6A6A6;
border-top: 1px solid #A6A6A6;
text-align: right;
}

Expand Down Expand Up @@ -726,7 +727,13 @@ div.chapter h2 {
height: 36px;
margin-top: 10px
}
footer .container .links {
background:url('../img/software-carpentry-banner-white.png') no-repeat;
background-size: 180px;
background-position: 0;
}
}

/* GitHub ribbon breaking point */
@media screen and (min-width: 600px) {
#github-ribbon {
Expand Down

0 comments on commit ec38fb6

Please sign in to comment.