Improve sizing of entire layout #151

Merged
raucao merged 1 commits from feature/layout_sizing into master 2019-09-03 11:40:39 +00:00
5 changed files with 8 additions and 19 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ button, input[type=submit], .button {
}
&.small {
font-size: 0.8rem;
font-size: 0.86rem;
padding: 0.2rem 0.8rem;
}
+6 -3
View File
@@ -2,7 +2,6 @@
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 14px;
}
*:hover, *:active, *:focus {
@@ -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) {
@@ -29,7 +29,6 @@ section#contribution-details {
margin-bottom: 2rem;
span {
font-size: inherit;
}
&.who-what-when {
@@ -45,9 +44,8 @@ section#contribution-details {
a {
color: $primary-color;
text-decoration: none;
font-size: inherit;
&:hover {
&:not(.button):hover {
text-decoration: underline;
}
}
@@ -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;
}
@@ -60,7 +57,6 @@ ul.contribution-list {
p {
align-self: center;
margin: 0;
font-size: inherit;
line-height: 2rem;
overflow: hidden;
text-overflow: ellipsis;
@@ -72,11 +68,8 @@ ul.contribution-list {
}
span {
font-size: inherit;
&.title {
a {
font-size: inherit;
text-decoration: none;
color: $body-text-color;
}
@@ -151,9 +144,7 @@ ul.contribution-list {
}
}
.description {
font-size: inherit;
}
}
}
@@ -19,7 +19,6 @@ ul.proposal-list {
p {
align-self: center;
margin: 0;
font-size: inherit;
line-height: 2rem;
&.kredits-amount, &.voting {
@@ -36,7 +35,6 @@ ul.proposal-list {
}
span {
font-size: inherit;
}
.description {
@@ -107,7 +105,6 @@ ul.proposal-list {
.description {
font-size: inherit;
}
}
}