style.css 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. GPLv3 - Chris Dorman, 2020
  3. cddo.cf - Stylesheet
  4. */
  5. @import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono&display=swap');
  6. @import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
  7. @media only screen and (min-width: 2001px) { body { max-width: 750px; } }
  8. @media only screen and (max-width: 2000px) { body { max-width: 750px; } }
  9. @media only screen and (max-width: 1400px) { body { max-width: 750px; } }
  10. @media only screen and (max-width: 1200px) { body { max-width: 700px; } }
  11. @media only screen and (max-width: 1000px) { body { max-width: 700px; } }
  12. @media only screen and (max-width: 800px) { body { max-width: 700px; } }
  13. /* @media only screen and (max-width: 700px) { body { max-width: 600px; } }
  14. @media only screen and (max-width: 600px) { body { max-width: 500px; } }
  15. @media only screen and (max-width: 500px) { body { max-width: 450px; } }
  16. @media only screen and (max-width: 400px) { body { max-width: 350px; } } */
  17. html { font-family: "Ubuntu Mono", sans-serif; background-color: #222222; color: #ddddff; padding: 4px; margin: 0 auto; font-size: 16px; min-width: 700px;}
  18. body { margin: 0 auto; }
  19. a { color: #9900ff; }
  20. a:hover { color: #dd00ff; text-decoration: none; }
  21. table { width: 100%; }
  22. p { padding: 5px; }
  23. .menu {
  24. font-size: 20px;
  25. background: #131313;
  26. padding: 3px 3px 3px 3px;
  27. border: solid 1px #444444;
  28. width: 95%;
  29. margin: auto;
  30. border-radius: 4px;
  31. box-shadow: 0px 0px 10px #000000;
  32. }
  33. .menu a {
  34. color: silver;
  35. text-decoration: none;
  36. padding: 3px 10px 3px 10px;
  37. /* some effects */
  38. transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  39. -moz-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  40. -webkit-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  41. -o-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  42. }
  43. .menu a:hover {
  44. color: white; text-decoration: none;
  45. background-color: #323232; text-shadow: 0px 0px 7px white;
  46. border-top: solid 1px #dddddd;
  47. }
  48. .header {
  49. font-family: "Monoton", "Ubuntu Mono", sans-serif;
  50. font-size: 28px;
  51. color: #aa00ff;
  52. }
  53. .container { padding: 12px; }
  54. .footer { font-size: 16px; color: #565656; text-align: center; }
  55. .footer a { text-decoration: none; }
  56. .note { color: red; font-weight: 500; padding: 7px; }
  57. .rfloat { float: right; position: inline-block; }