1
0
mirror of https://github.com/chylex/Blog.git synced 2024-11-25 16:42:53 +01:00

Compare commits

..

No commits in common. "151830a674194cec23e204d1a0981ba875ab3955" and "892be3db3ae87b90d9653c28910781a6d494f1ad" have entirely different histories.

4 changed files with 9 additions and 15 deletions

View File

@ -14,15 +14,12 @@
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}">
<link rel="manifest" href="{{ 'site.webmanifest' | relative_url }}"> <link rel="manifest" href="{{ 'site.webmanifest' | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: timestamp | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: timestamp | relative_url }}">
<link rel="preload" href="{{ '/assets/fonts/open-sans-v28-latin-regular.woff2' | relative_url }}" as="font" type="font/woff2" crossorigin>
</head> </head>
<body> <body>
<header class="page-header" role="banner"> <header class="page-header" role="banner">
<h1 class="project-name"> <h1 class="project-name">
{% if page.titleimg %} {% if page.titleimg %}
<a href="https://chylex.com/" class="project-name-image" aria-label="Visit chylex.com"> <a href="https://chylex.com/" class="project-name-image"><img src="{{ page.titleimg | relative_url }}" alt=""></a>
<img src="{{ page.titleimg | relative_url }}" alt="" width="120" height="120">
</a>
{% endif %} {% endif %}
<span class="project-name-text">{{ page.title | default: site.title }}</span> <span class="project-name-text">{{ page.title | default: site.title }}</span>
</h1> </h1>

View File

@ -1,8 +1,7 @@
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-weight: 400;
font-style: normal; font-style: normal;
font-display: swap; font-weight: 400;
src: local('Open Sans Regular'), src: local('Open Sans Regular'),
local('OpenSans-Regular'), local('OpenSans-Regular'),
url('../fonts/open-sans-v28-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v28-latin-regular.woff2') format('woff2'),
@ -12,9 +11,8 @@
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-weight: 700;
font-style: normal; font-style: normal;
font-display: swap; font-weight: 700;
src: local('Open Sans Semibold'), src: local('Open Sans Semibold'),
local('OpenSans-Semibold'), local('OpenSans-Semibold'),
url('../fonts/open-sans-v28-latin-600.woff2') format('woff2'), url('../fonts/open-sans-v28-latin-600.woff2') format('woff2'),
@ -24,9 +22,8 @@
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-weight: 400;
font-style: italic; font-style: italic;
font-display: swap; font-weight: 400;
src: local('Open Sans Italic'), src: local('Open Sans Italic'),
local('OpenSans-Italic'), local('OpenSans-Italic'),
url('../fonts/open-sans-v28-latin-italic.woff2') format('woff2'), url('../fonts/open-sans-v28-latin-italic.woff2') format('woff2'),

View File

@ -53,7 +53,8 @@ a {
} }
.project-name { .project-name {
margin: 0; margin-top: 0;
margin-bottom: 0;
@include large { @include large {
font-size: 3rem; font-size: 3rem;
@ -69,7 +70,7 @@ a {
} }
.project-tagline { .project-tagline {
margin: 0.5rem 0 0.25rem; margin: 0 0 0.5rem;
font-weight: normal; font-weight: normal;
opacity: 0.85; opacity: 0.85;
@ -82,7 +83,7 @@ a {
} }
@include small { @include small {
font-size: 1.15rem; font-size: 1rem;
} }
} }

View File

@ -8,8 +8,7 @@
} }
.page-header { .page-header {
padding: 0.8rem 4vw; padding: 0.4rem 4vw;
line-height: 1.25;
text-shadow: 0 2px 3px #1b242980; text-shadow: 0 2px 3px #1b242980;
box-shadow: 0 2px 2px #000c; box-shadow: 0 2px 2px #000c;
} }