MCT-master / mct-master.github.io

The blog of MCT
https://mct-master.github.io
14 stars 9 forks source link

Blog post title colors do not match #16

Closed aleksati closed 4 years ago

aleksati commented 4 years ago

Not sure if this is an issue only on Chrome or on Windows, but the post title color seems to change ever so slightly for each post (see images below):

This might just be some code-remnant from the past where changing the post tile color-gradient was necessary to distinguish between posts. However, now it doesn't look that good anymore.

stefanofasciani commented 4 years ago

This is a feature of the theme, and it was there also before with the green text. This is common in many websites. If you have already visited an URL, the text color of the link changes (that's why it gets slightly darker). Should we remove it?

aleksati commented 4 years ago

Ah, okay. Yes, I think it looks better without it.

stefanofasciani commented 4 years ago

fixed by adding this code in assets/main.scss (override default minima template style)

a { color: $brand-color; text-decoration: none;

&:visited { color: darken($brand-color, 0%); }

&:hover { color: darken($brand-color, 20%); text-decoration: none; }

.social-media-list &:hover { text-decoration: none;

.username {
  text-decoration: none;
}

} }