From 08bd7b0b6a74ea0fd9f801fc1e7e807b49094fac Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Wed, 5 Apr 2023 01:11:59 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20css=20font=20=E0=B9=81=E0=B8=A5=E0=B8=B0=20=20=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=84=E0=B8=B1=E0=B8=94=E0=B9=80?= =?UTF-8?q?=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=A3=E0=B9=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=A7=E0=B9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms/src/app.html | 1 + cms/src/app.postcss | 13 ++++ cms/src/routes/+page.svelte | 33 +++------ cms/src/routes/competitive/+page.svelte | 2 +- cms/src/routes/qualifying/+page.svelte | 75 +++++++++++---------- cms/src/routes/qualifying/[id]/+page.svelte | 2 +- 6 files changed, 65 insertions(+), 61 deletions(-) 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 @@ -
+