Posted in site bugs
3959
3:04 am, January 1, 2021
 

badge border colour is too dark or light on number badges [fixed]

I noticed that the badges here were to light, so i must have missed something when updating the badge css.

Demo Link
https://www.kruxor.com/search/code/site+bugs/

Bug Status:
Fixed

Problem:
The borders should be darker and they are currently too dark or light.

How to fix, look at the correct badge and see what the difference is.

Correct Colours:

Vs Incorrect.

We can see here that the class is different on these badges, so need to change the .badge-secondary to the badge-info unless we want different colour's on these. For now just make them the same. 

CSS

.dark-mode .badge-secondary {
    color: #fff;
    background-color: #2e3c50;
    border: 2px solid;
    border-color: rgb(17 24 39);
}
.light-mode .badge-secondary {
    color: #fff;
    background-color: #38b2ac;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
    text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}

View Statistics
This Week
112
This Month
439
This Year
454

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

Please dont do this! 😜


Unknown Web Developer
Random CSS Property

grid-row-end

The grid-row-end CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area.
grid-row-end css reference