CI only on tags, redesign start

This commit is contained in:
Firq 2023-07-06 19:41:28 +02:00
parent fe6e0981d2
commit 444732a9bd
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 12 additions and 5 deletions

View file

@ -40,7 +40,9 @@ build-site:
paths: paths:
- node_modules/ - node_modules/
only: only:
- main - tags
except:
- branches
script: script:
- npm install - npm install
- npm run build - npm run build

View file

@ -23,7 +23,7 @@ const img: string = `/assets/favourites/${image}.webp`
.heading { .heading {
display: flex; display: flex;
height: 4rem; height: 4rem;
font-size: 22px; font-size: 24px;
color: white; color: white;
max-width: 200px; max-width: 200px;
padding-bottom: 0.3rem; padding-bottom: 0.3rem;
@ -38,6 +38,7 @@ const img: string = `/assets/favourites/${image}.webp`
} }
a { a {
border-radius: 1rem;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
@ -54,7 +55,7 @@ const img: string = `/assets/favourites/${image}.webp`
} }
a > img { a > img {
padding: 0.25em; padding: 0px 0.25em;
width: 90%; width: 90%;
height: auto; height: auto;
} }
@ -67,7 +68,7 @@ const img: string = `/assets/favourites/${image}.webp`
} }
a > img { a > img {
padding: 1.5em; padding: 0px 1.5em;
width: 200px; width: 200px;
height: auto; height: auto;
} }

View file

@ -31,12 +31,16 @@ const { title } = Astro.props
position: relative; position: relative;
} }
div h1 { div h1 {
font-size: 40px;
line-height: 48px;
letter-spacing: -1px;
color: white; color: white;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 0; margin-bottom: 0;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding: 0.25rem 0.75rem; padding: 0.25rem 1.5rem;
border-radius: 0.5rem;
max-width: max-content; max-width: max-content;
background-color: var(--c-darkgray); background-color: var(--c-darkgray);
} }