From 31533d6c9c94e23148c5d39ebcac3a59dc5acf62 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Mon, 15 Feb 2021 10:53:06 +0200 Subject: Image viewer now sucke less --- css/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'css/style.css') diff --git a/css/style.css b/css/style.css index 619c4d8..bc625a6 100644 --- a/css/style.css +++ b/css/style.css @@ -1,3 +1,4 @@ + html, body { margin: 0; height: 100%; @@ -306,6 +307,17 @@ input[type=submit]:hover { background: white; } +.filecontents.imgview { + background-color: black; + background-repeat: no-repeat; + background-position: center; +} + +.filecontentsroot, .foldercontents { + display: flex; + flex-direction: column; +} + .filecontents { padding: 0.8rem; font-size: 1.1rem; @@ -465,3 +477,4 @@ input[type=submit]:hover { .close_button:hover { background: white; } + -- cgit v1.2.3 From e2ab5591cc6d30b1fa26e094b2c50aa7879cdd88 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Mon, 15 Feb 2021 11:06:52 +0200 Subject: Editable text 0.1 --- css/style.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'css/style.css') diff --git a/css/style.css b/css/style.css index bc625a6..09456a3 100644 --- a/css/style.css +++ b/css/style.css @@ -307,6 +307,10 @@ input[type=submit]:hover { background: white; } +.filecontents { + font-family: monospace; +} + .filecontents.imgview { background-color: black; background-repeat: no-repeat; @@ -319,8 +323,17 @@ input[type=submit]:hover { } .filecontents { - padding: 0.8rem; - font-size: 1.1rem; + overflow-y: scroll; +} +[contenteditable] { + outline: 0px solid transparent; +} + +pre { + font-size: 1.3rem; + min-height: 100%; + margin: 0.3rem; + box-sizing: border-box; } .window h3, -- cgit v1.2.3