Make likes count offset into variables

Since spacing/size of icons may vary with theme
merge-requests/8/head
Bob Mottram 2020-10-28 15:10:20 +00:00
parent 1571eb86fc
commit 3f64977f7d
1 changed files with 4 additions and 2 deletions

View File

@ -110,6 +110,8 @@
--containericons-horizontal-spacing: 1%;
--containericons-horizontal-spacing-mobile: 3%;
--containericons-horizontal-offset: -1%;
--likes-count-offset: 5px;
--likes-count-offset-mobile: 10px;
}
@font-face {
@ -1162,7 +1164,7 @@ div.container {
font-family: Arial, Helvetica, sans-serif;
float: right;
padding: 10px 0;
transform: translateX(5px);
transform: translateX(var(--likes-count-offset));
font-weight: bold;
}
.container p.administeredby {
@ -1773,7 +1775,7 @@ div.container {
font-family: Arial, Helvetica, sans-serif;
float: right;
padding: 32px 0;
transform: translateX(10px);
transform: translateX(var(--likes-count-offset-mobile));
font-weight: bold;
}
.container p.administeredby {