ui: tweak modular scale, move from oxygen to inter

This commit is contained in:
Jean-Philippe Sirois
2020-05-22 01:33:40 -04:00
parent 429197693b
commit 2d267a8064
6 changed files with 24 additions and 18 deletions
+13 -11
View File
@@ -44,29 +44,31 @@ export const MarkdownWrapper = styled.div`
}
h1 {
${modularScaleCSS(6)};
}
h2 {
${modularScaleCSS(5)};
}
h3 {
${modularScaleCSS(4)};
}
h4 {
h2 {
${modularScaleCSS(3)};
@media screen and (min-width: 1440px) {
margin-left: -27px;
}
}
h5 {
h3 {
${modularScaleCSS(2)};
}
h6 {
h4 {
${modularScaleCSS(1)};
}
h5,
h6 {
font-size: ${BASE_FONT_SIZE}px;
line-height: ${BASE_LINE_HEIGHT}px;
}
h1 .anchor svg,
h2 .anchor svg,
h3 .anchor svg,