diff --git a/src/Card.svelte b/src/Card.svelte
new file mode 100644
index 0000000..7bc6b23
--- /dev/null
+++ b/src/Card.svelte
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app.html b/src/app.html
index 7b372dc..17cbff4 100644
--- a/src/app.html
+++ b/src/app.html
@@ -37,6 +37,7 @@
hr {
border: .2em solid var(--bg-grad);
border-radius: 5em;
+ width: 100%;
}
*::-webkit-scrollbar,
diff --git a/src/main.svelte b/src/main.svelte
index 3caf7d1..0d8a94f 100644
--- a/src/main.svelte
+++ b/src/main.svelte
@@ -3,6 +3,7 @@
import { Toast, ToastType } from "$lib/toast";
import { addToast } from "$lib/store";
+ import Card from './Card.svelte';
import Modal from './Modal.svelte';
let showModal: boolean = false;
@@ -58,25 +59,27 @@
font-size: 2em;
}
- .card-header h2 {
- font-size: 1.5em;
- }
-
.card-header h3 {
font-size: 1.5em;
}
- .card-header .logo {
+ .card-footer {
+ margin-bottom: 1em;
+ display: flex;
+ gap: 1.5em;
+ justify-content: space-between;
+ }
+
+ .logo {
color: var(--fg);
font-size: 3em;
}
-
/* Skills Cards CSS */
.skills-container {
max-width: 90%;
padding: 0em 2em;
- margin: em auto;
+ margin: auto;
}
.cards {
@@ -84,40 +87,11 @@
flex-wrap: wrap;
flex-direction: row;
gap: 3em 3em;
- justify-content: center;
padding: 3em 1em 2em 0em;
list-style: none;
transition: all 0.2s;
}
- .card {
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- flex: 2 1 20%;
- min-width: 10em;
- padding: .5em 2.5em 2em 2.5em;
- background: var(--bg-grad);
- border-radius: .5em;
- scroll-snap-align: start;
- transition: all 0.2s;
- }
- .card:hover {
- box-shadow: .5em .5em .5em var(--cyan);
- }
-
- .card .card-content {
- margin: 2em 0em;
- max-width: 85%;
- }
-
- .card-footer {
- display: flex;
- gap: 1.5em;
- justify-content: space-between;
- margin-top: auto;
- }
-
{#await getJson('/json/me.json')}
@@ -140,28 +114,23 @@