Skip to content

Commit

Permalink
Mobile support
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyral committed May 2, 2015
1 parent dfa26c6 commit 67da318
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>My Website!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="description" content="My Website">
<meta name="author" content="My Name">

Expand Down
13 changes: 13 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,16 @@ i.fa {
i.fa:hover {
color: #00C5DB;
}

/* Make our font sizes look better and fit the page on mobile */
@media only screen and (max-width: 768px) {
h1 {
font-size: 2em;
}
h2 {
font-size: 1.2em;
}
p {
font-size: .8em;
}
}

0 comments on commit 67da318

Please sign in to comment.