Make link number style more robust
Use bold, small font, white background, 1 line high and displayed. Mark attributes with !important to ensure the style is not changed due to styling on the page.
This commit is contained in:
parent
8b7640731d
commit
ad6905db4d
1 changed files with 5 additions and 3 deletions
|
@ -1814,9 +1814,11 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
|
||||||
" document.styleSheets[0].insertRule (aSelector + ' ' + aRule);"
|
" document.styleSheets[0].insertRule (aSelector + ' ' + aRule);"
|
||||||
" } )"
|
" } )"
|
||||||
" ('.midoriHKD87346', '{ "
|
" ('.midoriHKD87346', '{ "
|
||||||
" z-index:500; font-size:x-small; -webkit-border-radius:0.3em;"
|
" font-size:small !important; font-weight:bold !important;"
|
||||||
" background-color:white; border:1px solid gray; color: black;"
|
" z-index:500; border-radius:0.3em; line-height:1 !important;"
|
||||||
" padding:0 0.1em; position:absolute; }');"
|
" background: white !important; color: black !important;"
|
||||||
|
" border:1px solid gray; padding:0 0.1em !important;"
|
||||||
|
" position:absolute; display:inline !important; }');"
|
||||||
"var links = document.getElementsByTagName ('a');"
|
"var links = document.getElementsByTagName ('a');"
|
||||||
"for (i in links) {"
|
"for (i in links) {"
|
||||||
" var child = document.createElement ('span');"
|
" var child = document.createElement ('span');"
|
||||||
|
|
Loading…
Reference in a new issue