rosenrot-browser

A hackable browser based on Webkitgtk
Log | Files | Refs | README

commit 6d925ea23ae7bae6627e2e6575d34bc7e6f7a628
parent 0f2ca9b9f7790a664a548bc6034711a17101519d
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date:   Thu, 14 Mar 2024 16:05:54 -0300

remove most custom style (but leave large font)

gtk default already looks amazing

Diffstat:
Mrosenrot | 0
Mrosenrot.c | 2+-
Mstyle.css | 28----------------------------
Ruser-scripts/styles/style-original.css -> user-scripts/styles/style-v1.css | 0
Ruser-scripts/styles/style-nuno.css -> user-scripts/styles/style-v2.css | 0
Cstyle.css -> user-scripts/styles/style-v3.css | 0
6 files changed, 1 insertion(+), 29 deletions(-)

diff --git a/rosenrot b/rosenrot Binary files differ. diff --git a/rosenrot.c b/rosenrot.c @@ -407,7 +407,7 @@ int main(int argc, char** argv) gtk_init(NULL, NULL); // <https://docs.gtk.org/gtk3/func.init.html> g_object_set(gtk_settings_get_default(), GTK_SETTINGS_CONFIG_H, NULL); // <https://docs.gtk.org/gobject/method.Object.set.html> GtkCssProvider* css = gtk_css_provider_new(); - gtk_css_provider_load_from_path(css, "/usr/share/themes/rose/style.css", NULL); + gtk_css_provider_load_from_path(css, "/usr/share/themes/rosenrot/style.css", NULL); gtk_style_context_add_provider_for_screen(gdk_screen_get_default(), GTK_STYLE_PROVIDER(css), 800); /* Initialize GTK objects. These are declared as static globals at the top of this file */ diff --git a/style.css b/style.css @@ -1,25 +1,9 @@ -@define-color Surface0 #313244; -@define-color Surface1 #45475a; -@define-color Base #1e1e2e; -@define-color Mantle #181825; -@define-color Lavender #b4befe; -@define-color Text #cdd6f4; - * { - padding: 0px; - margin: 0px; - outline-color: @Lavender; - color: @Text; - border-color: white; font-size: 25px; /*@Base; */ /* border-bottom-color: @Base; */ } -window, notebook, headerbar { - background: @Base; -} - /* Make titlebar pretty gigantic. I'm pretty myopic. */ .titlebar { padding: 10px; @@ -38,33 +22,21 @@ header * { } tabs { - background-color: @Base; padding: 3px; - outline-color: white; - border-color: @Base; } tab { - background-color: @Base; margin: 2px 5px 2px 0px; padding: 5px; border-style: solid; font-size: 27px; - /*border-color: white; - border-bottom-color: white; - outline-color: white; - margin: 5px; - padding-left: 10px; - padding-right: 10px; */ } entry { - background-color: @Surface0; padding-left: 10px; } entry:focus { - background-color: @Surface0; padding-left: 10px; } diff --git a/user-scripts/styles/style-original.css b/user-scripts/styles/style-v1.css diff --git a/user-scripts/styles/style-nuno.css b/user-scripts/styles/style-v2.css diff --git a/style.css b/user-scripts/styles/style-v3.css