Skip to content

Instantly share code, notes, and snippets.

@jenil94
Last active July 25, 2020 16:12
Show Gist options
  • Save jenil94/dde16362324bc1df46eed17e4a4509eb to your computer and use it in GitHub Desktop.
Save jenil94/dde16362324bc1df46eed17e4a4509eb to your computer and use it in GitHub Desktop.
.App {
font-family: sans-serif;
text-align: center;
color: #212121;
}
.changeMonth {
margin: 0px 20px;
}
.header {
display: flex;
align-items: center;
}
.currentMonth {
margin-left: 24px;
font-size: 24px;
}
.weekContainer {
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.day {
margin: 12px;
height: 30px;
width: 30px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
}
.weekNames {
color: #9e9e9e;
cursor: default;
}
.inactiveDay {
color: #9e9e9e;
}
.today {
background: #efefee;
border-radius: 50%;
}
.selectedDay {
color: white;
background: #3366ff;
border-radius: 50%;
}
.navIcon {
width: 20px;
height: 20px;
padding: 8px;
cursor: pointer;
}
.navIcon:hover {
border-radius: 50%;
background: #efefee;
}
.todayButton {
border: 1px solid #e0e0e0;
border-radius: 5px;
padding: 8px 16px;
cursor: pointer;
margin-right: 8px;
}
.todayButton:hover {
background: #efefef;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment