Improve sizing of entire layout
This commit is contained in:
@@ -28,7 +28,7 @@ button, input[type=submit], .button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.small {
|
&.small {
|
||||||
font-size: 0.8rem;
|
font-size: 0.86rem;
|
||||||
padding: 0.2rem 0.8rem;
|
padding: 0.2rem 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+6
-3
@@ -2,7 +2,6 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 14px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*:hover, *:active, *:focus {
|
*:hover, *:active, *:focus {
|
||||||
@@ -17,13 +16,17 @@
|
|||||||
|
|
||||||
$font-family-sans: 'Open Sans', sans-serif;
|
$font-family-sans: 'Open Sans', sans-serif;
|
||||||
|
|
||||||
body {
|
html, body {
|
||||||
font-family: $font-family-sans;
|
font-family: $font-family-sans;
|
||||||
font-weight: 300;
|
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-image: linear-gradient(to bottom, rgba(22, 21, 40, .4), rgba(0, 0, 0, .75)), url('/img/bg.jpg');
|
||||||
background-repeat: none;
|
background-repeat: none;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
color: $body-text-color;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 900px) {
|
@media screen and (min-width: 900px) {
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ section#contribution-details {
|
|||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.who-what-when {
|
&.who-what-when {
|
||||||
@@ -45,9 +44,8 @@ section#contribution-details {
|
|||||||
a {
|
a {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: inherit;
|
|
||||||
|
|
||||||
&:hover {
|
&:not(.button):hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,13 +11,10 @@ main section {
|
|||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: inherit;
|
|
||||||
padding: 0.2rem 0 0;
|
padding: 0.2rem 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-size: inherit;
|
|
||||||
|
|
||||||
&+ label {
|
&+ label {
|
||||||
margin-left: 3.6rem;
|
margin-left: 3.6rem;
|
||||||
}
|
}
|
||||||
@@ -60,7 +57,6 @@ ul.contribution-list {
|
|||||||
p {
|
p {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: inherit;
|
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
@@ -72,11 +68,8 @@ ul.contribution-list {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: inherit;
|
|
||||||
|
|
||||||
&.title {
|
&.title {
|
||||||
a {
|
a {
|
||||||
font-size: inherit;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $body-text-color;
|
color: $body-text-color;
|
||||||
}
|
}
|
||||||
@@ -151,9 +144,7 @@ ul.contribution-list {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: inherit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ ul.proposal-list {
|
|||||||
p {
|
p {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: inherit;
|
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
|
||||||
&.kredits-amount, &.voting {
|
&.kredits-amount, &.voting {
|
||||||
@@ -36,7 +35,6 @@ ul.proposal-list {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
@@ -107,7 +105,6 @@ ul.proposal-list {
|
|||||||
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: inherit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user