[gnome-2048/arnaudb/wip/gtk4: 49/57] Make gameover-label better.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-2048/arnaudb/wip/gtk4: 49/57] Make gameover-label better.
- Date: Mon, 28 Sep 2020 14:35:55 +0000 (UTC)
commit a07fb00329f1a848756c271e831f1755026ea14c
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 36b45bf..10bd6e4 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -38,6 +38,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]