From ae94708990233c012a731a07c604c016f525bf82 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 3 Oct 2024 12:26:34 +0100 Subject: [PATCH] Revert "Add "Example" label to example code blocks" This reverts commit 69fc9ce6a379e3c28020b8e9b849b7c39948b848. --- .../generator/template/darkfish/css/rdoc.css | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 8e35782c12..e7185677b9 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -601,24 +601,6 @@ main .method-source-code.active-menu { max-height: 100vh; } -main pre.ruby::before { - content: "Example"; - color: var(--secondary-color); - border-bottom: 1px solid var(--border-color); - display: block; - padding: 10px 0; - font-size: 0.9em; - margin-bottom: 10px; -} - -main pre.ruby { - margin: 0; - padding: 0px 16px 16px 16px; - overflow-x: auto; - border-radius: 4px; - border-color: var(--border-color); -} - main .method-description .method-calls-super { color: var(--text-color); font-weight: bold;