From 2a2af5a4f83c94e059d86a973cddaf63fc415d1f Mon Sep 17 00:00:00 2001 From: cuigh Date: Thu, 12 Apr 2018 13:19:02 +0800 Subject: [PATCH] Optimize style --- assets/swirl/css/swirl.css | 13 +++++++++++-- views/index.jet | 8 ++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/assets/swirl/css/swirl.css b/assets/swirl/css/swirl.css index c74a6ad..1a7f7dc 100644 --- a/assets/swirl/css/swirl.css +++ b/assets/swirl/css/swirl.css @@ -19,8 +19,6 @@ body { .icon.infobox { margin-left: 1em; - /*height: 4rem;*/ - /*width: 4rem;*/ } .notification.is-top { @@ -171,6 +169,13 @@ dd { color: whitesmoke; } +.card, .box { + -webkit-box-shadow: none !important; + box-shadow: none !important; + border: 1px solid rgba(0, 40, 100, 0.12); + border-radius: 5px; +} + .card-header-title { white-space: nowrap; text-overflow: ellipsis; @@ -185,6 +190,10 @@ dd { padding: 0.75rem; } +.level.is-mobile .level-item:last-child { + margin-right: 0; +} + .block { font-size: 1rem; } diff --git a/views/index.jet b/views/index.jet index 1a6861b..8cad3a0 100644 --- a/views/index.jet +++ b/views/index.jet @@ -13,18 +13,18 @@ {{ block infobox(style, icon, text, url, count) }}
-
+