MediaWiki:Gadget-recentChanges.css: Difference between revisions

MediaWiki interface page
(Collectivized page from RuneScape Wiki)
 
m (Removed "top" css)
Line 17: Line 17:
content: '';
content: '';
position: relative;
position: relative;
top: 0.3em;
left: .5em;
left: .5em;



Revision as of 17:30, 1 July 2022

/* <pre> */
/* *****************
   rc sidebar widget
   ***************** */

#p-RecentChanges {
	min-height: 11.3em;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

#p-RecentChanges h3::after {
	content: '';
	position: relative;
	left: .5em;

	display: inline-block;
	background-color: #56b30a;
	width: 6px;
	height: 6px;
	border-radius: 100%;
	
	animation: blink 5s linear infinite;
}

.rc-sidebar-item {
	position: relative;
	font-size: 0.75em;
	margin: .5em .25em 0 .66em;
}

.rc-sidebar-item::before {
	position: absolute;
	left: -0.75em;
	top: .5em;

	/* content: ''; */
	background-color: #327ba7;
	width: 4px;
	height: 4px;
	border-radius: 100%;
}

.rc-sidebar-page {
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: max-content;
}

.rc-sidebar-user {
    color: #555;
    margin: 0;
    white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.rc-sidebar-user a {
	color: inherit;
}