style.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. @font-face {
  2. font-family: "Lato";
  3. src: URL("Lato-Regular.ttf") format("truetype");
  4. }
  5. body {
  6. background-color: lightgray;
  7. font-family: "Lato", sans-serif;
  8. }
  9. #board {
  10. width: 500px;
  11. height: 500px;
  12. background-color: #1a44c4;
  13. margin-right: auto;
  14. margin-left: auto;
  15. margin-top: 50px;
  16. padding: 50px;
  17. border-radius: 10px;
  18. }
  19. #spot-ul {
  20. list-style: none;
  21. padding: 0px;
  22. height: 500px;
  23. width: 500px;
  24. line-height: 166.6666666px;
  25. text-align: center;
  26. margin: 0;
  27. }
  28. .spot {
  29. height: 163.33333px;
  30. width: 163.33333px;
  31. float: left;
  32. color: white;
  33. font-size: 32px;
  34. }
  35. #s1 {
  36. border-right: solid 5px #ff8800;
  37. border-bottom: solid 5px #ff8800;
  38. }
  39. #s2 {
  40. border-right: solid 5px #ff8800;
  41. border-bottom: solid 5px #ff8800;
  42. }
  43. #s3 {
  44. border-bottom: solid 5px #ff8800;
  45. }
  46. #s4 {
  47. border-right: solid 5px #ff8800;
  48. border-bottom: solid 5px #ff8800;
  49. }
  50. #s5 {
  51. border-right: solid 5px #ff8800;
  52. border-bottom: solid 5px #ff8800;
  53. }
  54. #s6 {
  55. border-bottom: solid 5px #ff8800;
  56. }
  57. #s7 {
  58. border-right: solid 5px #ff8800;
  59. }
  60. #s8 {
  61. border-right: solid 5px #ff8800;
  62. }
  63. .fa {
  64. cursor: default;
  65. }
  66. #display {
  67. margin-top: 50px;
  68. margin-bottom: 50px;
  69. height: 350px;
  70. width: 200px;
  71. background-color: lightblue;
  72. margin-right: auto;
  73. margin-left: auto;
  74. padding: 20px;
  75. border: 5px solid turquoise;
  76. text-align: center;
  77. border-radius: 10px;
  78. }
  79. #selection {
  80. list-style: none;
  81. padding: 0;
  82. width: 200px;
  83. height: 60px;
  84. }
  85. .selection {
  86. display: inline-block;
  87. width: 88px;
  88. float: left;
  89. margin-right: 5px;
  90. margin-left: 5px;
  91. background-color: #55fa6e;
  92. padding-bottom: 20px;
  93. padding-top: 20px;
  94. border-radius: 10px;
  95. cursor: pointer;
  96. }
  97. .selected {
  98. border: 2px solid red;
  99. }
  100. #restart {
  101. width: 70%;
  102. margin-right: 15%;
  103. margin-left: 15%;
  104. padding-top: 20px;
  105. padding-bottom: 20px;
  106. background-color: #ff7a7a;
  107. border-radius: 10px;
  108. margin-top: 10px;
  109. cursor: pointer;
  110. }
  111. #state {
  112. width: 90%;
  113. padding-top: 20px;
  114. padding-bottom: 20px;
  115. background-color: orange;
  116. color: white;
  117. margin-right: 5%;
  118. margin-left: 5%;
  119. }