mirror of
https://github.com/chylex/Blog.git
synced 2024-11-25 07:42:57 +01:00
Compare commits
3 Commits
892be3db3a
...
151830a674
Author | SHA1 | Date | |
---|---|---|---|
151830a674 | |||
faf2bc3cf2 | |||
44e3800e1b |
@ -14,12 +14,15 @@
|
||||
<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"><img src="{{ page.titleimg | relative_url }}" alt=""></a>
|
||||
<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>
|
||||
{% endif %}
|
||||
<span class="project-name-text">{{ page.title | default: site.title }}</span>
|
||||
</h1>
|
||||
|
@ -1,7 +1,8 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
src: local('Open Sans Regular'),
|
||||
local('OpenSans-Regular'),
|
||||
url('../fonts/open-sans-v28-latin-regular.woff2') format('woff2'),
|
||||
@ -11,8 +12,9 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
src: local('Open Sans Semibold'),
|
||||
local('OpenSans-Semibold'),
|
||||
url('../fonts/open-sans-v28-latin-600.woff2') format('woff2'),
|
||||
@ -22,8 +24,9 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
src: local('Open Sans Italic'),
|
||||
local('OpenSans-Italic'),
|
||||
url('../fonts/open-sans-v28-latin-italic.woff2') format('woff2'),
|
||||
|
@ -53,8 +53,7 @@ a {
|
||||
}
|
||||
|
||||
.project-name {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin: 0;
|
||||
|
||||
@include large {
|
||||
font-size: 3rem;
|
||||
@ -70,7 +69,7 @@ a {
|
||||
}
|
||||
|
||||
.project-tagline {
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0.5rem 0 0.25rem;
|
||||
font-weight: normal;
|
||||
opacity: 0.85;
|
||||
|
||||
@ -83,7 +82,7 @@ a {
|
||||
}
|
||||
|
||||
@include small {
|
||||
font-size: 1rem;
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding: 0.4rem 4vw;
|
||||
padding: 0.8rem 4vw;
|
||||
line-height: 1.25;
|
||||
text-shadow: 0 2px 3px #1b242980;
|
||||
box-shadow: 0 2px 2px #000c;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user