Skip to content

Instantly share code, notes, and snippets.

@prantu
Last active March 12, 2019 01:44
Show Gist options
  • Save prantu/f8f37c59a116274e11a61dce9658cf10 to your computer and use it in GitHub Desktop.
Save prantu/f8f37c59a116274e11a61dce9658cf10 to your computer and use it in GitHub Desktop.
Making Upwork feed great again!
/*
* Author: Tamal Sen
* WordPress Developer
* URL: https://www.upwork.com/freelancers/~01d9b20165ed79e841
*/
/* I want to increase the font fize of Job title, it looks small for me. Also make it full width */
.job-title {
font-size: 20px;
margin-right: -18% ;
}
/* Making the card view more materialistic, ughh */
.air-card {
box-shadow: 0 1px 2px rgba(57,73,76,.35);
}
/* Change the color if I visit a job post link, neat */
.job-title a:visited {
color: #7a1e9e;
}
/* Making the job title green again! */
.job-title a {
color: #37A000 ;
}
/* Poor social buttons, I now give you a proper shape though I never clicked on you */
.glyphicon-lg {
width: 30px ;
height: 30px ;
font-size: 23px ;
line-height: 30px ;
}
/* Making dollar amount font smaller, it hurts seeing so much big zeroes all over */
.lead-lg {
font-size: 22px;
}
/* Need any more customization? Leave a comment here or at upwork community theard.
* Have a good day! */
@magicse
Copy link

magicse commented Sep 15, 2017

.job-title a:visited
{ color: purple !important; }

@prantu
Copy link
Author

prantu commented Sep 15, 2017

@magicse , I use StyleBot on Chrome, it automatically adds the '!important' tag for every attribute. So I didn't bother putting it on every line. Thanks for your input, by the way.

@magicse
Copy link

magicse commented Sep 15, 2017

thank you too. ) Firefox work only with "!important"

@magicse
Copy link

magicse commented Sep 15, 2017

or another variant
/* Making the job title green again! */
.job-title a:link {
color: #37A000 !important;
}

@prantu
Copy link
Author

prantu commented Sep 20, 2017

@magicse sorry for the late response. AFAIK, a:link is generic and a:visited is more specific for the purpose to determine if a link has been visited before or not. a:link can be assigned to style an unvisited link which is totally opposite to our goal.

@ivanburmistrov
Copy link

Hi Prantu, it seems the CSS code for Upwork job feed doesn't work correctly anymore -- both non-visited and visited links are green. Any updates?

@ivanburmistrov
Copy link

ivanburmistrov commented Mar 12, 2019

UPD. Just discovered that visited links change their color to purple if opened via context menu (RIGHT-CLICK: Open link in new tab), but remain green if opened by CTRL-CLICK. Unbelievable, how clowns from Upwork achieved this effect...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment