From bece24e3824d11c08fad9c6338f446ee29d4913f Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sun, 6 Mar 2011 03:06:26 -0700 Subject: do link hint styling in user stylesheet. --- examples/data/style.css | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'examples/data/style.css') diff --git a/examples/data/style.css b/examples/data/style.css index f9b111e..45bb56f 100644 --- a/examples/data/style.css +++ b/examples/data/style.css @@ -1,25 +1,23 @@ -.uzbl_highlight { background-color: yellow;} -.uzbl_h_first { background-color: lightgreen;} - -.uzbl_follow { border-style: dotted; - border-width: thin; +#uzbl_link_hints > span { + background-color: #aaff00; + color: black; + border: 2px solid #556600; + font-family: Verdana; + font-size: 9px; + font-weight: bold; + font-variant: normal; + line-height: 9px; + margin: 0px; + width: auto; /* fix broken rendering on w3schools.com */ + padding: 1px; + z-index: 1000; + text-decoration: none; + -webkit-transform: translate(-5px,-5px); } -#uzbl_hint > div { - display: inline; - border: 2px solid #4a6600; - background-color: #b9ff00; - color: black; - font-size: 9px; - font-weight: bold; - line-height: 9px; - margin: 0px; - padding: 0px; - position: absolute; - z-index: 1000; - -webkit-border-radius: 6px; - text-decoration: none; - -wekit-transform: scale(1) rotate(0deg) translate(-6px,-5px); +/* we can have different colours for different types of hints! */ +#uzbl_link_hints.new-window > span { + background-color: #ffff00; } /* vim:set et ts=4: */ -- cgit v1.2.3