From ea2dc3f10d975977691bf920b72e180635a5912f Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Sun, 26 Apr 2020 16:58:12 -0600 Subject: Add "read-only" mode --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index bba39b5..fe59f89 100644 --- a/style.css +++ b/style.css @@ -96,6 +96,12 @@ div.material-icons { color: var(--text); } +html.read-only #open { display: none; } +html.read-only #save { display: none; } +html.read-only .edit-btn { display: none; } +html.read-only #disable-edit { display: none; } +html:not(.read-only) #enable-edit { display: none; } + h1 { margin-bottom: 12px; font-size: 42px; -- cgit v1.2.3-54-g00ecf