(Created the Profiles.css MediaWiki page.) |
m (Fix for the bolded whatlinkshere and recentchangeslinked urls on user pages.) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
/** Author: @Aeywoo **/ |
/** Author: @Aeywoo **/ |
||
@import url("/load.php?mode=articles&articles=MediaWiki:Staff.css&only=styles"); |
@import url("/load.php?mode=articles&articles=MediaWiki:Staff.css&only=styles"); |
||
@import url("/load.php?mode=articles&articles=u:dev:MediaWiki:Highlight.css&only=styles"); |
|||
a[data-tracking-label="whatlinkshere"], |
|||
a[data-tracking-label="recentchangeslinked"] { |
|||
color: var(--theme-link-color) !important; |
|||
font-weight: inherit !important; |
|||
⚫ | |||
/* Light Theme CSS */ |
/* Light Theme CSS */ |
||
Line 55: | Line 60: | ||
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link a { |
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link a { |
||
color: var(--theme-page-text-color) !important; |
color: var(--theme-page-text-color) !important; |
||
font-weight: inherit; |
|||
} |
} |
||
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active, |
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active, |
||
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active a { |
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active a { |
||
Line 68: | Line 73: | ||
} |
} |
||
/* Changes the WhatLinksHere and RecentChanges links on the right rail to default static/hover colour */ |
|||
/* Social Tooltip Fixes */ |
|||
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:hover, |
|||
/** The Backgrounds Needs to be Lighter for the Text to be Readable **/ |
|||
.theme-fandomdesktop-light |
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:active, |
||
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:visited, |
|||
⚫ | |||
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:hover, |
|||
border: 1px solid #3A3A3A !important; |
|||
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:active, |
|||
⚫ | |||
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:visited { |
|||
⚫ | |||
/** Sets the Background and Border to a Lighter Colour and Sets Text Colour to Black (#000) **/ |
|||
.theme-fandomdesktop-light.skin-fandomdesktop #userProfileApp .user-identity-social__icon-tooltip { |
|||
background-color: #E6E6E6; |
|||
border-color: #3A3A3A; |
|||
color: #000; |
|||
} |
} |
||
Line 131: | Line 132: | ||
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link a { |
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link a { |
||
color: var(--theme-page-text-color) !important; |
color: var(--theme-page-text-color) !important; |
||
font-weight: inherit; |
|||
} |
} |
||
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active, |
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active, |
||
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active a { |
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active a { |
||
Line 144: | Line 145: | ||
} |
} |
||
/* Changes the WhatLinksHere and RecentChanges links on the right rail to default static/hover colour */ |
|||
/* Social Tooltip Fixes */ |
|||
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:hover, |
|||
/** The Backgrounds Needs to be Lighter for the Text to be Readable **/ |
|||
.theme-fandomdesktop-dark |
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:active, |
||
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:visited, |
|||
⚫ | |||
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:hover, |
|||
border: 1px solid #E6E6E6 !important; |
|||
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:active, |
|||
} |
|||
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:visited { |
|||
⚫ | |||
/** Sets the Background and Border to a Lighter Colour and Sets Text Colour to Black (#000) **/ |
|||
font-weight: 500 !important; |
|||
.theme-fandomdesktop-dark.skin-fandomdesktop #userProfileApp .user-identity-social__icon-tooltip { |
|||
background-color: #3A3A3A; |
|||
border-color: #E6E6E6; |
|||
color: #FFF; |
|||
} |
} |
Latest revision as of 05:25, 9 December 2022
/* User Profile Customisation */
/* 1. - Light Theme CSS */
/* 2. - Dark Theme CSS */
/** Author: @Aeywoo **/
@import url("/load.php?mode=articles&articles=MediaWiki:Staff.css&only=styles");
a[data-tracking-label="whatlinkshere"],
a[data-tracking-label="recentchangeslinked"] {
color: var(--theme-link-color) !important;
font-weight: inherit !important;
}
/* Light Theme CSS */
/** Fixes contrasting issues with the background of messages **/
.theme-fandomdesktop-light #userProfileApp {
background-color: transparent !important; /* This basically nulls the background-color entry */
}
/** Makes the dot separating the Users name and the date sent bigger and further apart **/
.theme-fandomdesktop-light .EntityHeader_middot__2f4XC {
padding: 0 8px;
font-size: 20px;
}
/* Colour Defaults */
/** Sets H1 to Default Colour & Font **/
.theme-fandomdesktop-light #userProfileApp .user-identity-header__attributes > h1 {
color: #3A3A3A;
font-size: 28px;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets H2 to Default Colour & Font */
.theme-fandomdesktop-light #userProfileApp .user-identity-header__attributes > h2 {
color: #3A3A3A;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets H2 Span to Default Colour & Font */
.theme-fandomdesktop-light #userProfileApp .user-identity-header__attributes > h2 span {
color: #3A3A3A;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets User Edit Counter to Default Colour & Font Weight Since $href= will override it's predefined colour */
.theme-fandomdesktop-light #userProfileApp ul.user-identity-stats a {
color: var(--theme-page-text-color) !important;
font-weight: normal !important;
}
/* Sets the default font-weight for the User Name */
.theme-fandomdesktop-light.skin-fandomdesktop .page-header__title {
font-weight: normal;
}
/* Sets Navigation Links to Default Colour Since $href= will override it's predefined colour */
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link a {
color: var(--theme-page-text-color) !important;
font-weight: inherit;
}
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active,
.theme-fandomdesktop-light #userProfileApp .user-profile-navigation__link.is-active a {
border-bottom-color: var(--theme-page-text-color) !important;
color: var(--theme-page-text-color) !important;
}
/* Sets Social Icons to Default Colour Since href$= could interfere with it's preset colour */
.theme-fandomdesktop-light #userProfileApp .user-identity-social__icon {
color: var(--theme-link-color) !important;
}
/* Changes the WhatLinksHere and RecentChanges links on the right rail to default static/hover colour */
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:hover,
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:active,
.theme-fandomdesktop-light a[data-tracking-label="whatlinkshere"]:visited,
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:hover,
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:active,
.theme-fandomdesktop-light a[data-tracking-label="recentchangeslinked"]:visited {
color: #000 !important;
}
/* Dark Theme CSS */
/** Fixes contrasting issues with the background of messages **/
.theme-fandomdesktop-dark #userProfileApp {
background-color: transparent !important; /* This basically nulls the background-color entry */
}
/** Makes the dot separating the Users name and the date sent bigger and further apart **/
.theme-fandomdesktop-dark .EntityHeader_middot__2f4XC {
padding: 0 8px;
font-size: 20px;
}
/* Colour Defaults */
/** Sets H1 to Default Colour & Font **/
.theme-fandomdesktop-dark #userProfileApp .user-identity-header__attributes > h1 {
color: #E6E6E6;
font-size: 28px;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets H2 to Default Colour & Font */
.theme-fandomdesktop-dark #userProfileApp .user-identity-header__attributes > h2 {
color: #E6E6E6;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets H2 Span to Default Colour & Font */
.theme-fandomdesktop-dark #userProfileApp .user-identity-header__attributes > h2 span {
color: #E6E6E6;
font-family: rubik,helvetica,arial,sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
}
/* Sets User Edit Counter to Default Colour & Font Weight Since $href= will override it's predefined colour */
.theme-fandomdesktop-dark #userProfileApp ul.user-identity-stats a {
color: var(--theme-page-text-color) !important;
font-weight: normal !important;
}
/* Sets the default font-weight for the User Name */
.theme-fandomdesktop-dark.skin-fandomdesktop .page-header__title {
font-weight: normal;
}
/* Sets Navigation Links to Default Colour Since $href= will override it's predefined colour */
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link a {
color: var(--theme-page-text-color) !important;
font-weight: inherit;
}
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active,
.theme-fandomdesktop-dark #userProfileApp .user-profile-navigation__link.is-active a {
border-bottom-color: var(--theme-page-text-color) !important;
color: var(--theme-page-text-color) !important;
}
/* Sets Social Icons to Default Colour Since href$= could interfere with it's preset colour */
.theme-fandomdesktop-dark #userProfileApp .user-identity-social__icon {
color: var(--theme-link-color) !important;
}
/* Changes the WhatLinksHere and RecentChanges links on the right rail to default static/hover colour */
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:hover,
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:active,
.theme-fandomdesktop-dark a[data-tracking-label="whatlinkshere"]:visited,
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:hover,
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:active,
.theme-fandomdesktop-dark a[data-tracking-label="recentchangeslinked"]:visited {
color: #EBDECC !important;
font-weight: 500 !important;
}