Template:Main Page news/styles.css: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Line 6: Line 6:
.news > .item {
.news > .item {
margin: 10px 0;
margin: 10px 0;
line-height: 2em;
}
}


Line 15: Line 16:
font-variant: small-caps;
font-variant: small-caps;
font-weight: bold;
font-weight: bold;
line-height: 1.5em;
}
}


Line 26: Line 28:
background-color: #ffadad;
background-color: #ffadad;
}
}



/*
/*

Revision as of 06:44, 23 December 2021

.news > .date {
	margin: 20px 0 10px;
	font-weight: bold;
}

.news > .item {
	margin: 10px 0;
	line-height: 2em;
}

.news > .item:before {
	display: inline-block;
	width: 50px;
	margin-right: 10px;
	text-align: center;
	font-variant: small-caps;
	font-weight: bold;
	line-height: 1.5em;
}

.news > .item[data-type="event"]:before {
	content: 'event';
	background-color: #fdffb6;
}

.news > .item[data-type="song"]:before {
	content: 'song';
	background-color: #ffadad;
}

/*
 * Citizen skin
 */
body.skin-citizen .news > .item:before {
	color: hsl(206.7, 5.1%, 34.7%);
	border-radius: var(--border-radius--small);
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.