Fixed some default styling
authorMarijn van Vliet <w.m.vanvliet@student.utwente.nl>
Sun, 19 Dec 2010 10:58:46 +0000 (11:58 +0100)
committerMarijn van Vliet <w.m.vanvliet@student.utwente.nl>
Sun, 19 Dec 2010 10:58:46 +0000 (11:58 +0100)
libchimara/style.c
player/style.css

index c42a659b39cc73ed24df46cc57914c6c1c3c4806..9779a37e2c474ebf9ad0c6022e88637ee41ff70b 100644 (file)
@@ -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");
index 7f0d1fc477e5a7e8e9d1b27434c3af33b69c02c2..b012c767bfbe91d5b0f7f9c613942246c426eba8 100644 (file)
  * 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;
 }