[epiphany/wip/cdavis/empty-page-styling: 1/2] about.css: Match HdyStatusPage styling




commit dd7f7e4d723700f75a090c2e56aa56c7c51092db
Author: Christopher Davis <brainblasted disroot org>
Date:   Wed Feb 10 21:30:35 2021 -0800

    about.css: Match HdyStatusPage styling
    
    Apps in GNOME 40 are using HdyStatusPage for empty views.
    Since we use a web page, we should match the styling
    as closely as we can.

 src/resources/about.css | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/resources/about.css b/src/resources/about.css
index 187ae1b19..e9f409196 100644
--- a/src/resources/about.css
+++ b/src/resources/about.css
@@ -400,10 +400,16 @@ html[dir="rtl"] .overview-item {
 
 .overview-empty h1 {
     color: var(--text-color);
-    opacity: 0.55; /* Adwaita's dim-label */
+    /* Imitate styling from HdyStatusPage */
+    font-size: 24pt;
+    font-weight: bold;
     text-shadow: none;
 }
 
+.overview-empty p {
+  text-align: center;
+}
+
 .overview-empty img {
     -webkit-user-select: none;
     -webkit-user-drag: none;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]