[gnome-2048/arnaudb/wip/gtk4] Make gameover-label better.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-2048/arnaudb/wip/gtk4] Make gameover-label better.
- Date: Thu, 16 Jul 2020 16:54:05 +0000 (UTC)
commit 137b9a11bf82e2fd4474cc121a6a376dd64108e8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Jul 16 17:59:14 2020 +0200
Make gameover-label better.
data/gnome-2048.css | 11 +++++++++++
data/mainwindow.ui | 3 +++
2 files changed, 14 insertions(+)
---
diff --git a/data/gnome-2048.css b/data/gnome-2048.css
index d84cd77..bd49939 100644
--- a/data/gnome-2048.css
+++ b/data/gnome-2048.css
@@ -1,3 +1,14 @@
.background-grid {
background-color:#babdb6;
}
+
+/*\
+* * gameover
+\*/
+
+.gameover-label {
+ font-family: "Bitstream Vera Sans"; /* same as Swell Foop */
+ font-weight: bold;
+ font-size: 28px;
+ color: black;
+}
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
index a428ed1..3b339d6 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -43,6 +43,9 @@
<object class="GtkLabel" id="_gameover_label">
<property name="visible">False</property>
<property name="label" translatable="yes">Game Over</property>
+ <style>
+ <class name="gameover-label"/>
+ </style>
</object>
</child>
<child type="overlay">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]