Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: "Quicksand", sans-serif;
- }
- html {
- font-size: 62.5%;
- }
- body{
- background-color: #262626;
- }
- h1{
- color:white;
- }
- .month {
- width: 100%;
- height: 12rem;
- background-color: #167e56;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 2rem;
- text-align: center;
- text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
- }
- .month i {
- font-size: 2.5rem;
- cursor: pointer;
- }
- .month h1 {
- font-size: 3rem;
- font-weight: 400;
- text-transform: uppercase;
- letter-spacing: 0.2rem;
- margin-bottom: 1rem;
- }
- .month p {
- font-size: 1.6rem;
- }
- .weekdays {
- width: 100%;
- height: 5rem;
- padding: 0 0.4rem;
- display: flex;
- align-items: center;
- }
- .weekdays div {
- font-size: 1.5rem;
- font-weight: 400;
- letter-spacing: 0.1rem;
- width: calc(44.2rem / 7);
- display: flex;
- justify-content: center;
- align-items: center;
- text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
- }
- .days {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- padding: 0.2rem;
- }
- .days div {
- font-size: 1.4rem;
- margin: 0.3rem;
- width: calc(40.2rem / 7);
- height: 5rem;
- display: flex;
- justify-content: center;
- align-items: center;
- text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
- transition: background-color 0.2s;
- }
- .days div:hover:not(.today) {
- background-color: #262626;
- border: 0.2rem solid #777;
- cursor: pointer;
- }
- .prev-date,
- .next-date {
- opacity: 0.5;
- }
- .today {
- background-color: #167e56;
- }
- .selected {
- background-color: red;
- color: white;
- }
- .container {
- width: 100%;
- height: 100vh;
- background-color: #12121f;
- color: #eee;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .calendar {
- width: 45rem;
- height: 52rem;
- background-color: #222227;
- box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
- }
- /* Legend styles */
- .legend {
- margin-top: 1rem;
- display: flex;
- justify-content: center;
- gap: 2rem;
- font-size: 1.4rem;
- color: #eee;
- }
- .legend div {
- display: flex;
- align-items: center;
- }
- .red-box,
- .green-box {
- width: 20px;
- height: 20px;
- margin-right: 10px;
- }
- .red-box {
- background-color: red;
- }
- .green-box {
- background-color: #167e56;
- }
- .password-section {
- position: absolute;
- top: 20px;
- left: 20px;
- display: flex;
- gap: 10px;
- }
- .password-section input {
- padding: 0.5rem;
- font-size: 1.4rem;
- }
- .password-section button {
- padding: 0.5rem 1rem;
- font-size: 1.4rem;
- background-color: #167e56;
- color: white;
- border: none;
- cursor: pointer;
- }
- .password-section button:hover {
- background-color: #145a44;
- }
Add Comment
Please, Sign In to add comment