Skip to content

Commit e543abb

Browse files
committed
tweak appearance of logotype in footer; use computed font sizes
1 parent 4fc52ea commit e543abb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/css/footer.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,19 @@ footer.footer {
4848
.footer-brand figcaption {
4949
color: var(--footer-link-font-color);
5050
font-family: "Comfortaa", sans-serif;
51-
font-size: 1.9rem;
51+
font-size: calc(36 / var(--rem-base) * 1rem);
5252
line-height: 1;
5353
position: relative;
54-
top: 0.0625em;
54+
top: 6%; /* compensate for built-in line height in font */
55+
letter-spacing: -0.01em;
5556
}
5657

5758
.footer-brand .logo + figcaption {
58-
margin-left: 0.5em;
59+
margin-left: 1rem;
5960
}
6061

6162
.footer-brand img {
62-
height: 45px;
63+
height: calc(45 / var(--rem-base) * 1rem);
6364
}
6465

6566
.footer-brand-links {

0 commit comments

Comments
 (0)