Jump to content

MediaWiki:Change History.css: Difference between revisions

From The Petit Planet Wiki
Created page with "For [[Template:Change History]]: .change-history-header { display: flex; justify-content: space-between; align-items: center; font-size: 88%; margin: 0.3em 0; } .change-history-content { overflow: auto; max-height: 330px; padding: 0.5em; box-sizing: border-box; -moz-box-sizing: border-box; -moz-border-radius-topleft: 0.5em; background: transparent; border-radius: 4px; hr + p { margin-block: 0; } }"
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
margin-block: 0;
margin-block: 0;
}
}
}
.change-history-header a.external {
    background-image: none !important;
    padding: 2px 10px;
    border-radius: 20px;
    background-color: var(--background-color-3);
    font-weight: 700;
    color: var(--color-base);
   
    &:hover {
        background-color: var(--background-color-5);
        transition: ease 0.2s;
        text-decoration: none;
    }
}
}

Latest revision as of 11:34, 16 November 2025

/* For [[Template:Change History]] */
.change-history-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 88%;
	margin: 0.3em 0;
}

.change-history-content {
	overflow: auto;
	max-height: 330px;
	padding: 0.5em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-moz-border-radius-topleft: 0.5em;
	background: transparent;
	border-radius: 4px;
	
	hr + p {
		margin-block: 0;
	}
}

.change-history-header a.external {
    background-image: none !important;
    padding: 2px 10px;
    border-radius: 20px;
    background-color: var(--background-color-3);
    font-weight: 700;
    color: var(--color-base);
    
    &:hover {
        background-color: var(--background-color-5);
        transition: ease 0.2s;
        text-decoration: none;
    }
}