0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-02 04:12:47 +00:00

Use classes rather than inline styling for indentation

This commit is contained in:
G.Ambatte
2025-01-06 23:53:33 +13:00
parent 06005009e4
commit bf0614026d
2 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,8 @@
li {
list-style-type: none;
a {
display: inline-block;
width: 100%;
font-family: 'Open Sans';
font-size: 12px;
padding: 2px;
@@ -32,6 +34,14 @@
&.pageLink {
font-weight: 900;
}
@depths: 1,2,3,4,5,6,7;
each(@depths, {
&.depth-@{value} {
padding-left: ((@value - 1) * 0.5em);
}
});
}
}
}