[ci] format
This commit is contained in:
parent
d37a840cd2
commit
97aabe0075
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,8 @@ const { href, title, body } = Astro.props;
|
||||||
<li class="link-card">
|
<li class="link-card">
|
||||||
<a href={href}>
|
<a href={href}>
|
||||||
<h2>
|
<h2>
|
||||||
{title} <span>→</span>
|
{title}
|
||||||
|
<span>→</span>
|
||||||
</h2>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
{body}
|
{body}
|
||||||
|
@ -29,7 +30,7 @@ const { href, title, body } = Astro.props;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
background-position: 100%;
|
background-position: 100%;
|
||||||
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
||||||
box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-card > a {
|
.link-card > a {
|
||||||
|
@ -58,5 +59,4 @@ const { href, title, body } = Astro.props;
|
||||||
.link-card:is(:hover, :focus-within) h2 {
|
.link-card:is(:hover, :focus-within) h2 {
|
||||||
color: rgb(var(--accent));
|
color: rgb(var(--accent));
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -64,7 +64,7 @@ import Card from '../components/Card.astro';
|
||||||
.instructions code {
|
.instructions code {
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: rgba(var(--accent), 12%);
|
background: rgba(var(--accent), 12%);
|
||||||
color: rgb(var(--accent));
|
color: rgb(var(--accent));
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 0.3em 0.45em;
|
padding: 0.3em 0.45em;
|
||||||
|
|
Loading…
Reference in a new issue