From 390ad2ae099ae019be85eaece30ad439e1937068 Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 21:47:51 +0700 Subject: [PATCH 01/11] Increase menu font size and horizontally align menu items --- site/themes/pyconth/assets/css/custom.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 030f4d90..28d2e9f7 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -761,7 +761,12 @@ article { font-family: var(--font-primary); font-weight: bold; color: var(--black); - font-size: 0.8rem; + font-size: 1rem; +} + +.navbar-nav { + display: flex; + align-items: center; } .navbar-brand { @@ -787,8 +792,9 @@ article { border: 1px solid var(--black); } -.dropdown-item { +.dropdown-menu > .dropdown-item { color: var(--black); + font-size: 1rem; } /* Make content not abut sides on mobile */ From f8249dc3bc1d6bf6cc145c08ff46a58607a8b1ce Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 21:59:35 +0700 Subject: [PATCH 02/11] Remove lorem ipsum from footer --- site/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/conf.py b/site/conf.py index 71a48b8d..d5616b1e 100644 --- a/site/conf.py +++ b/site/conf.py @@ -1005,8 +1005,7 @@

About

- {about} Vitae suscipit tellus mauris a diam maecenas sed enim ut sem viverra aliquet eget sit amet tellus - cras adipiscing. Hendrerit dolor magna eget est lorem ipsum dolor sit amet, consectetur. + {about}

From a6dcca8a93b0105f637bbf01adc9203d19db05bb Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 22:42:59 +0700 Subject: [PATCH 03/11] Change header background to use radial gradient instead of image --- site/themes/pyconth/assets/css/custom.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 28d2e9f7..70835b88 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -73,9 +73,13 @@ body { /* home page */ .first { - background-image: url("/first_section_bg.png"); - background-repeat: no-repeat; - background-size: 100% 100%; + background-image: radial-gradient( + circle at bottom center, + yellow, + var(--orange) 60%, + var(--orange) + ); + /* background-size: 100% 100%; */ min-height: calc(100vh - 54px); } @@ -754,7 +758,7 @@ article { } .navbar { - background: #ffc400; + background: var(--orange); } .navbar-nav > .nav-item > .nav-link { From b31711e0e2a49b03e2a06634f8494dc848af021e Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 23:03:44 +0700 Subject: [PATCH 04/11] Change default link colors --- site/themes/pyconth/assets/css/custom.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 70835b88..3ef853b9 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -25,6 +25,9 @@ --black: #22292f; --orange: #ffc400; + --red: #a71d42; + --red-lighter: #FF799D; + --red-darker: #671229; } body { @@ -1124,6 +1127,14 @@ background: url('/footer-coconut-tree2.png') right bottom no-repeat , radial-gra } .coconut-email { - right: 64px; + right: 64px; bottom: 161px; } + +a { + color: var(--red); +} + +a:hover { + color: var(--red-darker); +} From abad21c011abea47ef9a9786da88eb999e1583fe Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 23:03:57 +0700 Subject: [PATCH 05/11] Formatting --- site/themes/pyconth/assets/css/custom.css | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 3ef853b9..aebb6c28 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -1057,13 +1057,12 @@ header { .bg-footer { /* background: radial-gradient(yellow, orange); */ -background: url('/footer-coconut-tree2.png') right bottom no-repeat , radial-gradient(yellow, orange); + background: url("/footer-coconut-tree2.png") right bottom no-repeat, + radial-gradient(yellow, orange); position: relative; } - -.about-wrapper { - +.about-wrapper { flex-direction: column; } @media (min-width: 992px) { @@ -1081,23 +1080,21 @@ background: url('/footer-coconut-tree2.png') right bottom no-repeat , radial-gra margin-bottom: 0.5rem; } -.about-text a{ +.about-text a { color: var(--black); text-decoration: underline; } - .about-block { margin-bottom: 3rem; } .about-second-block { - - padding-left: 0; + padding-left: 0; } @media (min-width: 992px) { - .about-second-block { - padding-left: 2rem; + .about-second-block { + padding-left: 2rem; } } .about-coconut { From fee44c8c2893ccea5a29d412c494c2d4f9c0009f Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 23:10:18 +0700 Subject: [PATCH 06/11] Fix speaker text not visible over background --- site/themes/pyconth/assets/css/custom.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index aebb6c28..789549e6 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -26,7 +26,7 @@ --black: #22292f; --orange: #ffc400; --red: #a71d42; - --red-lighter: #FF799D; + --red-lighter: #ff799d; --red-darker: #671229; } @@ -286,7 +286,10 @@ body { .keynote .speaker .content { font-size: 18px; - color: #7d8890; + color: var(--black); + padding: 1rem; + background: rgba(220, 220, 220, 0.8); + border-radius: 5px; } .keynote [class*="section"] p { From 39e1257f9bde4ffcd3f1a714f314badb1ad82c55 Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 23:19:12 +0700 Subject: [PATCH 07/11] Remove minimum height on articles --- site/themes/pyconth/assets/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 789549e6..228b053f 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -755,7 +755,7 @@ body[class*="schedule"] table.table.day2 tr:nth-of-type(15) { article { margin: 2em auto; max-width: 90ch; - min-height: 60vh; + min-height: 40vh; } .footer-logo { From 7bbee286d2811d84dea3f0aefc18de042cd3efc5 Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Fri, 15 Mar 2019 23:19:22 +0700 Subject: [PATCH 08/11] Add Russell as Keynote speaker --- site/pages/pycon-thailand.en.html | 45 +++++++++++++++---------------- site/pages/pycon-thailand.th.html | 22 +++++++-------- 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/site/pages/pycon-thailand.en.html b/site/pages/pycon-thailand.en.html index 9942d132..eea2d41a 100644 --- a/site/pages/pycon-thailand.en.html +++ b/site/pages/pycon-thailand.en.html @@ -104,32 +104,31 @@

-
+

Keynote Speakers

- +
+
+ +

Dr Russell Keith-Magee

+

+ Founding Apiarist at @pybee.
@django Core Developer +

+

+ https://pybee.org +

+
+
+

+ Dr Russell Keith-Magee is a 10 year veteran of the Django core team, + and for 5 years, was President of the Django Software Foundation. + He's also the founder of the BeeWare project, developing GUI tools + to support the development of Python software. When he's not + contributing to open source, he's an engineer at Zapier. +

+
+
diff --git a/site/pages/pycon-thailand.th.html b/site/pages/pycon-thailand.th.html index fee709c3..f0cbd46f 100644 --- a/site/pages/pycon-thailand.th.html +++ b/site/pages/pycon-thailand.th.html @@ -103,32 +103,32 @@

-
+

Keynote Speakers

-
From b7bccbb781d94bd94dafefcd3c819f19a6282d4d Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Sat, 16 Mar 2019 01:45:15 +0700 Subject: [PATCH 09/11] Fix sponsorship English and button styles --- site/themes/pyconth/assets/css/custom.css | 63 +++++++++++++++++++++-- 1 file changed, 58 insertions(+), 5 deletions(-) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 228b053f..8b74996a 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -184,15 +184,16 @@ body { margin-bottom: 40px; } -.get-ticket-btn { +.btn-primary { + font-weight: bold; background-color: #a9173f; padding: 1rem; - padding-right: 3rem; + padding-right: 3.5rem; text-transform: uppercase; position: relative; } -.get-ticket-btn:after { +.btn-primary:after { content: ">"; background-color: #d72861; height: 100%; @@ -204,13 +205,46 @@ body { border-bottom-right-radius: 0.3rem; } -.get-ticket-btn > a { +.btn-primary > a { font-weight: bolder; text-decoration: none; color: white; } -.get-ticket-btn:hover { +.btn-primary:hover { + text-decoration: none; + background-color: #d72861; +} + +.btn-primary:not(:disabled):not(.disabled):active, +.btn-primary:not(:disabled):not(.disabled).active { + font-weight: bold; + border-color: #a9173f; + background-color: #a9173f; + padding: 1rem; + padding-right: 3.5rem; + text-transform: uppercase; + position: relative; +} +.btn-primary:not(:disabled):not(.disabled).active:after { + content: ">"; + background-color: #d72861; + height: 100%; + position: absolute; + top: 0; + right: 0; + padding: 1rem; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.btn-primary:not(:disabled):not(.disabled).active > a { + font-weight: bolder; + text-decoration: none; + color: white; +} + +.btn-primary:not(:disabled):not(.disabled).active:hover { text-decoration: none; background-color: #d72861; } @@ -758,6 +792,19 @@ article { min-height: 40vh; } +.post-text h2 { + font-weight: bold; + font-style: italic; + font-size: 1.2rem; + margin-top: 2rem; + margin-bottom: 1rem; +} + +.post-text p { + font-size: 1rem; + margin-bottom: 1rem; +} + .footer-logo { width: 200px; height: 200px; @@ -1138,3 +1185,9 @@ a { a:hover { color: var(--red-darker); } + +.docutils { + display: flex; + flex-direction: column; + align-items: center; +} From 9614dc8561fe0abffd2d17acdd4a1e5291ce1048 Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Sat, 16 Mar 2019 01:50:51 +0700 Subject: [PATCH 10/11] Correct Thai font centering --- site/pages/sponsorship.th.rst | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/site/pages/sponsorship.th.rst b/site/pages/sponsorship.th.rst index 86a8ba57..27a4a0e7 100644 --- a/site/pages/sponsorship.th.rst +++ b/site/pages/sponsorship.th.rst @@ -10,38 +10,30 @@ We want to thank these sponsors for making PyCon possible! Their funds help to subsidize tickets and make the event a success all round. -.. class:: text-center - Platinum Sponsors ================= Contact us -.. class:: text-center - Gold Sponsors ============= Contact us -.. class:: text-center - Silver Sponsors =============== Contact us -.. class:: text-center - Startup Sponsors -------------------- +================ Contact us ---- ผู้สนับสนุน --------- +======== Pycon Thailand ถูกจัดขึ้นโดนกลุ่มคนที่รักภาษา Python โดยทีมงานเข้ามาช่วยในฐานะอาสาสมัครทั้งหมด เราไม่สามารถจัดงานเจ๋งๆได้ถ้าขาดผู้ใหญ่ใจดี @@ -49,7 +41,7 @@ Pycon Thailand ถูกจัดขึ้นโดนกลุ่มคนท Package ของการสนับสนุน ------------------------ +============================ ติดต่อผู้จัดสำหรับข้อมูลเพิ่มเติมสำหรับการช่วยสนับสนุนงาน การช่วยเหลือสามารถทำได้หลากหลายรูปแบบไม่ว่าจะเป็น กระจายข่าวเกี่ยวกับเว็บไซต์ ตั้งบูธในงาน ติด banner ในงาน รวมไปถึงการจัด session และของชำร่วยต่างๆ @@ -69,4 +61,4 @@ Contact If your company is interested in sponsoring Python in Thailand email us `Email PyCon Sponsorship Team -`_ \ No newline at end of file +`_ From f10f67fe02aa40b0cb53a4b55b5b841775470cb9 Mon Sep 17 00:00:00 2001 From: Stale Peaches Date: Sat, 16 Mar 2019 01:55:07 +0700 Subject: [PATCH 11/11] Increate hr thickness --- site/themes/pyconth/assets/css/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/themes/pyconth/assets/css/custom.css b/site/themes/pyconth/assets/css/custom.css index 8b74996a..235c4458 100644 --- a/site/themes/pyconth/assets/css/custom.css +++ b/site/themes/pyconth/assets/css/custom.css @@ -1191,3 +1191,7 @@ a:hover { flex-direction: column; align-items: center; } + +hr { + border-top: 2px solid rgba(0, 0, 0, 0.2); +}