From 7c15fe4c937c6f531f1d6e480977d36341eb1837 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 24 Feb 2019 20:34:43 +0100 Subject: Remove old styles --- frontend/404.html | 9 +++---- frontend/css/style.css | 66 +++++++++----------------------------------------- frontend/welcome.html | 32 ++++++++++++------------ 3 files changed, 31 insertions(+), 76 deletions(-) diff --git a/frontend/404.html b/frontend/404.html index 21fd6b4..c660424 100644 --- a/frontend/404.html +++ b/frontend/404.html @@ -1,6 +1,6 @@ - Surfer - File not found + Surfer - File not found @@ -8,11 +8,8 @@ -
-
-

Surfer

-

File not found

-
+
+

File not found

diff --git a/frontend/css/style.css b/frontend/css/style.css index b868258..3233715 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -1,9 +1,15 @@ -body { +[v-cloak] { + display: none; +} + +html, body { margin: 0; font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif; font-weight: 400; color: rgb(96, 98, 102); + height: 100%; + width: 100%; } .el-container { @@ -72,58 +78,10 @@ a:hover, a:focus { padding: 7px; } -/* old */ - -.wrapper { - display: table; - width: 100%; - height: 100%; -} - -.content { - display: table-cell; - width: 100%; +/* welcome and 404 page */ +.container-center { + display: flex; height: 100%; - text-align: center; - vertical-align: middle; -} - -pre { - margin: auto; - text-align: left; - width: 400px; -} - -[v-cloak] { - display: none; -} - -.hand { - cursor: pointer; -} - -.main { - margin-bottom: 40px; -} - -td { - vertical-align: middle !important; - overflow: hidden; -} - -.entry-toolbar { - opacity: 0; - transition: opacity .25s; -} - -tr:hover .entry-toolbar { - opacity: 1; -} - -table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { - content: " \25B4\25BE" -} - -th { - cursor: pointer; + align-items: center; + justify-content: center; } diff --git a/frontend/welcome.html b/frontend/welcome.html index ddc9c36..f125c1b 100644 --- a/frontend/welcome.html +++ b/frontend/welcome.html @@ -1,26 +1,26 @@ - Surfer - Welcome + Surfer - Welcome - + - + -
-
- -

Surfer

-

- Manage your files in your browser or use the commandline tool. -

-
-
-
-
-
-
+
+
+ +

Surfer

+

+ Manage your files in your browser or use the commandline tool. +

+
+
+
+
+
+
-- cgit v1.2.3