Skip to content

Commit

Permalink
Merge pull request #151 from 67P/feature/layout_sizing
Browse files Browse the repository at this point in the history
Improve sizing of entire layout
  • Loading branch information
raucao authored Sep 3, 2019
2 parents 6b3666d + 2a384f3 commit 9bf2ae2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/styles/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ button, input[type=submit], .button {
}

&.small {
font-size: 0.8rem;
font-size: 0.86rem;
padding: 0.2rem 0.8rem;
}

Expand Down
9 changes: 6 additions & 3 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 14px;
}

*:hover, *:active, *:focus {
Expand All @@ -17,13 +16,17 @@

$font-family-sans: 'Open Sans', sans-serif;

body {
html, body {
font-family: $font-family-sans;
font-weight: 300;
font-size: 12px;
color: $body-text-color;
}

body {
background-image: linear-gradient(to bottom, rgba(22, 21, 40, .4), rgba(0, 0, 0, .75)), url('/img/bg.jpg');
background-repeat: none;
background-attachment: fixed;
color: $body-text-color;
}

@media screen and (min-width: 900px) {
Expand Down
4 changes: 1 addition & 3 deletions app/styles/components/_contribution-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ section#contribution-details {
margin-bottom: 2rem;

span {
font-size: inherit;
}

&.who-what-when {
Expand All @@ -45,9 +44,8 @@ section#contribution-details {
a {
color: $primary-color;
text-decoration: none;
font-size: inherit;

&:hover {
&:not(.button):hover {
text-decoration: underline;
}
}
Expand Down
9 changes: 0 additions & 9 deletions app/styles/components/_contribution-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ main section {
margin-bottom: 2rem;

p {
font-size: inherit;
padding: 0.2rem 0 0;
}

label {
font-size: inherit;

&+ label {
margin-left: 3.6rem;
}
Expand Down Expand Up @@ -60,7 +57,6 @@ ul.contribution-list {
p {
align-self: center;
margin: 0;
font-size: inherit;
line-height: 2rem;
overflow: hidden;
text-overflow: ellipsis;
Expand All @@ -72,11 +68,8 @@ ul.contribution-list {
}

span {
font-size: inherit;

&.title {
a {
font-size: inherit;
text-decoration: none;
color: $body-text-color;
}
Expand Down Expand Up @@ -151,9 +144,7 @@ ul.contribution-list {
}
}


.description {
font-size: inherit;
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions app/styles/components/_proposal-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ul.proposal-list {
p {
align-self: center;
margin: 0;
font-size: inherit;
line-height: 2rem;

&.kredits-amount, &.voting {
Expand All @@ -36,7 +35,6 @@ ul.proposal-list {
}

span {
font-size: inherit;
}

.description {
Expand Down Expand Up @@ -107,7 +105,6 @@ ul.proposal-list {


.description {
font-size: inherit;
}
}
}
Expand Down

0 comments on commit 9bf2ae2

Please sign in to comment.