style.css 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. CC-BY-SA-NC 4.0 - Chris Dorman, 2020
  3. cddo.cc - 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: 1000px; } }
  8. @media only screen and (max-width: 2000px) { body { max-width: 1000px; } }
  9. @media only screen and (max-width: 1400px) { body { max-width: 1000px; } }
  10. @media only screen and (max-width: 1200px) { body { max-width: 900px; } }
  11. @media only screen and (max-width: 1000px) { body { max-width: 700px; } }
  12. @media only screen and (max-width: 800px) { body { max-width: 600px; } }
  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: #dddddd; color: #222222; padding: 4px; margin: 0 auto; font-size: 16px; min-width: 700px;}
  18. body { margin: 0 auto; }
  19. a { color: #aa00ff; }
  20. a:hover { color: #bb00ff; text-decoration: none; }
  21. table { width: 100%; }
  22. .logoimg {
  23. display: block;
  24. margin: 0 auto;
  25. }
  26. p { padding: 5px; }
  27. .menu {
  28. font-size: 20px;
  29. background: #999999;
  30. padding: 3px 3px 3px 3px;
  31. border: solid 1px #a2a2a2;
  32. width: 95%;
  33. margin: auto;
  34. text-align: center;
  35. border-radius: 4px;
  36. box-shadow: 0px 0px 10px #000000;
  37. }
  38. .menu a {
  39. color: #9900dd;
  40. text-decoration: none;
  41. padding: 3px 10px 3px 10px;
  42. /* some effects */
  43. transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  44. -moz-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  45. -webkit-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  46. -o-transition: ease-in .4s color, ease-in .4s background-color, ease-in .4s text-shadow, ease-in .4s border-top;
  47. }
  48. .menu a:hover {
  49. color: #bb00ff; text-decoration: none;
  50. background-color: #dbdbdb; text-shadow: 0px 0px 7px silver;
  51. border-top: solid 1px #bb00ff;
  52. }
  53. .header {
  54. font-family: "Monoton", "Ubuntu Mono", sans-serif;
  55. font-size: 28px;
  56. color: #aa00ff;
  57. }
  58. .container { padding: 12px; }
  59. .footer { font-size: 16px; color: #565656; text-align: center; }
  60. .footer a { text-decoration: none; }
  61. .note { color: red; font-weight: 500; padding: 7px; }
  62. .rfloat { float: right; position: inline-block; }