_scss: minor changes to styles for "get docker" blocks

Make the rule more specific, reduce margin around tiles, and remove
unneeded float.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-09-02 00:32:23 +02:00
parent f3d07dd164
commit a5da30abed
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 4 additions and 6 deletions

View File

@ -63,23 +63,21 @@ code {
margin: 0 0 50px;
width: 100%;
.block {
padding: 0 15px 10px 15px;
}
.row {
display: flex;
flex-wrap: wrap;
}
.row > [class*='col-'] {
// "get-docker" tiles
.row > .block {
display: flex;
flex-direction: column;
padding: 10px;
}
.component {
padding: 15px 25px 15px 15px;
text-align: center;
float: left;
height: 100%;
width: 100%;
background: $bg-component;