diff --git a/app/styles/_buttons.scss b/app/styles/_buttons.scss index eea2c90..53f1883 100644 --- a/app/styles/_buttons.scss +++ b/app/styles/_buttons.scss @@ -28,7 +28,7 @@ button, input[type=submit], .button { } &.small { - font-size: 0.8rem; + font-size: 0.86rem; padding: 0.2rem 0.8rem; } diff --git a/app/styles/app.scss b/app/styles/app.scss index 8396a20..03d3306 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -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) { diff --git a/app/styles/components/_contribution-details.scss b/app/styles/components/_contribution-details.scss index eab3907..d10e146 100644 --- a/app/styles/components/_contribution-details.scss +++ b/app/styles/components/_contribution-details.scss @@ -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; } } diff --git a/app/styles/components/_contribution-list.scss b/app/styles/components/_contribution-list.scss index 57d9444..e886f2e 100644 --- a/app/styles/components/_contribution-list.scss +++ b/app/styles/components/_contribution-list.scss @@ -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; } } } diff --git a/app/styles/components/_proposal-list.scss b/app/styles/components/_proposal-list.scss index 2527ad2..0ab5fd9 100644 --- a/app/styles/components/_proposal-list.scss +++ b/app/styles/components/_proposal-list.scss @@ -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; } } }