Make the background only as long as the words
This commit is contained in:
parent
dda8fee22a
commit
15cc26ad89
2 changed files with 12 additions and 1 deletions
|
@ -56,5 +56,15 @@
|
||||||
* any part of the grassy field image used as the background.
|
* any part of the grassy field image used as the background.
|
||||||
*/
|
*/
|
||||||
.footer .views-field {
|
.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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ $red: #a70c20;
|
||||||
$light-green: #65AB1F;
|
$light-green: #65AB1F;
|
||||||
$green: #478D00;
|
$green: #478D00;
|
||||||
$green-gray: #8FB489;
|
$green-gray: #8FB489;
|
||||||
|
$offwhite: #F8F8F8;
|
||||||
|
|
||||||
// Update Bulma's global variables.
|
// Update Bulma's global variables.
|
||||||
$primary: $green;
|
$primary: $green;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue