mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-01-14 18:45:16 +00:00
Merge pull request #2 from Fluffy-Bean/deepsource-transform-36a8a0f8
style: format code with Prettier
This commit is contained in:
commit
fcc026d06d
|
@ -1,4 +1,4 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({});
|
export default defineConfig({});
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { z, defineCollection } from 'astro:content';
|
import { z, defineCollection } from "astro:content";
|
||||||
|
|
||||||
|
|
||||||
const postsCollection = defineCollection({
|
const postsCollection = defineCollection({
|
||||||
type: "content",
|
type: "content",
|
||||||
|
@ -31,10 +30,10 @@ const certificatesCollection = defineCollection({
|
||||||
skills: z.array(z.string()).optional(),
|
skills: z.array(z.string()).optional(),
|
||||||
link: z.string().optional(),
|
link: z.string().optional(),
|
||||||
}),
|
}),
|
||||||
})
|
});
|
||||||
|
|
||||||
export const collections = {
|
export const collections = {
|
||||||
"posts": postsCollection,
|
posts: postsCollection,
|
||||||
"projects": projectsCollection,
|
projects: projectsCollection,
|
||||||
"certificates": certificatesCollection,
|
certificates: certificatesCollection,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,9 @@ These are the elements outlined in John Gruber’s original design document. All
|
||||||
### Heading
|
### Heading
|
||||||
|
|
||||||
# H1
|
# H1
|
||||||
|
|
||||||
## H2
|
## H2
|
||||||
|
|
||||||
### H3
|
### H3
|
||||||
|
|
||||||
### Bold
|
### Bold
|
||||||
|
@ -31,7 +33,7 @@ These are the elements outlined in John Gruber’s original design document. All
|
||||||
|
|
||||||
### Italic
|
### Italic
|
||||||
|
|
||||||
*italicized text*
|
_italicized text_
|
||||||
|
|
||||||
### Blockquote
|
### Blockquote
|
||||||
|
|
||||||
|
@ -72,7 +74,7 @@ These elements extend the basic syntax by adding additional features. Not all Ma
|
||||||
### Table
|
### Table
|
||||||
|
|
||||||
| Syntax | Description |
|
| Syntax | Description |
|
||||||
| ----------- | ----------- |
|
| --------- | ----------- |
|
||||||
| Header | Title |
|
| Header | Title |
|
||||||
| Paragraph | Text |
|
| Paragraph | Text |
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: '';
|
content: "";
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -40,13 +40,16 @@
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &:focus-visible {
|
&:hover,
|
||||||
|
&:focus-visible {
|
||||||
outline: 0 solid transparent;
|
outline: 0 solid transparent;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: scaleX(100%);
|
transform: scaleX(100%);
|
||||||
transition: opacity 0.5s cubic-bezier(0,1,0,1), transform 0.5s cubic-bezier(0,1,0,1);
|
transition:
|
||||||
|
opacity 0.5s cubic-bezier(0, 1, 0, 1),
|
||||||
|
transform 0.5s cubic-bezier(0, 1, 0, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
*, *::before, *::after {
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: 'IBM Plex Mono', monospace;
|
font-family: "IBM Plex Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
Loading…
Reference in a new issue