djono66

style

Sep 6th, 2025 (edited)
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.88 KB | Gaming | 0 0
  1. body {
  2.     font-family: 'Poppins', sans-serif;
  3.     background-color: #f0f2f5;
  4.     display: flex;
  5.     justify-content: center;
  6.     align-items: center;
  7.     min-height: 100vh;
  8.     margin: 0;
  9.     color: #333;
  10. }
  11.  
  12. .container {
  13.     background: #ffffff;
  14.     padding: 40px;
  15.     border-radius: 15px;
  16.     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  17.     text-align: center;
  18.     width: 90%;
  19.     max-width: 500px;
  20.     transition: all 0.5s ease;
  21. }
  22.  
  23. .hidden {
  24.     display: none;
  25.     opacity: 0;
  26.     transform: scale(0.95);
  27. }
  28.  
  29. h1 {
  30.     color: #4a4e69;
  31.     font-weight: 600;
  32.     margin-bottom: 10px;
  33. }
  34.  
  35. h2#welcomeMessage {
  36.     color: #5d5d81;
  37.     font-weight: 600;
  38.     margin-bottom: 20px;
  39. }
  40.  
  41. p {
  42.     color: #6c757d;
  43. }
  44.  
  45. #wordLengthHint {
  46.     font-weight: 600;
  47.     color: #4a4e69;
  48.     margin-bottom: 20px;
  49. }
  50.  
  51. .input-group {
  52.     margin: 20px 0;
  53.     text-align: left;
  54. }
  55.  
  56. .input-group label {
  57.     display: block;
  58.     margin-bottom: 8px;
  59.     font-weight: 600;
  60. }
  61.  
  62. .input-group input, .input-group select {
  63.     width: 100%;
  64.     padding: 12px 15px;
  65.     border: 2px solid #ced4da;
  66.     border-radius: 8px;
  67.     font-size: 16px;
  68. }
  69.  
  70. .game-area {
  71.     margin: 25px 0;
  72.     display: flex;
  73.     justify-content: center;
  74.     gap: 10px;
  75. }
  76.  
  77. #guessInput {
  78.     padding: 12px 15px;
  79.     border: 2px solid #ced4da;
  80.     border-radius: 8px;
  81.     font-size: 16px;
  82.     transition: all 0.3s ease;
  83.     width: 100%;
  84.     text-transform: uppercase;
  85. }
  86.  
  87. #guessInput:focus {
  88.     outline: none;
  89.     border-color: #5d5d81;
  90.     box-shadow: 0 0 0 3px rgba(93, 93, 129, 0.2);
  91. }
  92.  
  93. #guessButton, #startButton, #resetButton {
  94.     background-color: #5d5d81;
  95.     color: #ffffff;
  96.     border: none;
  97.     padding: 12px 20px;
  98.     border-radius: 8px;
  99.     cursor: pointer;
  100.     font-size: 16px;
  101.     font-weight: 600;
  102.     transition: background-color 0.3s ease, transform 0.1s ease;
  103. }
  104.  
  105. #guessButton:hover, #startButton:hover, #resetButton:hover {
  106.     background-color: #4a4e69;
  107. }
  108.  
  109. #guessButton:active, #startButton:active, #resetButton:active {
  110.     transform: scale(0.98);
  111. }
  112.  
  113. .result-area {
  114.     margin: 20px 0;
  115.     min-height: 80px;
  116. }
  117.  
  118. #message {
  119.     font-size: 18px;
  120.     font-weight: 600;
  121.     margin-bottom: 10px;
  122. }
  123.  
  124. #correctPosition, #correctWrongPosition {
  125.     font-size: 16px;
  126.     margin: 5px 0;
  127. }
  128.  
  129. #guessesList {
  130.     margin: 20px 0;
  131.     text-align: left;
  132.     max-height: 200px;
  133.     overflow-y: auto;
  134.     padding-right: 15px;
  135. }
  136.  
  137. .guess-item {
  138.     padding: 10px 15px;
  139.     background: #e9ecef;
  140.     border-radius: 8px;
  141.     margin-bottom: 10px;
  142.     border: 1px solid #dee2e6;
  143.     display: flex;
  144.     justify-content: space-between;
  145.     align-items: center;
  146. }
  147.  
  148. .guess-word {
  149.     font-weight: 600;
  150.     color: #495057;
  151.     text-transform: uppercase;
  152. }
  153.  
  154. .guess-feedback {
  155.     font-size: 14px;
  156.     color: #6c757d;
  157. }
  158.  
  159. #resetButton {
  160.     display: none;
  161.     margin-top: 20px;
  162. }
Advertisement
Add Comment
Please, Sign In to add comment