Module:Current events calendar/styles.css: Difference between revisions

From Thetacola Wiki
Jump to navigationJump to search
en>TheDJ
(fix the offset on archive pages.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:23, 15 August 2022

/* {{pp|small=y}} */
.current-events-calendar {
	clear: right;
	max-width: 350px;
	width: 100%;
	margin: auto;
	padding: 0.2em;
	font-size: 88%;
	line-height: 1.5;
	border-spacing: 3px;
	border: 1px solid #cedff2;
	text-align: center;
	background-color: #f5faff;
	color: black;
}

.current-events-calendar tbody a {
	font-weight: bold;
	width: 100%;
	display: inline-block;
}

.current-events-calendar-archive {
	margin: 8px 0 0 0;
}

.current-events-calendar caption {
	font-weight: bold;
	background-color: #cedff2;
	line-height: 1.6;
	padding: 0.2em;
}

.current-events-calendar caption span:first-child {
	float: left;
	/* width of a table cell */
	width: calc(14% + 6px);
}

.current-events-calendar caption span:last-child {
	float: right;
	/* width of a table cell */
	width: calc(14% + 6px);
}

.current-events-calendar th {
	width: 14%;
}

.current-events-calendar-footer td {
	padding-top: 3px;
	padding-bottom: 5px;
	text-align: right;
}

.current-events-calendar-footer td a {
	font-weight: normal;
	width: initial;
}