Jump to content

MediaWiki:Change History.css: Difference between revisions

From The Petit Planet Wiki
No edit summary
No edit summary
 
Line 27: Line 27:
     padding: 2px 10px;
     padding: 2px 10px;
     border-radius: 20px;
     border-radius: 20px;
     background-color: var(--theme-color-3);
     background-color: var(--background-color-3);
     font-weight: 700;
     font-weight: 700;
     color: var(--page-text-color);
     color: var(--color-base);
      
      
     &:hover {
     &:hover {
         background-color: var(--theme-color-5);
         background-color: var(--background-color-5);
         transition: ease 0.2s;
         transition: ease 0.2s;
         text-decoration: none;
         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;
    }
}