From a124c6d6eacf676b8801fc180c67a75466be1756 Mon Sep 17 00:00:00 2001 From: jsz4n Date: Wed, 24 Sep 2025 18:46:37 +0200 Subject: [PATCH] update stylesheet --- templates/custom.css | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/templates/custom.css b/templates/custom.css index 496228c..de32674 100644 --- a/templates/custom.css +++ b/templates/custom.css @@ -2,11 +2,28 @@ body { font-family: 'Arial', sans-serif; color: #333; + font-size: 36px; /* Base font size */ } /* Style for headers */ -.reveal h1, .reveal h2, .reveal h3, .reveal h4 { - color: #00468B; /* Dark blue for headers */ +.reveal h1 { + font-size: 2.9em; /* Reduced from 3.77em */ + color: #00468B; + font-weight: bold; +} +.reveal h2 { + font-size: 1.6em; /* Reduced from 2.11em */ + color: #00468B; + font-weight: bold; +} +.reveal h3 { + font-size: 1.2em; /* Reduced from 1.55em */ + color: #00468B; + font-weight: bold; +} +.reveal h4 { + font-size: 0.9em; /* Reduced from 1em */ + color: #00468B; font-weight: bold; } @@ -20,20 +37,20 @@ body { /* Style for code blocks */ .reveal pre code { font-family: 'Courier New', Courier, monospace; - background-color: #f9f9f9; /* Light gray background */ - border: 1px solid #ddd; /* Light gray border */ - padding: 10px; /* Padding inside the code block */ - border-radius: 5px; /* Rounded corners */ - box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ + background-color: #f9f9f9; + border: 1px solid #ddd; + padding: 10px; + border-radius: 5px; + box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); } /* Style for inline code */ .reveal code { - background-color: #f4f4f4; /* Slightly different background for inline code */ - /*border: 1px solid #ccc; */ - padding: 1px; /* Padding inside the inline code block */ - border-radius: 2px; /* Rounded corners */ + background-color: #f4f4f4; + padding: 1px; + border-radius: 2px; } + /* Style for lists */ .reveal ul, .reveal ol { margin-left: 2em; @@ -52,14 +69,13 @@ body { color: #0056b3; text-decoration: none; } - .reveal a:hover { text-decoration: underline; } /* Background color for slides */ .reveal .slides { - background-color: #fcfcfc; /* White background */ + background-color: #fcfcfc; } /* Style for footer (if used) */ @@ -77,7 +93,6 @@ body { .reveal .progress { background: #ccc; } - .reveal .progress span { background: #0056b3; }