Less specific classes is better

we can set CSS properties on the actual HTML elements,
here the background color of the html/body
This commit is contained in:
bumi 2020-04-09 19:14:04 +02:00
parent 971eba1355
commit 61ee840e19
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@ $family-secondary: 'Comfortaa', cursive;
// $green: #007932; // hsl(141, 53%, 53%); // $green: #007932; // hsl(141, 53%, 53%);
// $footer-background-color: $light; // $footer-background-color: $light;
$text: $grey-dark;
$body-background-color: #FAFCFE;
@import 'bulma/bulma'; @import 'bulma/bulma';
.is-font-logo { .is-font-logo {

View File

@ -11,7 +11,7 @@
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
</head> </head>
<body class="has-background-white-bis"> <body>
<!-- Wrapper --> <!-- Wrapper -->
<div id="wrapper" class="has-text-centered-mobile"> <div id="wrapper" class="has-text-centered-mobile">