aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-04-11 19:52:19 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-04-11 19:52:19 -0600
commitc7a442bd9d0e07bc58f43e6263ccf1a2c1337960 (patch)
tree4c399788122072f7111f52453f6fa497a92eb36b /examples/config
parente7578e27ccb638ca59ad250bc7a8049b3aa25df4 (diff)
move style.css from examples/data to examples/config
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config9
-rw-r--r--examples/config/style.css25
2 files changed, 30 insertions, 4 deletions
diff --git a/examples/config/config b/examples/config/config
index 272ba32..d049f0e 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -4,9 +4,10 @@
# === Core settings ==========================================================
# common directory locations
-set prefix = @(echo $PREFIX)@
-set data_home = @(echo $XDG_DATA_HOME)@
-set cache_home = @(echo $XDG_CACHE_HOME)@
+set prefix = @(echo $PREFIX)@
+set data_home = @(echo $XDG_DATA_HOME)@
+set cache_home = @(echo $XDG_CACHE_HOME)@
+set config_home = @(echo $XDG_CONFIG_HOME)@
# Interface paths.
set fifo_dir = /tmp
@@ -95,7 +96,7 @@ set download_handler = sync_spawn @scripts_dir/download.sh
# === Behaviour and appearance ===============================================
# Custom CSS can be defined here, including link follower hint styles
-set stylesheet_uri = file://@data_home/uzbl/style.css
+set stylesheet_uri = file://@config_home/uzbl/style.css
set show_status = 1
set status_top = 0
diff --git a/examples/config/style.css b/examples/config/style.css
new file mode 100644
index 0000000..ff055d1
--- /dev/null
+++ b/examples/config/style.css
@@ -0,0 +1,25 @@
+#uzbl_link_hints > span {
+ z-index: 1000 !important;
+
+ background-color: #aaff00 !important;
+ border: 2px solid #556600 !important;
+ margin: 0 !important;
+ padding: 1px !important;
+
+ color: black !important;
+ font-size: 9px !important;
+ line-height: 9px !important;
+ font-weight: bold !important;
+ font-variant: normal !important;
+ text-decoration: none !important;
+
+ -webkit-transform: translate(-5px,-5px);
+ /* opacity: 0.7; */
+}
+
+/* we can have different colours for different types of hints! */
+#uzbl_link_hints.new-window > span {
+ background-color: #ffff00 !important;
+}
+
+/* vim:set et ts=4: */