Make the background only as long as the words

This commit is contained in:
Benjamin Melançon 2019-08-30 21:09:32 -04:00
parent dda8fee22a
commit 15cc26ad89
2 changed files with 12 additions and 1 deletions

View file

@ -56,5 +56,15 @@
* any part of the grassy field image used as the background.
*/
.footer .views-field {
background-color: rgba($green-gray, 0.4);
.field-content {
background-color: rgba($offwhite, 0.9);
padding: 0.2em;
border-radius: 0.3em;
}
&.views-field-changed {
font-size: 0.8em;
color: $green-gray;
margin-top: 0.2rem;
margin-bottom: 0.4rem;
}
}

View file

@ -6,6 +6,7 @@ $red: #a70c20;
$light-green: #65AB1F;
$green: #478D00;
$green-gray: #8FB489;
$offwhite: #F8F8F8;
// Update Bulma's global variables.
$primary: $green;