You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .loginmain {
  2. display: flex;
  3. flex-direction: column;
  4. padding: 2em;
  5. background-color: hsl(209, 27%, 70%);
  6. border-radius: 16px;
  7. }
  8. .loginform {
  9. margin: 1em auto;
  10. width: 600px;
  11. }
  12. .loginform__input {
  13. display: flex;
  14. flex-direction: column;
  15. align-items: center;
  16. margin-bottom: 2em;
  17. }
  18. .loginform__input__items {
  19. width: 300;
  20. font-size: 1.2em;
  21. }
  22. .loginform__input__items--height {
  23. height: 44px;
  24. margin: 0.5em 0;
  25. }
  26. .difficulty__selection {
  27. height: 44px;
  28. margin: 0.5em 0;
  29. font-size: 0.75em;
  30. padding: 5px;
  31. }
  32. .game {
  33. margin: 1em 0.5em;
  34. font-size: 1.2em;
  35. }
  36. .registermain {
  37. display: flex;
  38. flex-direction: column;
  39. padding: 2em;
  40. background-color: hsl(0, 0%, 81%);
  41. border-radius: 16px;
  42. }
  43. .gamemain {
  44. display: flex;
  45. flex-direction: column;
  46. padding: 1em;
  47. background-color: hsl(209, 27%, 70%);
  48. border-radius: 16px;
  49. }
  50. .game__selection {
  51. height: 30px;
  52. margin: 0.5em 0;
  53. font-size: 0.75em;
  54. padding: 5px;
  55. }
  56. .errormessage {
  57. color: hsl(360, 81%, 34%);
  58. font-weight: 600;
  59. }
  60. main a {
  61. font-size: 1.2em;
  62. }
  63. table {
  64. border-collapse: collapse;
  65. width: 50%;
  66. table-layout: auto;
  67. margin: 2em auto;
  68. background-color: white;
  69. }
  70. table caption {
  71. text-align: center;
  72. font-size: 1.5em;
  73. text-decoration: underline;
  74. margin-bottom: 0.5em;
  75. }
  76. table td,
  77. th {
  78. border: 1px solid black;
  79. padding: 0.5em;
  80. font-size: 1em;
  81. height: 30px;
  82. min-width: 12px;
  83. text-align: center;
  84. }
  85. form {
  86. width: 500px;
  87. }