Compare commits

..

No commits in common. "ba12788236d7f8b258ea5927195fea28b5807834" and "daceeb75adc311b9885b753be07a69c130bdb41c" have entirely different histories.

14 changed files with 5 additions and 103 deletions

View File

@ -1,73 +0,0 @@
/**************/
/* HK GROTESK */
/**************/
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-LightItalic.otf') format('opentype');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-RegularItalic.otf') format('opentype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-MediumItalic.otf') format('opentype');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-SemiBold.otf') format('opentype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-SemiBoldItalic.otf') format('opentype');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'HK Grotesk';
src: url('/deus/assets/fonts/HKGrotesk/HKGrotesk-BoldItalic.otf') format('opentype');
font-weight: bold;
font-style: italic;
}

View File

@ -50,17 +50,11 @@
--deus-body-text-line-spacing: 1.4; --deus-body-text-line-spacing: 1.4;
--deus-body-text-paragraph-spacing: 1em; --deus-body-text-paragraph-spacing: 1em;
--deus-heading-font: Spectral SC; --deus-heading-font: PT Serif;
--deus-heading-font-variant: normal;
--deus-heading-font-opentype-features: none;
--deus-heading-font-size: 1.5em; --deus-heading-font-size: 1.5em;
--deus-heading-font-weight: 700;
--deus-heading-letter-spacing: normal;
--deus-heading-text-color: var(--deus-color-white); --deus-heading-text-color: var(--deus-color-white);
--deus-nav-ui-font: Spectral SC; --deus-nav-ui-font: PT Astra Serif;
--deus-nav-ui-font-variant: normal;
--deus-nav-ui-font-opentype-features: none;
/* Layout. */ /* Layout. */
--deus-body-padding: 6rem 2rem; --deus-body-padding: 6rem 2rem;
@ -166,12 +160,6 @@ main nav a {
font-family: var(--deus-nav-ui-font); font-family: var(--deus-nav-ui-font);
font-size: 1.25em; font-size: 1.25em;
font-weight: bold; font-weight: bold;
font-feature-settings: var(--deus-nav-ui-font-opentype-features);
font-variant: var(--deus-nav-ui-font-variant);
/* Workaround for baseline bug in Spectral font.
*/
padding: 0.125em 0 0 0;
} }
main nav a + a { main nav a + a {
margin-left: 1em; margin-left: 1em;
@ -191,10 +179,6 @@ main nav a.logo {
line-height: 0.5; line-height: 0.5;
margin-right: 0.25em; margin-right: 0.25em;
font-size: 1em; font-size: 1em;
/* Workaround for baseline bug in Spectral font.
*/
padding: 0;
} }
main nav a img { main nav a img {
max-height: 2em; max-height: 2em;
@ -325,15 +309,7 @@ article h1 {
calc(-1 * var(--deus-post-heading-spacing)) var(--deus-post-heading-spacing) 0 var(--deus-box-border-width) var(--deus-box-border-color); calc(-1 * var(--deus-post-heading-spacing)) var(--deus-post-heading-spacing) 0 var(--deus-box-border-width) var(--deus-box-border-color);
font-family: var(--deus-heading-font); font-family: var(--deus-heading-font);
font-size: var(--deus-heading-font-size); font-size: var(--deus-heading-font-size);
font-weight: var(--deus-heading-font-weight);
color: var(--deus-heading-text-color); color: var(--deus-heading-text-color);
font-feature-settings: var(--deus-heading-font-opentype-features);
font-variant: var(--deus-heading-font-variant);
letter-spacing: var(--deus-heading-letter-spacing);
/* Workaround for baseline bug in Spectral font.
*/
padding-top: calc(0.5 * var(--deus-post-padding) + 0.125em);
} }
/*=--------------=*/ /*=--------------=*/
@ -434,7 +410,7 @@ main.gallery-layout {
main.gallery-layout article { main.gallery-layout article {
grid-column-start: -2; grid-column-start: -2;
grid-row: 1; grid-row: 1;
margin-top: 5rem; margin-top: 5.5rem;
} }
main.gallery-layout article h1 { main.gallery-layout article h1 {
@ -443,7 +419,7 @@ main.gallery-layout article h1 {
box-shadow: none; box-shadow: none;
float: none; float: none;
padding: 0; padding: 0;
margin: -7.5rem 0 2.75rem calc(-1 * var(--deus-post-padding)); margin: -8rem 0 3rem calc(-1 * var(--deus-post-padding));
font-size: 3em; font-size: 3em;
} }

BIN
assets/fonts/.DS_Store vendored

Binary file not shown.

View File

@ -1,6 +1,5 @@
<script>window.GW = { };</script> <script>window.GW = { };</script>
<link rel='stylesheet' type='text/css' href='https://fonts.obormot.net?fonts=*'> <link rel='stylesheet' type='text/css' href='https://fonts.obormot.net?fonts=FontAwesome'>
<link href="https://fonts.googleapis.com/css?family=Spectral+SC:400,400i,500,500i,600,600i,700,700i,800,800i&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' href='/deus/assets/css/fonts.css'> <link rel='stylesheet' type='text/css' href='/deus/assets/css/fonts.css'>
<link rel='stylesheet' type='text/css' href='/deus/assets/css/main.css'> <link rel='stylesheet' type='text/css' href='/deus/assets/css/main.css'>
<link rel='stylesheet' type='text/css' href='/deus/assets/css/image-focus.css'> <link rel='stylesheet' type='text/css' href='/deus/assets/css/image-focus.css'>