From cfc60ae6dc3296aa0b1b87d1f9543749f2e41768 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 16 Jan 2013 04:13:12 +0100 Subject: Conkeror: Add github dashboard style I don't like it when it's so bright. --- .conkerorrc/styles/Makefile | 4 ++ .conkerorrc/styles/github.css | 160 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) create mode 100644 .conkerorrc/styles/Makefile create mode 100644 .conkerorrc/styles/github.css (limited to '.conkerorrc/styles') diff --git a/.conkerorrc/styles/Makefile b/.conkerorrc/styles/Makefile new file mode 100644 index 0000000..db06cf3 --- /dev/null +++ b/.conkerorrc/styles/Makefile @@ -0,0 +1,4 @@ +DESTDIR:=$(DESTDIR)/styles +objects=github.css + +include ../../dotfiles.mk diff --git a/.conkerorrc/styles/github.css b/.conkerorrc/styles/github.css new file mode 100644 index 0000000..7fdc415 --- /dev/null +++ b/.conkerorrc/styles/github.css @@ -0,0 +1,160 @@ +@-moz-document url(https://github.com/), url(https://github.com/dashboard) { + #dashboard .filter-bar { + background: #222224 !important; + border-bottom: none !important; + } + + #dashboard .filter-bar li a.filter_selected { + color: #eeeeec !important; + } + + #dashboard .repos { + border: none !important; + background-color: #171719 !important; + } + + #dashboard .repos .bottom-bar { + background-color: #222224 !important; + } + + #dashboard .repos .top-bar { + background: #222224 !important; + border-bottom: none !important; + } + + #dashboard .repos h2 { + color: inherit !important; + } + + #dashboard ul.repo_list li.private { + background: #222224 !important; + } + + #dashboard ul.repo_list li a { + border-width: 0 !important; + } + + #footer { + text-shadow: none !important; + } + + .button .minibutton { + background: #171719 !important; + } + + .header { + background: #222224 !important; + color: #eeeeec !important; + border-bottom: none !important; + text-shadow: none !important; + } + + .header .divider-vertical { + background: #222224 !important; + border-right: none !important; + } + + .header .top-nav a { + color: #eeeeec !important; + } + + .header .topsearch a#advanced_search { + color: #eeeeec !important; + } + + .header #user-links a { + color: #eeeeec !important; + } + + .markdown-body code, + .markdown-body tt{ + background-color: #222224 !important; + border: none !important; + color: #eeeeec !important; + } + + .minibutton.dark-grey { + background: #171719 !important;o + } + + .news .alert { + border-top: none !important; + } + + .news .alert .branch-link, + .news .alert .pull-info { + background: #222224 !important; + color: #eeeeec !important; + } + + .news .alert .gravatar { + background: none !important; + } + + .news .alert .simple .title { + color: #eeeeec !important; + } + + .news .commits li img { + background: none !important; + } + + .news blockquote { + color: #eeeeec !important; + } + + .pagehead .container > ul.tabs { + background: #171719 !important; + border: none !important; + } + + .pagehead .container > ul.tabs li a { + text-shadow: none !important; + border: none !important; + } + + .pagehead .container > ul.tabs li a:hover { + background: #222224 !important; + } + + .pagehead .container > ul.tabs li a.selected { + background: #222224 !important; + } + + .pagehead-actions a.feed { + background: #222224 !important; + border: none !important; + } + + .pagination { + background: #171719 !important; + border: none !important; + } + + .pagination a { + text-shadow: none !important; + border-bottom: none !important; + } + + .pagination a:hover { + background: #222224 !important; + } + + a { + color: #ffbb56 !important; + } + + a:visited { + color: #ee82ee !important; + } + + a.header-logo-blacktocat, + a.header-logo-blacktocat:visited { + color: #eeeeec !important; + } + + body { + background-color: #111113 !important; + color: #eeeeec !important; + } +} -- cgit v1.2.3-54-g00ecf From 14a7381aa82dacf8c93e0fa33d0d035b4f633d9b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 4 Feb 2013 20:27:24 +0100 Subject: conkeror: Add style for conkeror start page --- .conkerorrc/init.js | 17 +++++++++++------ .conkerorrc/styles/Makefile | 2 +- .conkerorrc/styles/help.css | 19 +++++++++++++++++++ 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 .conkerorrc/styles/help.css (limited to '.conkerorrc/styles') diff --git a/.conkerorrc/init.js b/.conkerorrc/init.js index 96b5dde..6957245 100644 --- a/.conkerorrc/init.js +++ b/.conkerorrc/init.js @@ -23,6 +23,15 @@ function ext_title_format(window) { + window.buffers.current.description; } +function oni_add_sheet(css) { + let (sheet = get_home_directory()) { + sheet.append(".conkerorrc"); + sheet.append("styles"); + sheet.append(css); + register_user_stylesheet(make_uri(sheet)); + }; +} + function oni_before_quit_func() { var w = get_recent_conkeror_window(); var result = (w == null) || @@ -268,9 +277,5 @@ function read_url_local_port_handler(input) read_url_handler_list = [read_url_local_port_handler, read_url_github_command_handler]; -let (sheet = get_home_directory()) { - sheet.append(".conkerorrc"); - sheet.append("styles"); - sheet.append("github.css"); - register_user_stylesheet(make_uri(sheet)); -}; +oni_add_sheet("github.css"); +oni_add_sheet("help.css"); diff --git a/.conkerorrc/styles/Makefile b/.conkerorrc/styles/Makefile index db06cf3..fb44500 100644 --- a/.conkerorrc/styles/Makefile +++ b/.conkerorrc/styles/Makefile @@ -1,4 +1,4 @@ DESTDIR:=$(DESTDIR)/styles -objects=github.css +objects=github.css help.css include ../../dotfiles.mk diff --git a/.conkerorrc/styles/help.css b/.conkerorrc/styles/help.css new file mode 100644 index 0000000..03888b6 --- /dev/null +++ b/.conkerorrc/styles/help.css @@ -0,0 +1,19 @@ +@-moz-document url(chrome://conkeror-help/content/help.html) { + body { + background: #111113 !important; + color: #eeeeec !important; + } + + a { + color: #ffbb56 !important; + } + + a:visited { + color: #ee82ee !important; + } + + pre, .key { + background: #222224 !important; + font-family: "Envy Code R" !important; + } +} -- cgit v1.2.3-54-g00ecf From 64a11cb9fcacea50354ae3bba7aa269ff1e73901 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 4 Feb 2013 20:28:06 +0100 Subject: conkeror: Change code font for github --- .conkerorrc/styles/github.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.conkerorrc/styles') diff --git a/.conkerorrc/styles/github.css b/.conkerorrc/styles/github.css index 7fdc415..ff3a643 100644 --- a/.conkerorrc/styles/github.css +++ b/.conkerorrc/styles/github.css @@ -67,10 +67,11 @@ } .markdown-body code, - .markdown-body tt{ + .markdown-body tt { background-color: #222224 !important; border: none !important; color: #eeeeec !important; + font-family: "Envy Code R" !important; } .minibutton.dark-grey { -- cgit v1.2.3-54-g00ecf