Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
make settings page responsive (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihakhanna authored and ianb committed Aug 30, 2017
1 parent 52aa0fe commit 5cc3d0e
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions static/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,19 @@

#settings-header {
margin: 40px auto 15px;
width: 960px;
position: relative;

@include respond-to("small") {
width: 480px;
}

@include respond-to("medium") {
width: 720px;
}

@include respond-to("large") {
width: 960px;
}
}

.sub-header {
Expand All @@ -39,9 +50,21 @@
}

.preferences {
width: 960px;

@include respond-to("small") {
width: 480px;
}

@include respond-to("medium") {
width: 720px;
}

@include respond-to("large") {
width: 960px;
}

margin: auto;
padding-top: 40px;
padding: 40px 20px 0 20px;

.info-container {
margin-left: 30px;
Expand All @@ -56,7 +79,7 @@
height: 1px;
border: 0;
border-top: 1px solid #e5e5e5;
margin: 1em 0;
margin: auto;
padding: 0;
}

Expand Down Expand Up @@ -107,7 +130,7 @@
&:hover {
background-color: $light-hover;
}

&:active {
background-color: $light-active;
}
Expand Down

0 comments on commit 5cc3d0e

Please sign in to comment.