Fix(UI): \n 1. Increase margin on cards. \n 2. Move project details above project thumbnail in project section. \n 3. Disable Google Translate on-text-hover behaviour that interferes with page and expected functionality. \n 4. Updated GitHub contributions calendar colour scale to match user-selected page theme.
This commit is contained in:
@@ -12,4 +12,33 @@ iframe.skiptranslate {
|
||||
}
|
||||
body {
|
||||
top: 0px !important;
|
||||
}
|
||||
|
||||
/* Disable Google Translate hover popups and text highlighting */
|
||||
.goog-text-highlight:not(#google_translate_element *),
|
||||
.goog-tooltip:not(#google_translate_element *),
|
||||
.goog-tooltip-bubble:not(#google_translate_element *),
|
||||
.goog-te-balloon-frame:not(#google_translate_element *),
|
||||
.VIpgJd-suEOdc:not(#google_translate_element *),
|
||||
#goog-gt-tt:not(#google_translate_element *),
|
||||
.VIpgJd-yAWNEb-L7lbkb:not(#google_translate_element *),
|
||||
div.skiptranslate.goog-te-gadget span:not(#google_translate_element *),
|
||||
.goog-te-banner-frame:not(#google_translate_element *),
|
||||
.goog-te-gadget-simple span.text:not(#google_translate_element *),
|
||||
.goog-te-gadget-icon:not(#google_translate_element *),
|
||||
.goog-te-gadget-icon:not(#google_translate_element *)::before {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
opacity: 0 !important;
|
||||
height: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
/* Keep text selection normal */
|
||||
* {
|
||||
-webkit-touch-callout: default !important;
|
||||
-webkit-user-select: text !important;
|
||||
-moz-user-select: text !important;
|
||||
-ms-user-select: text !important;
|
||||
user-select: text !important;
|
||||
}
|
||||
Reference in New Issue
Block a user