2017-10-07 21:25:51 +02:00
|
|
|
figure.calendar {
|
|
|
|
margin: 0;
|
|
|
|
padding:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left:0;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(7, 4fr);
|
|
|
|
grid-template-rows: auto;
|
|
|
|
}
|
|
|
|
|
2017-10-07 23:03:53 +02:00
|
|
|
.calendar ul a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.calendar ul a div {
|
|
|
|
min-height: 4.8em;
|
|
|
|
}
|
|
|
|
|
2017-10-07 21:25:51 +02:00
|
|
|
|
|
|
|
.calendar ul li {
|
|
|
|
margin: 2px;
|
|
|
|
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #e0e0e0;
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
padding: 0.2em 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
min-height: 4.8em;
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: #444;
|
2018-02-20 20:07:32 +01:00
|
|
|
overflow: hidden;
|
2017-10-07 21:25:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.calendar ul li.header {
|
|
|
|
text-align: center;
|
|
|
|
min-height: 1em;
|
|
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
border: None;
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0.2em 0;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.calendar ul li.outOfMonth {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar ul li.active {
|
|
|
|
color: #222;
|
|
|
|
border-color: #456;
|
|
|
|
box-shadow: 0 0 3px #89f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar ul li:hover {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2018-02-20 20:07:32 +01:00
|
|
|
.calendar ul li .day{
|
|
|
|
display: inline-block;
|
2018-02-20 20:31:28 +01:00
|
|
|
width: 1.75em;
|
|
|
|
height: 1.75em;
|
2018-02-20 20:07:32 +01:00
|
|
|
text-align: center;
|
2018-02-20 20:31:28 +01:00
|
|
|
line-height: 1.75em;
|
|
|
|
background: #89a;
|
|
|
|
background: #9ab;
|
2018-02-20 20:07:32 +01:00
|
|
|
color: white;
|
2018-02-20 20:31:28 +01:00
|
|
|
border-radius: 0.875em;
|
2018-02-20 20:07:32 +01:00
|
|
|
margin-bottom: 0.1em;
|
2018-02-20 20:31:28 +01:00
|
|
|
font-size: 0.8em;
|
2018-02-20 20:07:32 +01:00
|
|
|
}
|
2017-10-07 21:25:51 +02:00
|
|
|
|
2018-02-20 20:07:32 +01:00
|
|
|
.calendar ul li section {
|
|
|
|
line-height: 1.5em;
|
|
|
|
background: #038;
|
|
|
|
color: white;
|
|
|
|
border-radius: 0.75em;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.calendar ul li section + section {
|
|
|
|
margin-top: 0.1em;
|
2017-10-07 21:25:51 +02:00
|
|
|
}
|