You can edit almost every page by Creating an account and confirming your email.

MediaWiki:Gadget-betterUX-pagestyles.css

From EverybodyWiki Bios & Wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* betterUX by Wiki Valley  *
*      Mathis Backert,		*
*      Nicolas Nallet,		*
*      Sébastien Beyou.		*/

/* ***************************************** */
/* ********** betterRecentChanges ********** */
/* ***************************************** */

/* Style cartes */
.mw-changeslist table {
	margin: 0 0 2rem 0 !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 8px;
    padding: 0.5rem;
    width: 100%;
    max-height: 450px;
    overflow-y: auto;
    display: inline-block;
    border: 1px solid #f1f1f1;
}

/* -Padding- cartes */
.mw-changeslist table tbody {
    display: block;
}

/* Cartes déroulantes */
.mw-changeslist table.mw-collapsible:not(.mw-collapsed) tbody > tr:not(:first-of-type) {
    border: 1px solid #ebebeb;
    margin: 0.5rem 0.3rem;
    padding: 0 0.2rem 0 0.5rem;
    display: block;
    border-radius: 4px;
}

/* Titre page */
.mw-changeslist-line-inner-articleLink,
.mw-changeslist-line-inner .mw-title {
    font-weight: bold;
}

/* .. */
.mw-changeslist-line-inner-separatorAfterLinks,
.mw-changeslist-line-inner-separatorAftercharacterDiff,
span.mw-changeslist-separator {
    display: none;
}

/* Moins utile */
.mw-changeslist-line-inner-userTalkLink,
.mw-changeslist-line-inner-tags,
span.mw-usertoollinks.mw-changeslist-links,
span.mw-tag-markers {
	opacity: .5;
}

/* Margin mutiples modif */
.mw-special-Recentchanges td.mw-enhanced-rc-nested {
    display: inline-block;
    margin-bottom: 1rem;
}

/* Margin multiples modifs */
.mw-enhanced-rc-nested .mw-enhanced-rc-time:first-child {
    display: inline-block;
    margin-top: 1rem;
}

/* Margin + - */
.mw-changeslist strong.mw-plusminus-pos.mw-diff-bytes {
    margin-left: 0.5rem;
}

/* Cacher texte */
.mw-special-Recentchanges span.changedby { visibility: hidden; }
.mw-special-Recentchanges span.changedby > * { visibility: visible; }

/* Séparateurs titres */
.mw-changeslist h4 {
	border-top: 4px solid #1B599B;
}


/* *********************************** */
/* ********** betterHistory ********** */
/* *********************************** */

/* Liste */
#pagehistory {
	list-style: none;
	margin: 1rem 0;
    width: 70%;
}

ul.mw-contributions-list {
    list-style: none;
    padding-left: 0.5rem
}

/* Cartes */
#pagehistory li {
    padding: 5px;
    margin: 1rem 0rem;
    border-radius: 8px;
    box-shadow: rgb(0 0 0 / 10%) 0px 2px 6px;
    transition: .25s;
    position: relative;
    list-style: none;
}
#pagehistory li.selected {
    background-color: #f4f8ff;
    color: #202122;
    outline: none;
    transform: scale(1.03);
    border: 1px solid lightblue;
}

@media (max-width: 800px) {
    #pagehistory li { padding-top: 1.5rem; }
    #pagehistory { width: 90%; }
}

/* Actu diff */
li span.mw-history-histlinks.mw-changeslist-links {
    position: absolute;
    top: 0.1rem;
    right: 0.5rem;
}

/* Séparateurs */
span.mw-changeslist-separator {
    display: none;
}

/* Dates */
a.mw-changeslist-date {
    font-weight: bold;
}

/* Utilisateurs */
#pagehistory .mw-userlink {
	font-weight: bold;
}

/* Moins utile */
span.mw-usertoollinks.mw-changeslist-links,
span.mw-tag-markers,
span.history-size.mw-diff-bytes {
    opacity: .4;
}

/* Aérer le commentaire */
span.comment {
    margin: 0.4rem 0;
    display: inline-block;
}


/* ************************************ */
/* ********** betterUserList ********** */
/* ************************************ */

/* ***** User List ***** */
/* Carte */
.mw-special-Listusers ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.5rem 1rem;
    margin: 0;
}
@media (max-width: 1200px) {
	.mw-special-Listusers ul { display: block; padding: 0 20%; }
}
@media (max-width: 992px) {
	.mw-special-Listusers ul { padding: 0 10%; }
}
@media (max-width: 768px) {
	.mw-special-Listusers ul { padding: 0; }
}

.mw-special-Listusers #mw-content-text li {
	margin: 0 0 0.5rem 0 !important;
    box-shadow: rgb(0 0 0 / 10%) 0px 2px 6px;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* User en gras */
.mw-special-Listusers #mw-content-text li > a:first-of-type {
    font-weight: bold;
    padding-bottom: 1rem;
	border-bottom: 1px solid lightgray;
}

/* Liens */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links {
    font-size: .8rem;
	opacity: 1;
	text-align: right;
	border-bottom: 1px solid lightgray;
}
@media (max-width: 515px) {
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links { text-align: center; }
}
@media (max-width: 393px) {
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links {
	    display: flex;
	    align-items: flex-end;
	    flex-direction: column;
	}
}

/* Enlever les caractères */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:before,
.mw-changeslist-links:before,
.mw-changeslist-links:after {
	display: none;
}

/* Liens */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span a {
    padding: 0.1rem 0.4rem;
    background: #1B599B;
    color: white;
}
@media (max-width: 393px) {
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span a {
		border-radius:  8px;
	}
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span a {
		border-radius: 8px !important;
    	margin: 2px auto 4px;
    	width: fit-content;
	    display: block;
	}
}

/* Nouveaux liens */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span a[href].new {
    background: #9a1b2f;
    color: white;
}

/* Premier */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:first-child a {
	border-radius: 8px 0 0 8px;
}

/* Dernier */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:last-child a {
	border-radius: 0 8px 8px 0;
}
@media (max-width: 515px) {
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:last-child a {
		border-radius: 8px;
    	margin: 2px auto 4px;
    	width: fit-content;
	    display: block;
	}
	.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:not(:first-child):not(:last-child) a {
		border-radius:  0 8px 8px 0;
	}
}

/* Rapprocher les span */
.mw-special-Listusers li > .mw-usertoollinks.mw-changeslist-links span:not(:first-child) {
    margin-left: -2px;
}

/* Lien roles */
.mw-special-Listusers li div a {
    background: #1B599B;
    color: white !important;
    width: fit-content;
    margin: 0.5rem 0;
    padding: .1rem .5rem;
    border-radius: 100px;
    font-size: .9rem;
}
.mw-special-Listusers li div a[href].new {
    background: #9b1b2f;
}

/* Toute la largeur pour la date de création */
.mw-special-Listusers li p {
    grid-column: span 2;
    border-top: 1px solid lightgray;
    padding-top: 1rem;
}

/* betterUX by Wiki Valley  *
*      Mathis Backert,		*
*      Nicolas Nallet,		*
*      Sébastien Beyou.		*/