Skip to content

Commit

Permalink
Fix dataframes and text size in slides (#91)
Browse files Browse the repository at this point in the history
* Fix dataframe styling in slideshow

* Set headers and text sizes to default
  • Loading branch information
briank-git authored Dec 30, 2024
1 parent 77b15db commit a2ce292
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions packages/application/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 <body> tag */
:not(body).rise-enabled {
background-color: #fff;
Expand Down Expand Up @@ -199,7 +204,7 @@
}

.rise-enabled .jp-InputArea pre {
font-size: 1.25rem;
font-size: 14px;
}

.rise-enabled .jp-InputPrompt {
Expand All @@ -212,7 +217,7 @@
}

.rise-enabled .jp-OutputArea pre {
font-size: 1.25rem;
font-size: 14px;
}

.rise-enabled .jp-OutputPrompt {
Expand Down Expand Up @@ -246,35 +251,24 @@
overflow-y: hidden;
}

.rise-enabled .jp-RenderedHTMLCommon p,
.rise-enabled .jp-RenderedHTMLCommon li,
.rise-enabled i {
font-size: 2.25rem;
}

.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;
}
Expand Down Expand Up @@ -412,11 +406,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
Expand Down

0 comments on commit a2ce292

Please sign in to comment.