styles.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @font-face {
  2. /* A special font that only has unicode full blocks in it, so we can detect */
  3. /* font colors and text visibility more easily. */
  4. font-family: 'BlockCharMono';
  5. src: url('/assets/BlockCharMono.ttf') format('truetype');
  6. }
  7. @font-face {
  8. font-family: 'BlankMono';
  9. src: url('/assets/BlankMono.ttf') format('truetype');
  10. }
  11. /* Force text into a reliable grid */
  12. html * {
  13. font-size: 15px !important;
  14. line-height: 20px !important;
  15. letter-spacing: 0px !important;
  16. font-style: normal !important;
  17. font-weight: normal !important;
  18. font-family: 'BlockCharMono' !important;
  19. }
  20. a {
  21. text-decoration: none !important;
  22. }
  23. .browsh-hide-text,
  24. .browsh-hide-text *{
  25. font-family: 'BlankMono' !important;
  26. }
  27. .browsh-show-text,
  28. .browsh-show-text * {
  29. font-family: 'BlockCharMono' !important;
  30. }
  31. sup, sub {
  32. vertical-align: baseline !important;
  33. }
  34. /* Prevents duplicated text caused by the rendering of the DOM's input box content
  35. * and the CLI app's input box content */
  36. input, textarea {
  37. color: transparent !important;
  38. }
  39. /**
  40. * Site-specific fixes
  41. *
  42. * TODO: This is going to need to be much more formally organised
  43. */
  44. /* Stackoverflow cookie banner */
  45. #js-gdpr-consent-banner {
  46. display: none;
  47. }