From 638059a26b895965cf150eda7fe286754e3a85fd Mon Sep 17 00:00:00 2001 From: Michael Demetriou Date: Tue, 15 Oct 2019 11:53:07 +0300 Subject: [PATCH] Remove css changes, keep only pad switching code https://github.com/writeas/writefreely/pull/188#issuecomment-540045935 --- less/core.less | 55 -------------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/less/core.less b/less/core.less index 179536e..f4332a9 100644 --- a/less/core.less +++ b/less/core.less @@ -2,7 +2,6 @@ @secondary: rgb(114, 191, 133); @subheaders: #444; @headerTextColor: black; -@headerTextColorDarkMode: white; @sansFont: 'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif; @serifFont: Lora, 'Palatino Linotype', 'Book Antiqua', 'New York', 'DejaVu serif', serif; @monoFont: Hack, consolas, Menlo-Regular, Menlo, Monaco, 'ubuntu mono', monospace, monospace; @@ -11,10 +10,6 @@ @proSelectedCol: #71D571; @textLinkColor: rgb(0, 0, 238); -:root { - color-scheme: light dark; -} - body { font-family: @serifFont; font-size-adjust: 0.5; @@ -1516,53 +1511,3 @@ div.row { pre.code-block { overflow-x: auto; } - -@media (prefers-color-scheme: dark) { - body{ - color: #eee; - background: #111; - - .post-title a:link{ - color: #ccc; - } - - &#collection{ - color: #eee; - - pre{ - background: #060606; - } - } - - h1, header h2 { - a { - color: @headerTextColorDarkMode; - &:hover { - color: #cfcfcf; - } - } - } - - #nav#manage ul a, .dropdown-nav ul a, nav#manage ul ul a, nav#manage ul a{ - color: #ccc; - } - - .dropdown-nav ul ul, .dropdown-nav ul li:hover, nav#manage ul ul, nav#manage ul ul li:hover, nav#manage ul li:hover{ - background: #222; - } - - #official-writing h2, #official-writing h3, #official-writing h4, #wrapper h2, #wrapper h3, #wrapper h4{ - color: #ddd; - } - - a { - color: rgb(162, 162, 255); - } - - a:visited{ - color: rgb(201, 138, 253); - } - - } - -} \ No newline at end of file