diff --git a/cms/src/app.html b/cms/src/app.html index f0a1adb..48bbf3d 100644 --- a/cms/src/app.html +++ b/cms/src/app.html @@ -8,6 +8,7 @@ + กองสรรหาบุคคล %sveltekit.head% diff --git a/cms/src/app.postcss b/cms/src/app.postcss index d8c58ae..cf2690b 100644 --- a/cms/src/app.postcss +++ b/cms/src/app.postcss @@ -3,6 +3,9 @@ @tailwind components; @tailwind utilities; @layer base { + html { + font-family: 'Noto Sans Thai', sans-serif; + } h1 { @apply text-4xl; } @@ -15,4 +18,14 @@ ol{ @apply list-decimal } + .cardxl{ + padding-right: 2rem; + } + @media only screen and (max-width: 1024px) { + .cardxl{ + padding-right: 0rem !important; + padding-bottom: 2rem; + } + + } } diff --git a/cms/src/routes/+page.svelte b/cms/src/routes/+page.svelte index c853a71..6b8b816 100644 --- a/cms/src/routes/+page.svelte +++ b/cms/src/routes/+page.svelte @@ -77,7 +77,7 @@
+ class="w-full pt-20 mb-10 flex flex-wrap justify-between">
ประกาศเกี่ยวกับการคัดเลือกบุคลากรกทม.
@@ -123,7 +123,7 @@
-
+
1
@@ -148,7 +148,7 @@
-
+
1
@@ -180,7 +180,7 @@
+ class="w-full pt-20 mb-10 flex flex-wrap justify-between">
ประกาศเกี่ยวกับการสอบแข่งขัน
@@ -226,7 +226,7 @@
-
+
1
@@ -251,7 +251,7 @@
-
+
1
@@ -283,10 +283,11 @@ @media only screen and (max-width: 1024px) { .card-side{ flex-direction: column !important; + } - .cardxl{ - padding-right: 0rem !important; - padding-bottom: 2rem; + .card-side :where(figure:first-child){ + border-start-end-radius: 1rem !important; + border-end-start-radius: 0rem !important; } .imgCard{ height: 250px; @@ -295,9 +296,6 @@ .card-side{ flex-direction: row; } -.cardxl{ - padding-right: 2rem; -} .card-title{ height: 80px; align-items: start; @@ -311,15 +309,4 @@ .imgCard{ max-height: 220px; } -.img-hover-zoom--brightness img { - transition: transform 2s, filter 1.5s ease-in-out; - transform-origin: center center; - filter: brightness(97%); -} - -/* The Transformation */ -.img-hover-zoom--brightness:hover img { - filter: brightness(100%); - transform: scale(1.3); -} \ No newline at end of file diff --git a/cms/src/routes/competitive/+page.svelte b/cms/src/routes/competitive/+page.svelte index d99be23..ae3da40 100644 --- a/cms/src/routes/competitive/+page.svelte +++ b/cms/src/routes/competitive/+page.svelte @@ -4,7 +4,7 @@ const exams = data.exams -
+

การสอบแข่งขัน diff --git a/cms/src/routes/qualifying/+page.svelte b/cms/src/routes/qualifying/+page.svelte index 9e32ae0..a9a21b4 100644 --- a/cms/src/routes/qualifying/+page.svelte +++ b/cms/src/routes/qualifying/+page.svelte @@ -6,50 +6,53 @@ const events = data.events -
- -
-
+
-

+

การสอบคัดเลือก

-
-
-
-
-

- รายการสอบ -

-
+
+
+
-
- - - - - - - - - - {#each exams as exam} - - - - - {/each} - -
วันที่การสอบหน่วยงาน
{exam.date}{exam.detail}{exam.institute}
+
+
+
+
+
+

+ รายการสอบ +

+
+
+
+
+ + + + + + + + + + {#each exams as exam} + + + + + {/each} + +
วันที่การสอบหน่วยงาน
{exam.date}{exam.detail}{exam.institute}
+
-
diff --git a/cms/src/routes/qualifying/[id]/+page.svelte b/cms/src/routes/qualifying/[id]/+page.svelte index 9579b2b..a591cd8 100644 --- a/cms/src/routes/qualifying/[id]/+page.svelte +++ b/cms/src/routes/qualifying/[id]/+page.svelte @@ -4,7 +4,7 @@ -
+