From 3332bcd774f29991799a55873035bd9aaa88a578 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Fri, 12 Jul 2024 10:48:30 -0700 Subject: [PATCH 1/2] Fix dataframe styling in slideshow --- packages/application/style/base.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/application/style/base.css b/packages/application/style/base.css index e6d7016..8cadddd 100644 --- a/packages/application/style/base.css +++ b/packages/application/style/base.css @@ -33,6 +33,11 @@ chalkboard options */ } +.rise-enabled .reveal table th, +.rise-enabled .reveal table td { + border-bottom: none; +} + /* do not apply this on the tag */ :not(body).rise-enabled { background-color: #fff; @@ -252,6 +257,11 @@ font-size: 2.25rem; } +/* Fix for issue 51 */ +.rise-enabled .jp-RenderedHTMLCommon table + p { + font-size: 14px; +} + .rise-enabled .jp-RenderedHTMLCommon h1 { font-size: 4.125rem; font-weight: bold; @@ -412,11 +422,6 @@ left: 7em !important; } -/* fix for issue #425 */ -.rise-enabled .jp-RenderedHTMLCommon table { - font-size: 75%; -} - /* fix for reveal dark themes */ body.rise-enabled.theme-black div.jp-RenderedHTMLCommon From 847dd76b6421f0fdac417b3f0e3759c8f7c6c61e Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Wed, 24 Jul 2024 10:17:03 -0700 Subject: [PATCH 2/2] Set headers and text sizes to default --- packages/application/style/base.css | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/packages/application/style/base.css b/packages/application/style/base.css index 8cadddd..699ece3 100644 --- a/packages/application/style/base.css +++ b/packages/application/style/base.css @@ -204,7 +204,7 @@ } .rise-enabled .jp-InputArea pre { - font-size: 1.25rem; + font-size: 14px; } .rise-enabled .jp-InputPrompt { @@ -217,7 +217,7 @@ } .rise-enabled .jp-OutputArea pre { - font-size: 1.25rem; + font-size: 14px; } .rise-enabled .jp-OutputPrompt { @@ -251,40 +251,24 @@ overflow-y: hidden; } -.rise-enabled .jp-RenderedHTMLCommon p, -.rise-enabled .jp-RenderedHTMLCommon li, -.rise-enabled i { - font-size: 2.25rem; -} - -/* Fix for issue 51 */ -.rise-enabled .jp-RenderedHTMLCommon table + p { - font-size: 14px; -} - .rise-enabled .jp-RenderedHTMLCommon h1 { - font-size: 4.125rem; font-weight: bold; } .rise-enabled .jp-RenderedHTMLCommon h2 { - font-size: 3.5rem; font-weight: bold; } .rise-enabled .jp-RenderedHTMLCommon h3 { - font-size: 2.9rem; font-weight: bold; } .rise-enabled .jp-RenderedHTMLCommon h4 { - font-size: 2.25rem; font-weight: bold; font-style: italic; } .rise-enabled .jp-RenderedHTMLCommon h5 { - font-size: 2rem; font-weight: bold; font-style: italic; }