Module:Current events calendar/styles.css

From PsiForum
< Module:Current events calendar
Revision as of 01:44, 19 December 2021 by Tachyony (talk | contribs) (Created page with "→‎{{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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* {{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;
}