style: format files with prettier

This commit is contained in:
satnaing
2023-06-21 11:48:07 +06:30
parent ebb383effd
commit e017dcf9a5
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ breadcrumbList[0] === "posts" &&
<style>
.breadcrumb {
@apply mx-auto mt-8 mb-1 w-full max-w-3xl px-4;
@apply mx-auto mb-1 mt-8 w-full max-w-3xl px-4;
}
.breadcrumb ul li {
@apply inline;
+2 -2
View File
@@ -120,7 +120,7 @@ const { activeNav } = Astro.props;
<style>
#skip-to-content {
@apply absolute -top-full left-16 z-50 bg-skin-accent py-2 px-3 text-skin-inverted transition-all focus:top-4;
@apply absolute -top-full left-16 z-50 bg-skin-accent px-3 py-2 text-skin-inverted transition-all focus:top-4;
}
.nav-container {
@apply mx-auto flex max-w-3xl flex-col items-center justify-between sm:flex-row;
@@ -142,7 +142,7 @@ const { activeNav } = Astro.props;
@apply flex w-full flex-col items-center bg-skin-fill sm:ml-2 sm:flex-row sm:justify-end sm:space-x-4 sm:py-0;
}
nav ul {
@apply mt-4 grid w-44 grid-cols-2 grid-rows-4 gap-y-2 gap-x-2 sm:mt-0 sm:ml-0 sm:w-auto sm:gap-y-0 sm:gap-x-5;
@apply mt-4 grid w-44 grid-cols-2 grid-rows-4 gap-x-2 gap-y-2 sm:ml-0 sm:mt-0 sm:w-auto sm:gap-x-5 sm:gap-y-0;
}
nav ul li {
@apply col-span-2 flex items-center justify-center;
+1 -1
View File
@@ -40,7 +40,7 @@ const socialImageURL = new URL(
<meta name="title" content={title} />
<meta name="description" content={description} />
<meta name="author" content={author} />
<link rel="sitemap" href="/sitemap-index.xml"/>
<link rel="sitemap" href="/sitemap-index.xml" />
<!-- Open Graph / Facebook -->
<meta property="og:title" content={title} />
+1 -1
View File
@@ -24,6 +24,6 @@ const { pageTitle, pageDesc } = Astro.props;
@apply text-2xl font-semibold sm:text-3xl;
}
#main-content p {
@apply mt-2 mb-6 italic;
@apply mb-6 mt-2 italic;
}
</style>
+1 -1
View File
@@ -25,7 +25,7 @@ const ogUrl = new URL(ogImage ? ogImage : `${title}.png`, Astro.url.origin)
<Header />
<div class="mx-auto flex w-full max-w-3xl justify-start px-2">
<button
class="focus-outline mt-8 mb-2 flex hover:opacity-75"
class="focus-outline mb-2 mt-8 flex hover:opacity-75"
onclick="history.back()"
>
<svg xmlns="http://www.w3.org/2000/svg"
+1 -1
View File
@@ -66,7 +66,7 @@ const next = pageNum < totalPages ? "" : "disabled";
<style>
.pagination-wrapper {
@apply mt-auto mb-8 flex justify-center;
@apply mb-8 mt-auto flex justify-center;
}
.disabled {
@apply pointer-events-none select-none opacity-50 hover:text-skin-base group-hover:fill-skin-base;
+3 -3
View File
@@ -123,7 +123,7 @@ const socialCount = SOCIALS.filter(social => social.active).length;
<style>
/* ===== Hero Section ===== */
#hero {
@apply pt-8 pb-6;
@apply pb-6 pt-8;
}
#hero h1 {
@apply my-4 inline-block text-3xl font-bold sm:my-8 sm:text-5xl;
@@ -141,13 +141,13 @@ const socialCount = SOCIALS.filter(social => social.active).length;
@apply mt-4 flex flex-col sm:flex-row sm:items-center;
}
.social-links {
@apply mr-2 mb-1 whitespace-nowrap sm:mb-0;
@apply mb-1 mr-2 whitespace-nowrap sm:mb-0;
}
/* ===== Featured & Recent Posts Sections ===== */
#featured,
#recent-posts {
@apply pt-12 pb-6;
@apply pb-6 pt-12;
}
#featured h2,
#recent-posts h2 {