feat: style changes
This commit is contained in:
parent
fe12530680
commit
cc5f145ff0
6 changed files with 4 additions and 25 deletions
|
@ -1,17 +0,0 @@
|
||||||
---
|
|
||||||
import {VERSION} from '../consts'
|
|
||||||
---
|
|
||||||
|
|
||||||
<span class="current-version">{VERSION}</span>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.current-version {
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 1rem;
|
|
||||||
border-radius: 1rem;
|
|
||||||
padding: 0.2rem 0.5rem;
|
|
||||||
background-color: var(--accent);
|
|
||||||
color: white;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
import Icon from 'astro-iconify'
|
import Icon from 'astro-iconify'
|
||||||
import {VERSION} from '../consts';
|
import {VERSION} from '../consts';
|
||||||
import CurrentVersion from './CurrentVersion.astro';
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
@ -17,7 +16,7 @@ import CurrentVersion from './CurrentVersion.astro';
|
||||||
<a href="https://github.com/ayoayco/cozy">GitHub</a> •
|
<a href="https://github.com/ayoayco/cozy">GitHub</a> •
|
||||||
<a href="https://social.ayco.io/@ayo">Mastodon</a>
|
<a href="https://social.ayco.io/@ayo">Mastodon</a>
|
||||||
<br />
|
<br />
|
||||||
<CurrentVersion />
|
<span>{VERSION}</span>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="disclaimer">All rights reserved to content owners.</section>
|
<section class="disclaimer">All rights reserved to content owners.</section>
|
||||||
|
|
|
@ -5,7 +5,7 @@ const today = new Date();
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>© {today.getFullYear()} {SITE_AUTHOR}. All rights reserved.</p>
|
<p>© {today.getFullYear()} {SITE_AUTHOR}. All rights reserved.</p>
|
||||||
<p>Get in touch: <a href={`mailto:${SITE_AUTHOR_EMAIL}`}>cozy at ayco.io</a></p>
|
<p>Want to get in touch? Send a mail to <a href={`mailto:${SITE_AUTHOR_EMAIL}`}>Cozy at ayco.io</a>.</p>
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
<a href={SITE_AUTHOR_MASTODON} target="_blank">
|
<a href={SITE_AUTHOR_MASTODON} target="_blank">
|
||||||
<span class="sr-only">Follow Ayo on Mastodon</span>
|
<span class="sr-only">Follow Ayo on Mastodon</span>
|
||||||
|
|
|
@ -67,7 +67,6 @@ import { SITE_AUTHOR_MASTODON, SITE_DESCRIPTION, SITE_PROJECT_REPO, SITE_TITLE }
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1px 0.5em 0;
|
padding: 1px 0.5em 0;
|
||||||
text-transform: uppercase;
|
|
||||||
transition: 0.2s ease;
|
transition: 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
|
||||||
& a {
|
& a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: rgb(var(--black));
|
color: rgb(var(--black));
|
||||||
text-transform: uppercase;
|
|
||||||
transition: 0.2s ease;
|
transition: 0.2s ease;
|
||||||
|
|
||||||
&:has(span) {
|
&:has(span) {
|
||||||
|
|
|
@ -58,7 +58,7 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.953em;
|
font-size: 1.753em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -66,7 +66,7 @@ h3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.25em;
|
font-size: 1.35em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
|
@ -95,7 +95,6 @@ pre.astro-code {
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose {
|
.prose {
|
||||||
|
|
||||||
& p,
|
& p,
|
||||||
& ul,
|
& ul,
|
||||||
& ol,
|
& ol,
|
||||||
|
|
Loading…
Reference in a new issue