aboutsummaryrefslogtreecommitdiffstats
path: root/index.css
diff options
context:
space:
mode:
author2023-07-30 19:56:00 +0530
committer2023-07-30 19:56:00 +0530
commit34ba8e176db5663cd731413052524344910c5f3f (patch)
tree604b1d0825439876f1ac40157062007784c51080 /index.css
downloadwebtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar.gz
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar.bz2
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar.lz
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar.xz
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.tar.zst
webtexteditor-34ba8e176db5663cd731413052524344910c5f3f.zip
Initial Commitmain
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz>
Diffstat (limited to 'index.css')
-rw-r--r--index.css69
1 files changed, 69 insertions, 0 deletions
diff --git a/index.css b/index.css
new file mode 100644
index 0000000..2d8cbc6
--- /dev/null
+++ b/index.css
@@ -0,0 +1,69 @@
+*{
+ box-sizing: inherit;
+}
+
+@media print{
+ header {
+ display: none;
+ }
+}
+
+html {
+ box-sizing: border-box;
+}
+
+menu > li {
+ display: inline;
+ list-style: none;
+ padding: 0.5rem;
+}
+
+@media screen{
+ html {
+ color-scheme: light dark;
+ height: 90vh;
+ }
+ body {
+ display: grid;
+ grid: "head" fit-content(1rem) "main" auto;
+ height: 100%;
+ }
+
+ header {
+ grid-area: head;
+ color-scheme: light;
+ background-color: rgb(117,117,117);
+ }
+
+ #fileInput{
+ height: 0;
+ width: 0;
+ padding: 0;
+ opacity: 0;
+ }
+
+ label[for="fileInput"] {
+ text-align: center;
+ }
+
+ button{
+ color: inherit;
+ background: inherit;
+ font: inherit;
+ border: none;
+ }
+
+ :is(button,label[for="fileInput"]):hover {
+ background-color: dimgray;
+ }
+
+
+
+ #editor {
+ grid-area: main;
+ border: 1px solid;
+ height: 100%;
+ padding: 1rem;
+ overflow: scroll;
+ }
+}