From fd5decfbb0eecfbb00bf5b1ec6a12578d00e680d Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Sun, 19 Dec 2010 11:58:46 +0100 Subject: [PATCH] Fixed some default styling --- libchimara/style.c | 4 ++-- player/style.css | 14 ++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/libchimara/style.c b/libchimara/style.c index c42a659..9779a37 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -319,12 +319,12 @@ style_init(ChimaraGlk *glk) tag = gtk_text_tag_new("header"); //g_object_set(tag, "font-desc", default_font_desc, "size-points", 18.0, "weight", PANGO_WEIGHT_BOLD, NULL); - g_object_set(tag, "size-points", 18.0, "weight", PANGO_WEIGHT_BOLD, NULL); + g_object_set(tag, "weight", PANGO_WEIGHT_BOLD, NULL); g_hash_table_insert(default_text_buffer_styles, "header", tag); tag = gtk_text_tag_new("subheader"); //g_object_set(tag, "font-desc", default_font_desc, "size-points", 14.0, "weight", PANGO_WEIGHT_BOLD, NULL); - g_object_set(tag, "size-points", 14.0, "weight", PANGO_WEIGHT_BOLD, NULL); + g_object_set(tag, "weight", PANGO_WEIGHT_BOLD, NULL); g_hash_table_insert(default_text_buffer_styles, "subheader", tag); tag = gtk_text_tag_new("alert"); diff --git a/player/style.css b/player/style.css index 7f0d1fc..b012c76 100644 --- a/player/style.css +++ b/player/style.css @@ -25,8 +25,12 @@ * background-color (#hex-value) * text-align (left/right/center) */ -grid.normal { - font-size: 10; +grid { + font-size: 14; +} + +buffer { + font-size: 14; } grid.user1 { @@ -34,18 +38,12 @@ grid.user1 { background-color: #ffffff; } -buffer.normal { - font-size: 10; -} - buffer.header { - font-size: 14; font-weight: bold; text-align: center; } buffer.subheader { - font-size: 12; font-weight: bold; } -- 2.30.2