yefengr / obsidian-daily-statistics

obsidian daily statistics
MIT License
5 stars 0 forks source link

Style improvement #7

Open ronilaukkarinen opened 1 month ago

ronilaukkarinen commented 1 month ago

Hello! Didn't make a PR because I'm in a rush, but this is in my custom.css:

/* Daily Statistics plugin tweaks */
.el-calendar button:focus,
.el-calendar button:hover,
.el-calendar button {
  background: none;
  border: 0;
  box-shadow: none;
  line-height: .7;
  padding: 0;
}

/* stylelint-disable-next-line */
.el-calendar-day > .div-container > .flex-centered3,
.el-button-group::after,
.el-button-group::before {
  display: none;
}

.el-calendar .el-button-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 15px;
}

.el-calendar-table .el-calendar-day {
  height: 50px;
}

.el-calendar-day > .div-container > .flex-centered {
  font-weight: 600;
}

.el-calendar__header {
  display: block;
}

/* stylelint-disable-next-line */
.el-calendar__title {
  font-size: 14px;
  margin-bottom: 5px;
}

/* stylelint-disable-next-line */
.el-calendar-day > .div-container p {
  font-size: 12px;
}

.el-calendar-day > .div-container {
  gap: 5px;
}

Before

image

After

image

You can decide if you want to use it or close this issue. :sweat_smile:

endrinar commented 1 month ago

Please apply!

I like your plugin, but it's not possible to see the entire calendar screen. It's too big!