Korbs/Contour
Archived
Template
1
Fork 0

Minor updates

This commit is contained in:
Korbs 2024-02-02 08:40:33 -05:00
parent 2862013b6a
commit 3fa4a48aff
No known key found for this signature in database
4 changed files with 19 additions and 23 deletions

View file

@ -1,23 +0,0 @@
---
const { Title, Description } = Astro.props
---
<head>
<!-- Metadata -->
<title>{Title}</title>
<meta name="description" content={Description}>
<!-- Options -->
<meta charset="UTF-8">
<meta name="theme-color" content="#2970cc">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover">
<!-- Favicon -->
<link rel="apple-touch-icon" type="image/png" sizes="256x256" href="/assets/images/favicon/256x256.png">
<link rel="apple-touch-icon" type="image/png" sizes="32x32" href="/assets/images/favicon/32x32.png">
<link rel="icon" type="image/png" sizes="256x256" href="/assets/images/favicon/256x256.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/32x32.png">
<link rel="stylesheet" href="/@shoelace-style/shoelace/cdn/themes/dark.css" onload="document.documentElement.classList.add('sl-theme-dark');"/>
<script type="module" src="/@shoelace-style/shoelace/cdn/shoelace.js"></script>
</head>

View file

@ -18,5 +18,6 @@ const { Title, Description } = Astro.props
<link rel="icon" type="image/png" sizes="256x256" href="/assets/images/favicon/256x256.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/32x32.png">
<link rel="stylesheet" href="/@shoelace-style/shoelace/cdn/themes/dark.css" onload="document.documentElement.classList.add('sl-theme-dark');"/>
<script type="module" src="/@shoelace-style/shoelace/cdn/shoelace.js"></script>
</head>

0
src/styles/Carousel.scss Normal file
View file

View file

@ -10,6 +10,7 @@ header {
justify-content: center;
align-content: center;
padding: 12px 0px;
.header-content {
max-width: 1200px;
width: 100%;
@ -17,15 +18,19 @@ header {
align-items: center;
justify-content: space-between;
cursor: default;
padding: 0px 12px;
a {
text-decoration: none;
color: white;
}
.header-start {
a {
font-weight: bold;
display: flex;
align-items: center;
img {
width: 42px;
height: 42px;
@ -33,28 +38,41 @@ header {
}
}
}
.header-center {
a {
color: white;
background: transparent;
border-radius: 3rem;
padding: 4px 16px;
&:hover {
background: rgba(255, 255, 255, 0.25);
}
}
#selected {
background: white;
color: black;
}
@media only screen and (max-width: 700px) {
display: none;
}
}
.header-end {
svg {
transform: translate(0px, 6px);
}
a {
padding: 4px 16px;
}
.mobile-show {display: none}
@media only screen and (max-width: 700px) {
.mobile-show {display: block}
.mobile-hide {display: none}
}
}
}
}