summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-04 18:15:49 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-04 18:15:49 -0400
commit4132d7280d054436df41373812ed2fb52651de33 (patch)
tree38e3a8dea05e217633ba2c1f6f8dda53218fdc46
parent04bdab58f3dcacfa22a1d585751c17b94e7bc18a (diff)
downloadweb-4132d7280d054436df41373812ed2fb52651de33.tar.xz
CSS consolidation.
-rw-r--r--common.css12
-rw-r--r--notekins/nksext.css10
2 files changed, 14 insertions, 8 deletions
diff --git a/common.css b/common.css
index d065f2c..38ca98c 100644
--- a/common.css
+++ b/common.css
@@ -79,6 +79,8 @@ input[type="text"]{
background-color: rgba(0,0,0,0) !important;
font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace;
font-variant-ligatures: none;
+ color: var(--principal-fg);
+ border-bottom-color: var(--interactive-bg);
}
textarea{
border:2px solid;
@@ -86,6 +88,8 @@ textarea{
background-color:rgba(0,0,0,0) !important;
font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace;
font-variant-ligatures: none;
+ color: var(--principal-fg);
+ border-color: var(--interactive-bg);
}
body{
background-color: var(--principal-bg);
@@ -141,14 +145,6 @@ button:active,.fakebtn:active{
button:disabled{
background-color: var(--interactive-disabled-bg);
}
-input[type="text"]{
- color: var(--principal-fg);
- border-bottom-color: var(--interactive-bg);
-}
-textarea{
- color: var(--principal-fg);
- border-color: var(--interactive-bg);
-}
.widgetbg{background-color: var(--widget-area-bg);}
.sliderb1{background-color: var(--slider-empty-bg);}
.sliderb2{background-color: var(--slider-filled-bg);}
diff --git a/notekins/nksext.css b/notekins/nksext.css
index 6aacdb9..ccfd8ac 100644
--- a/notekins/nksext.css
+++ b/notekins/nksext.css
@@ -58,3 +58,13 @@ span.date span.datetz {
span.date:hover span.datetz {
opacity: initial;
}
+input[type="text"]{
+ border: none;
+ border-bottom: 2px solid;
+ outline: none !important;
+ background-color: rgba(0,0,0,0) !important;
+ font-family: 'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace;
+ font-variant-ligatures: none;
+ color: var(--principal-fg);
+ border-bottom-color: var(--interactive-bg);
+}