Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Made it more responsible with small screens
Browse files Browse the repository at this point in the history
It is now looking better on smartphones and tablets.
  • Loading branch information
lxndio committed Nov 12, 2014
1 parent 5076c89 commit 91acb0d
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,23 @@ hr {
background-color: #000000;
}

.content {
padding-left: 30%;
padding-right: 30%;
@media (max-width: 767px) {
.content {
padding-left: 10%;
padding-right: 10%;
}
}
@media (min-width: 768px) and (max-width: 1279px) {
.content {
padding-left: 20%;
padding-right: 20%;
}
}
@media (min-width: 1280px) {
.content {
padding-left: 30%;
padding-right: 30%;
}
}

.main-header {
Expand Down

0 comments on commit 91acb0d

Please sign in to comment.