Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Calendar/styles.css

Template page
Revision as of 03:03, 25 June 2024 by Camper (talk | contribs) (Created page with ".template-calendar { width: 300px; background: black; border-radius: 20px; font-size: 0.875rem; font-weight: 500; } →‎Reset styles for using in calendar: .template-calendar__header .template-prevnext { margin-top: 0; margin-bottom: 0; background-color: transparent; } .template-calendar__grid { border-top: 1px solid; border-bottom: 1px solid; padding: 20px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 10px; } .templat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.template-calendar {
	width: 300px;
	background: black;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 500;
}

/* Reset styles for using in calendar */
.template-calendar__header .template-prevnext {
	margin-top: 0;
	margin-bottom: 0;
	background-color: transparent;
}

.template-calendar__grid {
	border-top: 1px solid;
	border-bottom: 1px solid;
	padding: 20px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	gap: 10px;
}

.template-calendar__day > a {
	display: flex;
	color: red;
	border-radius: 10px;
	justify-content: center;
	align-items: center;
}

.template-calendar__day--nextmonth > a {
	color: blue;
}

.template-calendar__day > a.selflink {
	background-color: pink;
}

.template-calendar__day > a:hover {
	background-color: orange;
}

.template-calendar__day > a:active {
	background-color: purple;
}

.template-calendar__footer {
	padding: 10px;
}

.template-calendar__footer > a {
	padding: 10px;
	border-radius: 10px;
	text-align: center;
	display: block;
}

.template-calendar__footer > a:hover {
	background-color: green;
}

.template-calendar__footer > a:active {
	background-color: blue;
}