From 657fda4b1f3baab6a9c66eca19c1646d185e6f30 Mon Sep 17 00:00:00 2001 From: Adityasinh Date: Fri, 27 Dec 2024 12:06:42 +0530 Subject: [PATCH] fix white theme --- styles/styles.css | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/styles/styles.css b/styles/styles.css index 5f9a489..88042a7 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -48,6 +48,12 @@ body { background-color: #fff; } +#markdown-input { + background-color: #ffffff; + color: #333; +} + + .editor-container.fullscreen #markdown-input, .editor-container.fullscreen #preview { width: 50%; @@ -103,7 +109,7 @@ body { display: flex; justify-content: center; align-items: center; - transition: all 0.3s ease; + transition: all 0.3s ease; margin: auto; padding: 20px; background: rgba(255, 255, 255, 0.1); @@ -125,8 +131,8 @@ body { overflow-y: auto; border: none; outline: none; - resize: none; - box-sizing: border-box; + resize: none; + box-sizing: border-box; } @@ -135,6 +141,8 @@ body { pointer-events: none; } + + .top-toolbar { position: fixed; top: 0; @@ -152,7 +160,7 @@ body { } .top-toolbar > * { - margin: 0; + margin: 0; padding: 0; } @@ -301,7 +309,7 @@ body.dark-theme pre[class*="language-"] { font-size: 16px; background: rgba(250, 250, 250, 0.8); line-height: 1.6; - background: #e0e0e0; + background: #ffffff; color: #333; } @@ -470,3 +478,4 @@ body.dark-blue-theme #preview { border: none; opacity: 1; } +