night-shift.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* the theme was taken from <http://userstyles.org/styles/18192/nightshift-eye-care>. */
  2. /* AGENT_SHEET */
  3. /* ▓▓ NIGHTSHIFT - eye care: ▓▓
  4. ▓▓ A darkening style for all websites. ▓▓
  5. ▓▓ by vetinari - 2009 ▓▓
  6. ▓▓ contact: vetinari.userstyles@inode.at ▓▓
  7. ▓▓ --------------------------------------- ▓▓
  8. ▓▓ last modified: 13.06.2012 ▓▓
  9. ▓▓_________________________________________▓▓ */
  10. @namespace url(http://www.w3.org/1999/xhtml);
  11. @-moz-document url-prefix(http://), url-prefix(https://),url-prefix(about:blank) {
  12. body,html {min-height: 100%!important; }
  13. html, body{background-color:#111!important}
  14. body>*:not(:empty){background-color:#222!important}
  15. body>*>*:not(:empty){background-color:#222!important}
  16. body>*>*>*:not(:empty){background-color:#282828!important}
  17. body>*>*>*>*:not(:empty){background-color:#282828!important}
  18. body>*>*>*>*>*:not(:empty){background-color:#383838!important}
  19. body>*>*>*>*>* *{background-color:#383838!important}
  20. body table:not(:empty){background-color:#282828!important}
  21. body table>tbody>tr:nth-child(even){background-color:rgba(0,0,0,.2)!important}
  22. body table>tbody>tr>td:nth-child(odd){background-color:rgba(0,0,0,.1)!important}
  23. body *:empty{background-color: #111!important}
  24. body p:not(:empty), body p *, body h1, body h1 *, body h2, body h2 *, body h3, body h3 *, body h4, body h4 *, body h5, body h5 *, body strong>*, body b>*, body em>*, body i>*, body span>*:not(img){background:transparent none!important}
  25. body h1, body h1 *, body h2, body h2 *, p>strong:only-of-type, p>b:only-of-type{color: #a98!important}
  26. body h3, body h3 *, body h4, body h4 *{color: #aaa!important}
  27. *:not([onclick]):not(input):not(a):not(img):not([class^="UI"]), body a:not(:empty), div:not([onclick]){background-image:none!important; text-indent:0!important}
  28. *[onclick] {color:#79a!important}
  29. *[onclick]:hover {color:#99a8aa!important}
  30. body hr{background: #666 none!important; color: #666!important; border:1px solid #666!important; height: 1px!important; overflow:hidden!important; display: block!important}
  31. * {color: #c0c0c0!important; border-color:#60666a!important;box-shadow: 0 0 0 #333!important}
  32. * body a, body a *{color: #B6AA7B!important;}
  33. /* body a:visited, body a:visited *{color: #666!important;} */
  34. body a:hover, body a:hover *{color: #D9C077!important; text-decoration: underline!important}
  35. body img,a[href] img, a[href] button, input[type="image"],*[onclick]:empty, body a:empty{opacity:.5!important}
  36. body img:hover,a[href]:hover img, a[href]:hover button, *[onclick]:empty:hover, body a:empty:hover{opacity:1!important}
  37. body span>img{visibility:visible!important}
  38. body input[type], input, body textarea, body select{-moz-appearance:none!important; color: #bbb!important; border-radius:4px !important; border-width: 1px!important; border-color:rgba(100,100,100,.5)!important;border-style:solid!important; background:-moz-linear-gradient( top , #303030 40%, #383838, #343434 ) #333 !important; box-shadow: inset 1px 1px 1px #111!important}
  39. body input[type="submit"], body input[type="button"], body input[type="image"], body input[type="reset"], body button{-moz-appearance:none!important; color: #bbb!important; border-radius:4px !important; border-width: 1px!important; border-color:rgba(100,100,100,.5)!important;border-style:solid!important; background:-moz-linear-gradient( top , #404040 45%, #282828 55%) #333 !important; box-shadow: 1px 1px 1px #111!important}
  40. body input[type]>*, body textarea>*{-moz-appearance:none!important; background:transparent none !important; color: #bbb!important; border-style:solid!important; border-width: 0px!important;}
  41. body select *{background-color:transparent !important; color: #bbb!important; border-style:solid!important; border-width: 0px!important;}
  42. pre:not(:empty), code:not(:empty) , cite:not(:empty), pre:not(:empty) *, code:not(:empty) *, cite:not(:empty) *{background-image:url(data:image/gif;base64,R0lGODlhBAAEAIAAABERESIiIiH5BAAAAAAALAAAAAAEAAQAAAIGTACXaHkFADs=)!important; color: #bcc8dc!important;}
  43. }