瀏覽代碼

Fixed line spacing glitch

full-screen-logo-homepage
Said Achmiz 5 年之前
父節點
當前提交
df672c2927
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7
    2
      assets/css/main.css

+ 7
- 2
assets/css/main.css 查看文件

--deus-image-border-color: var(--deus-color-golden-brown); --deus-image-border-color: var(--deus-color-golden-brown);


/* Typography. */ /* Typography. */
--deus-content-base-font-size: 1.125rem;
/* 1rem = 16px (set on 'html').
These calculated values ensure integer line height;
otherwise, line spacing will vary in pixel count, leading to
a subtly inconsistent appearance of the body text.
*/
--deus-content-base-font-size: calc(1rem * 9/8);


--deus-body-font: HK Grotesk; --deus-body-font: HK Grotesk;
--deus-body-font-weight: 300; --deus-body-font-weight: 300;
--deus-body-text-shadow: none; --deus-body-text-shadow: none;
--deus-body-text-line-spacing: 1.4;
--deus-body-text-line-spacing: calc(1 + 7/(16 * 9/8));
--deus-body-text-paragraph-spacing: 1em; --deus-body-text-paragraph-spacing: 1em;


--deus-heading-font: Spectral SC; --deus-heading-font: Spectral SC;

Loading…
取消
儲存