Guest User

Untitled

a guest
Aug 25th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. font-family: "Quicksand", sans-serif;
  6. }
  7.  
  8. html {
  9. font-size: 62.5%;
  10. }
  11.  
  12. body{
  13. background-color: #262626;
  14. }
  15.  
  16. h1{
  17. color:white;
  18. }
  19.  
  20.  
  21. .month {
  22. width: 100%;
  23. height: 12rem;
  24. background-color: #167e56;
  25. display: flex;
  26. justify-content: space-between;
  27. align-items: center;
  28. padding: 0 2rem;
  29. text-align: center;
  30. text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  31. }
  32.  
  33. .month i {
  34. font-size: 2.5rem;
  35. cursor: pointer;
  36. }
  37.  
  38. .month h1 {
  39. font-size: 3rem;
  40. font-weight: 400;
  41. text-transform: uppercase;
  42. letter-spacing: 0.2rem;
  43. margin-bottom: 1rem;
  44. }
  45.  
  46. .month p {
  47. font-size: 1.6rem;
  48. }
  49.  
  50. .weekdays {
  51. width: 100%;
  52. height: 5rem;
  53. padding: 0 0.4rem;
  54. display: flex;
  55. align-items: center;
  56. }
  57.  
  58. .weekdays div {
  59. font-size: 1.5rem;
  60. font-weight: 400;
  61. letter-spacing: 0.1rem;
  62. width: calc(44.2rem / 7);
  63. display: flex;
  64. justify-content: center;
  65. align-items: center;
  66. text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  67. }
  68.  
  69. .days {
  70. width: 100%;
  71. display: flex;
  72. flex-wrap: wrap;
  73. padding: 0.2rem;
  74. }
  75.  
  76. .days div {
  77. font-size: 1.4rem;
  78. margin: 0.3rem;
  79. width: calc(40.2rem / 7);
  80. height: 5rem;
  81. display: flex;
  82. justify-content: center;
  83. align-items: center;
  84. text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  85. transition: background-color 0.2s;
  86. }
  87.  
  88. .days div:hover:not(.today) {
  89. background-color: #262626;
  90. border: 0.2rem solid #777;
  91. cursor: pointer;
  92. }
  93.  
  94. .prev-date,
  95. .next-date {
  96. opacity: 0.5;
  97. }
  98.  
  99. .today {
  100. background-color: #167e56;
  101. }
  102. .selected {
  103. background-color: red;
  104. color: white;
  105. }
  106. .container {
  107. width: 100%;
  108. height: 100vh;
  109. background-color: #12121f;
  110. color: #eee;
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: center;
  114. align-items: center;
  115. }
  116.  
  117. .calendar {
  118. width: 45rem;
  119. height: 52rem;
  120. background-color: #222227;
  121. box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
  122. }
  123.  
  124. /* Legend styles */
  125. .legend {
  126. margin-top: 1rem;
  127. display: flex;
  128. justify-content: center;
  129. gap: 2rem;
  130. font-size: 1.4rem;
  131. color: #eee;
  132. }
  133.  
  134. .legend div {
  135. display: flex;
  136. align-items: center;
  137. }
  138.  
  139. .red-box,
  140. .green-box {
  141. width: 20px;
  142. height: 20px;
  143. margin-right: 10px;
  144. }
  145.  
  146. .red-box {
  147. background-color: red;
  148. }
  149.  
  150. .green-box {
  151. background-color: #167e56;
  152. }
  153. .password-section {
  154. position: absolute;
  155. top: 20px;
  156. left: 20px;
  157. display: flex;
  158. gap: 10px;
  159. }
  160.  
  161. .password-section input {
  162. padding: 0.5rem;
  163. font-size: 1.4rem;
  164. }
  165.  
  166. .password-section button {
  167. padding: 0.5rem 1rem;
  168. font-size: 1.4rem;
  169. background-color: #167e56;
  170. color: white;
  171. border: none;
  172. cursor: pointer;
  173. }
  174.  
  175. .password-section button:hover {
  176. background-color: #145a44;
  177. }
Add Comment
Please, Sign In to add comment