Files
dnd-db-site/faerun_calendar/static/faerun_calendar/css/main.css
T
2022-11-01 17:39:50 +03:00

87 lines
1.3 KiB
CSS

div.calendarpage {
margin: 10px;
padding: 10px;
border: 1px solid black;
border-radius: 20px;
}
h2.year {
text-align: center;
}
table.month, table.month th, table.month td {
border: 1px solid white;
border-collapse: collapse;
padding: 5px;
background: gainsboro;
}
table.month th {
text-align: center;
}
table.month td {
text-align: right;
}
table.month td.current {
background: dimgrey;
}
table.month th.subtitle {
font-style: italic;
font-weight: normal;
}
table.month td a {
text-decoration: none;
color: black;
}
table.month td.current a {
color: white;
}
div.calendar {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
}
table.month {
margin: 10px;
width: 350px;
max-width: 350px;
}
div.event {
border: 1px solid black;
padding: 20px;
margin: 20px;
border-radius: 10px;
width: 100%;
}
div.event-time {
border: 1px solid black;
border-radius: 3px;
padding: 3px 5px;
margin-right: 15px;
float: left;
font-weight: bold;
background: DeepSkyBlue;
font-size: 150%;
}
div.event-title {
font-weight: bold;
text-decoration: underline;
font-size: 200%;
margin-bottom: 10px;
}
p.event-description {
margin: 0px;
padding: 0px;
}