1
0
mirror of https://github.com/chylex/Blog.git synced 2024-10-17 21:42:49 +02: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="manifest" href="{{ 'site.webmanifest' | 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>
<body>
<header class="page-header" role="banner">
<h1 class="project-name">
{% if page.titleimg %}
<a href="https://chylex.com/" class="project-name-image" aria-label="Visit chylex.com">
<img src="{{ page.titleimg | relative_url }}" alt="" width="120" height="120">
</a>
<a href="https://chylex.com/" class="project-name-image"><img src="{{ page.titleimg | relative_url }}" alt=""></a>
{% endif %}
<span class="project-name-text">{{ page.title | default: site.title }}</span>
</h1>

View File

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

View File

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

View File

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