_index.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .knight {
  2. margin: 2em auto 0.5em;
  3. display: block;
  4. }
  5. #create-game {
  6. width: 100%;
  7. height: 200px;
  8. margin: 3em auto 0;
  9. fieldset {
  10. border: 0;
  11. text-align: right;
  12. margin-bottom: 1em;
  13. width: 80%;
  14. input {
  15. margin-top: 1em;
  16. margin-left: 1em;
  17. width: 100px;
  18. outline: none;
  19. height: 40px;
  20. line-height: 30px;
  21. padding-left: 1em;
  22. font-size: 1.125rem;
  23. color: #424242;
  24. border: 1px solid #000000;
  25. }
  26. label {
  27. position: relative;
  28. &::before {
  29. position: absolute;
  30. content: '';
  31. top: 0;
  32. right: 2em;
  33. margin-top: -2.5em;
  34. font-size: 0.75rem;
  35. }
  36. }
  37. }
  38. }
  39. #game-link {
  40. width: 80%;
  41. height: 50px;
  42. line-height: 50px;
  43. font-size: 1.125rem;
  44. color: black;
  45. border: 2px solid black;
  46. background: $white;
  47. padding: 0 1em;
  48. float: right;
  49. border-radius: 2px;
  50. &:hover {
  51. background: lighten($white, 3%);
  52. border-bottom: 2px solid darken($black, 3%);;
  53. box-shadow: inset 0 -2px darken($dark-purple, 3%);
  54. transition: all 0.2s ease-in-out;
  55. }
  56. &:focus {
  57. color: #eee;
  58. }
  59. }
  60. #game-status {
  61. font-family: Courier, Monaco, monospace;
  62. font-size: 1.275rem;
  63. color: darken($red, 5%);
  64. width: 100%;
  65. text-align: center;
  66. margin: 1em 0;
  67. float: left;
  68. }