Advertisement
Guest User

SU CSS

a guest
Mar 21st, 2015
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @id             SU Font
  3. // @name           SU Font
  4. // @version        1.0
  5. // @namespace      http://superuser.com/
  6. // @author        
  7. // @description    
  8. // @include        http://superuser.com/*
  9. // @run-at         document-end
  10. // ==/UserScript==
  11.  
  12. var css =
  13. "a.post-tag { \
  14.    border-width: 2px; \
  15. } \
  16. #question-header a.question-hyperlink { \
  17.    font-family: Trebuchet MS,Liberation Sans,DejaVu Sans,sans-serif ; \
  18.    font-size: 100%; \
  19.    font-weight: bold; \
  20. } \
  21. #questions a.question-hyperlink, .summary a.question-hyperlink { \
  22.    font-family: Trebuchet MS,Liberation Sans,DejaVu Sans,sans-serif ; \
  23.    font-size: 17px; \
  24.    font-weight: bold; \
  25. } \
  26. .user-show-new .user-rep-full .rep-link a, .user-show-new .user-rep-full .rep-link a.question-hyperlink, .user-show-new .user-rep-full .rep-link a.answer-hyperlink { \
  27.    font-size: 120%; \
  28. } \
  29. div.status.answered-accepted { \
  30.    background-color: #008000; \
  31. } \
  32. span.rep-up.special-rep { \
  33.    background-color: #008000; \
  34.    color: #ffffff; \
  35. } \
  36. a.answer-hyperlink { \
  37.    font-weight: bold; \
  38. } \
  39. tr td textarea { \
  40.    font-family: Arial,Liberation Sans,DejaVu Sans,sans-serif; \
  41.    font-size: 100%; \
  42. }";
  43.  
  44. head = document.getElementsByTagName('head')[0];
  45. style = document.createElement('style');
  46. style.type = 'text/css';
  47. style.innerHTML = css;
  48. head.appendChild(style);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement