style.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. *{margin:0;padding:0;font-family:'Saira',sans-serif;}
  2. body{
  3. display: flex;
  4. justify-content: center;
  5. align-items: center;
  6. background: rgb(201, 201, 201);
  7. height: 100vh;
  8. }
  9. form{
  10. display: flex;
  11. flex-direction: column;
  12. background: white;
  13. border: 1px solid black;
  14. padding: 25px;
  15. max-width: 500px;
  16. }
  17. form > *{
  18. margin: 15px;
  19. }
  20. input[type=submit]{
  21. background: rgb(0, 27, 45);
  22. border: none;
  23. text-decoration: none;
  24. padding: 10px 25px;
  25. color: white;
  26. cursor: pointer;
  27. text-align: center;
  28. font-size: 15px;
  29. min-width: 100px;
  30. margin: 5px;
  31. max-height: 52px;
  32. }
  33. input[type=submit]:hover{
  34. background: rgb(179, 191, 209);
  35. color:black;
  36. }
  37. input[type=submit]:active{
  38. background: rgb(240, 252, 255);
  39. }
  40. #bannerContainer{
  41. display: flex;
  42. flex-direction: column;
  43. align-items: center;
  44. width: 100%;
  45. position: absolute;
  46. margin-top: 15px;
  47. pointer-events: none;
  48. z-index: 100;
  49. }
  50. .banner{
  51. display: flex;
  52. width: 75%;
  53. height: 65px;
  54. margin: 10px auto;
  55. box-shadow: 0 0 10px black;
  56. border: 2px solid black;
  57. background: white;
  58. }
  59. .banner > div{
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. width: 25%;
  64. color: white;
  65. }
  66. .banner > p{
  67. display: flex;
  68. align-items: center;
  69. font-size: 20px;
  70. font-weight: bold;
  71. width: 75%;
  72. padding-left: 10px;
  73. }
  74. .banner > button{
  75. background: none;
  76. border: none;
  77. height: 20px;
  78. position: relative;
  79. top: -10px;
  80. right: -10px;
  81. cursor: pointer;
  82. color: white;
  83. pointer-events: all;
  84. }