Преглед на файлове

More work on fonts

full-screen-logo-homepage
Said Achmiz преди 5 години
родител
ревизия
37765b06c3
променени са 24 файла, в които са добавени 184 реда и са изтрити 5 реда
  1. 154
    0
      assets/css/fonts.css
  2. 28
    4
      assets/css/main.css
  3. Двоични данни
      assets/fonts/.DS_Store
  4. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-Bold.otf
  5. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-BoldItalic.otf
  6. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-Light.otf
  7. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-LightItalic.otf
  8. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-Medium.otf
  9. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-MediumItalic.otf
  10. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-Regular.otf
  11. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-RegularItalic.otf
  12. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-SemiBold.otf
  13. Двоични данни
      assets/fonts/HKGrotesk/HKGrotesk-SemiBoldItalic.otf
  14. Двоични данни
      assets/fonts/PTAstraSerif/PTAstraSerif-Bold.ttf
  15. Двоични данни
      assets/fonts/PTAstraSerif/PTAstraSerif-BoldItalic.ttf
  16. Двоични данни
      assets/fonts/PTAstraSerif/PTAstraSerif-Regular.ttf
  17. Двоични данни
      assets/fonts/PTAstraSerif/PTAstraSerif-RegularItalic.ttf
  18. Двоични данни
      assets/fonts/PTSerif/PTSerif-Bold.ttf
  19. Двоични данни
      assets/fonts/PTSerif/PTSerif-BoldItalic.ttf
  20. Двоични данни
      assets/fonts/PTSerif/PTSerif-Caption-Regular.ttf
  21. Двоични данни
      assets/fonts/PTSerif/PTSerif-Caption-RegularItalic.ttf
  22. Двоични данни
      assets/fonts/PTSerif/PTSerif-Regular.ttf
  23. Двоични данни
      assets/fonts/PTSerif/PTSerif-RegularItalic.ttf
  24. 2
    1
      includes/head-content.html

+ 154
- 0
assets/css/fonts.css Целия файл

@@ -0,0 +1,154 @@
/**************/
/* 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;
}
/******************/
/* PT ASTRA SERIF */
/******************/

@font-face {
font-family: 'PT Astra Serif';
src: url('/deus/assets/fonts/PTAstraSerif/PTAstraSerif-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'PT Astra Serif';
src: url('/deus/assets/fonts/PTAstraSerif/PTAstraSerif-RegularItalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'PT Astra Serif';
src: url('/deus/assets/fonts/PTAstraSerif/PTAstraSerif-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'PT Astra Serif';
src: url('/deus/assets/fonts/PTAstraSerif/PTAstraSerif-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}
/************/
/* PT SERIF */
/************/

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-RegularItalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}

/********************/
/* PT SERIF CAPTION */
/********************/

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-Caption-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'PT Serif';
src: url('/deus/assets/fonts/PTSerif/PTSerif-Caption-RegularItalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}


+ 28
- 4
assets/css/main.css Целия файл

@@ -50,11 +50,17 @@
--deus-body-text-line-spacing: 1.4;
--deus-body-text-paragraph-spacing: 1em;

--deus-heading-font: PT Serif;
--deus-heading-font: Spectral SC;
--deus-heading-font-variant: normal;
--deus-heading-font-opentype-features: none;
--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-nav-ui-font: PT Astra Serif;
--deus-nav-ui-font: Spectral SC;
--deus-nav-ui-font-variant: normal;
--deus-nav-ui-font-opentype-features: none;

/* Layout. */
--deus-body-padding: 6rem 2rem;
@@ -160,6 +166,12 @@ main nav a {
font-family: var(--deus-nav-ui-font);
font-size: 1.25em;
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 {
margin-left: 1em;
@@ -179,6 +191,10 @@ main nav a.logo {
line-height: 0.5;
margin-right: 0.25em;
font-size: 1em;

/* Workaround for baseline bug in “Spectral” font.
*/
padding: 0;
}
main nav a img {
max-height: 2em;
@@ -309,7 +325,15 @@ 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);
font-family: var(--deus-heading-font);
font-size: var(--deus-heading-font-size);
font-weight: var(--deus-heading-font-weight);
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);
}

/*=--------------=*/
@@ -410,7 +434,7 @@ main.gallery-layout {
main.gallery-layout article {
grid-column-start: -2;
grid-row: 1;
margin-top: 5.5rem;
margin-top: 5rem;
}

main.gallery-layout article h1 {
@@ -419,7 +443,7 @@ main.gallery-layout article h1 {
box-shadow: none;
float: none;
padding: 0;
margin: -8rem 0 3rem calc(-1 * var(--deus-post-padding));
margin: -7.5rem 0 2.75rem calc(-1 * var(--deus-post-padding));
font-size: 3em;
}


Двоични данни
assets/fonts/.DS_Store Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-Bold.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-BoldItalic.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-Light.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-LightItalic.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-Medium.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-MediumItalic.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-Regular.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-RegularItalic.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-SemiBold.otf Целия файл


Двоични данни
assets/fonts/HKGrotesk/HKGrotesk-SemiBoldItalic.otf Целия файл


Двоични данни
assets/fonts/PTAstraSerif/PTAstraSerif-Bold.ttf Целия файл


Двоични данни
assets/fonts/PTAstraSerif/PTAstraSerif-BoldItalic.ttf Целия файл


Двоични данни
assets/fonts/PTAstraSerif/PTAstraSerif-Regular.ttf Целия файл


Двоични данни
assets/fonts/PTAstraSerif/PTAstraSerif-RegularItalic.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-Bold.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-BoldItalic.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-Caption-Regular.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-Caption-RegularItalic.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-Regular.ttf Целия файл


Двоични данни
assets/fonts/PTSerif/PTSerif-RegularItalic.ttf Целия файл


+ 2
- 1
includes/head-content.html Целия файл

@@ -1,5 +1,6 @@
<script>window.GW = { };</script>
<link rel='stylesheet' type='text/css' href='https://fonts.obormot.net?fonts=FontAwesome'>
<link rel='stylesheet' type='text/css' href='https://fonts.obormot.net?fonts=*'>
<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/main.css'>
<link rel='stylesheet' type='text/css' href='/deus/assets/css/image-focus.css'>

Loading…
Отказ
Запис