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

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Line 10: Line 10:
.news > .item:before {
.news > .item:before {
display: inline-block;
display: inline-block;
width: 75px;
width: 50px;
padding: 5px 0;
margin-right: 10px;
margin-right: 10px;
text-align: center;
text-align: center;
font-variant: small-caps;
font-weight: bold;
}
}


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


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

Revision as of 06:41, 23 December 2021

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

.news > .item {
	margin: 10px 0;
}

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

.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.