dev

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

/*	Profile
	Banner
*/

/* = Profile = */
/* Mar/Pad */
.skin-fandomdesktop #userProfileApp {
	--banner-image: url('');
	--banner-pos: center;
	--banner-ratio: ;
	--width-padding: 186px;
	margin: -24px -36px 12px -36px !important;
}

/* For UWStyle */
/* .skin-fandomdesktop #userProfileApp {
	margin: -20px -15px 12px -25px !important;
} */
#userProfileApp .user-identity-box,
#userProfileApp .user-identity-header__actions button {
	margin: 0;
}

/* Avatar */
body.skin-fandomdesktop #userProfileApp .user-identity-avatar {
/* 	margin: 0 !important; */
/* 	margin: 0 28px 20px 0; */
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 140px;
	padding: 18px 0 0 28px;
	width: 140px;
	z-index: 1;
}

#userProfileApp .user-identity-avatar__image {
	border: solid 2px var(--theme-accent-color) !important;
	-webkit-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
	-moz-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
	box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

/* Personal avatar on one wiki */
body .user-identity-avatar:before {
	background-image: var(--wiki-avatar);
	background-position: center top;
	background-size: auto 100%;
	border-radius: 50%;
	content: '';
	height: 138px;
	margin: 2px 0 0 2px;
	position: absolute;
	width: 138px;
}

/* Heder */
body.skin-fandomdesktop #userProfileApp .user-identity-header {
	background: var(--theme-accent-color);
	left: calc(var(--width-padding)*-1);
	min-height: 37px;
	padding-left: var(--width-padding);
	position: relative;
	width: calc(100% + var(--width-padding));
}

#userProfileApp .user-identity-header :is(h1,h2) {
	color: var(--theme-accent-label-color);
}

#userProfileApp .user-identity-header__attributes,
#userProfileApp .user-identity-header__action {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	grid-row-gap: 5px;
}

body.skin-fandomdesktop #userProfileApp .user-identity-header__tag {
	background-color: var(--theme-accent-color--hover);
	color: var(--theme-accent-label-color);
	margin: 6px 12px 6px 0 !important;
}

/* Edit profile */
#userProfileApp .user-identity-header__actions {
	align-items: center;
	display: flex;
}

body.skin-fandomdesktop #userProfileApp .user-identity-header__actions .wds-button,
.modal-wrapper__header .modal-wrapper__cta-button {
	border: none;
	border-radius: 18px;
	margin-right: 1em;
	color: rgb(var(--theme-accent-dynamic-color-2--rgb),.5);
	padding: .4em .8em;
/*     vertical-align: middle; */
}

body.skin-fandomdesktop #userProfileApp .user-identity-header__actions .wds-button:hover,
.modal-wrapper__header .modal-wrapper__cta-button:hover,
.modal-wrapper__header .wds-is-square:hover {
	background-color: rgba(var(--theme-link-color--rgb),.3);
	color: var(--theme-page-accent-mix-color) !important;
}

/* Tabs */
#userProfileApp .user-profile-navigation {
	border-bottom: none !important;
}

#userProfileApp .user-profile-navigation__link {
	border-bottom: 4px solid;
	padding: 0 !important;
	text-align: center !important;
	-webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
	width: 100%;
}

#userProfileApp .user-profile-navigation__link a {
	color: var(--theme-link-color) !important;
	display: block;
	font-weight: bold;
	padding: 10px 15px;
	text-decoration: none;
	text-shadow: none;
}

#userProfileApp .user-profile-navigation__link:nth-child(2) a {
	text-transform: capitalize !important;
}
#userProfileApp .user-profile-navigation__link.is-active {
	border-bottom-color: var(--theme-link-color) !important;
}
#userProfileApp .user-profile-navigation__link.is-active a {
	color: var(--theme-link-color);
}
#userProfileApp .user-profile-navigation__link:not(.is-active):hover {
	border-bottom-color: var(--theme-link-color) !important;
	opacity: 1;
	-webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

/* = Edit profile = */
#userProfileApp .modal-wrapper__main {
	padding: 0 !important;
}

.modal-wrapper__header {
	background: var(--theme-accent-color);
	color: var(--theme-accent-label-color) !important;
	margin-bottom: -37px !important;
	padding: 0 0 0 20px !important;
/* 	height: 53px !important; */
}

.modal-wrapper__header h3 {display: none;}
.modal-wrapper__header .wds-is-square {
	border-radius: 18px;
	color: var(--theme-page-accent-mix-color);
}

.modal-wrapper__header .modal-wrapper__cta-button,
.modal-wrapper__header .wds-is-square {
	position: relative;
	z-index: 2;
}

.theme-fandomdesktop-dark :is(.modal-wrapper__header .modal-wrapper__cta-button,
.modal-wrapper__header .wds-is-square) {
	color: var(--theme-link-color);
}

/* Text Form */
.user-profile-editor__form h1 {
	color: var(--theme-accent-label-color);
	line-height: normal;
}

.user-profile-editor__form {
	margin-top: 2px;
}

.user-profile-editor__form .wds-fieldset {
	padding-top: 0;
}

.user-identity-avatar__actions {
	border-radius: 50%;
	-webkit-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
	-moz-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
	box-shadow: 0 0 10px rgb(0 0 0 / 50%);
	-webkit-transition: .5s;
	-moz-transition: .5s;
	-o-transition: .5s;
	transition: .5s;
}

.user-identity-avatar__actions svg {
	color: var(--theme-link-color);
	-webkit-transition: color .3s;
	-moz-transition: color .3s;
	-o-transition: color .3s;
	transition: color .3s;
}

.user-identity-avatar__actions:hover svg {
	color: var(--theme-link-color--hover);
}

@media (min-width: 1084px) {
	.user-identity-avatar__actions {
		opacity: .4;
	}
}

.user-identity-avatar:hover .user-identity-avatar__actions {
	opacity: 1;
}

/* Adaptation for mobile */
@media (max-width: 713px) {
	.user-profile-navigation {
		overflow-x: scroll; white-space: nowrap;
	}
	.user-profile-navigation__link {
		width: auto !important;
	}
	.user-identity-header {
		flex-direction: column;
	}
	.user-identity-box {
		flex-direction: column;
	}
	.user-identity-avatar {
		margin: 10px auto !important;
		padding: 0 !important;
	}
	.user-identity-header {
		align-items: center;
		left: 0 !important;
		gap: 0px !important;
		padding-left: 0px !important;
		width: 100% !important;
	}
	.user-identity-box__info {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.user-identity-box__info > :is(ul,div:not(.user-identity-header)) {
		margin: 0 0 0 20px !important;
	}
}

/* = Banner = */
#userProfileApp:before {
	background: lightgreen;
	background-image: var(--banner-image);
	background-position: var(--banner-pos);
	background-size: cover;
	content: '';
	display: block;
	padding-bottom: var(--banner-ratio);
	width: 100%;
}