diff --git a/themes/chameleon/source/css/_source.css b/themes/chameleon/source/css/_source.css index 224e212..d39e858 100644 --- a/themes/chameleon/source/css/_source.css +++ b/themes/chameleon/source/css/_source.css @@ -7,7 +7,6 @@ --main-font-color: #e6e6e6; --link-hover: white; --alt-bg-color: #333; - --font-size: 1.2em; --link-underline: #3d73b0; } @@ -21,7 +20,7 @@ body { color: var(--main-font-color); background: var(--main-bg-color); font-family: sans-serif; - font-size: var(--font-size); + font-size: 1.2em; /* https://stackoverflow.com/a/6654996 */ min-height: 100%; line-height: 1.5; @@ -322,7 +321,6 @@ span.index-list-count:after { /* https://jrl.ninja/etc/1/ */ .archive-container { position: relative; - font-size: 1em; max-width: 80ch; padding: 2ch; margin: auto; @@ -768,10 +766,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 768px) { - body { - font-size: 1.2em; - } - .article-title { font-size: 1.8rem; } @@ -798,10 +792,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 468px) { - :root { - --font-size: 1em; - } - .archive-container .archive-footer, .archive-container .post-footer { padding: 1em; @@ -814,10 +804,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 320px) { - :root { - --font-size: 0.9em; - } - .article { font-size: 1em; } diff --git a/themes/chameleon/source/css/chameleon.css b/themes/chameleon/source/css/chameleon.css index f7bb9c2..b5f2a75 100644 --- a/themes/chameleon/source/css/chameleon.css +++ b/themes/chameleon/source/css/chameleon.css @@ -474,7 +474,6 @@ select:not([multiple]):not([size]) { --main-font-color: #e6e6e6; --link-hover: white; --alt-bg-color: #333; - --font-size: 1.2em; --link-underline: #3d73b0; } @@ -488,7 +487,7 @@ body { color: var(--main-font-color); background: var(--main-bg-color); font-family: sans-serif; - font-size: var(--font-size); + font-size: 1.2em; /* https://stackoverflow.com/a/6654996 */ min-height: 100%; line-height: 1.5; @@ -793,7 +792,6 @@ span.index-list-count:after { /* https://jrl.ninja/etc/1/ */ .archive-container { position: relative; - font-size: 1em; max-width: 80ch; padding: 2ch; margin: auto; @@ -1239,10 +1237,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 768px) { - body { - font-size: 1.2em; - } - .article-title { font-size: 1.8rem; } @@ -1269,10 +1263,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 468px) { - :root { - --font-size: 1em; - } - .archive-container .archive-footer, .archive-container .post-footer { padding: 1em; @@ -1285,10 +1275,6 @@ unhide (via JS) if Web Share API is supported */ } @media (max-width: 320px) { - :root { - --font-size: 0.9em; - } - .article { font-size: 1em; }