Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bashy's avatar
Level 65

Custom Laracasts.com Styles

Started doing some colour changes for Laracasts so those who want something different can quickly pick one they like without any hassle. All you have to do is install a browser plugin so the CSS changes can be applied on each load.

Contribute here: https://github.com/bbashy/Laracasts-Styles

I'll be adding them onto userstyles.org so you can use a plugin to install them.

Dark background: https://userstyles.org/styles/125025/laracasts-dark-background-forum

New header

Other styles (not all made by me) https://userstyles.org/styles/browse/laracasts

This is in no way trying to discredit Jeffrey's colours or styling, these are just alternatives.

0 likes
50 replies
milon's avatar

I like the dark background. Nice work. (y)

bashy's avatar
Level 65

:) Will need to update some parts as text is too dark for the new background. If you installed it, you can check for updates in the manage styles area.

Edit: updated most of the dark text parts

vincej's avatar

Wow Beautiful !! will you be doing one for the lessons page ?

Never done this before. I have installed stylish .. then what ?

bashy's avatar
Level 65

Just seen it, thanks. Will also add it to userstyles.org

1 like
sitesense's avatar

@Bashy - just great buddy!

Too much white is hard on the old eyes when I'm staring at a screen for up to 16 hours a day. Love the dark theme, thanks.

bashy's avatar
Level 65

No problem!

Updating it daily to fix little bits so keep checking for updates on the "Manage installed styles" part of the plugin. I also push them to GitHub (linked in thread).

1 like
Roni's avatar

This is just awesome! My eye's thank you. I don't know how hard it is to extend this, but I'd add the series lists and the lesson comments too. But wow, that's brilliant.

bashy's avatar
Level 65

@Roni Pretty much any CSS item is changeable. I can do the list of videos in the series (if this is what you mean)

If you wanted to contribute and add some simple CSS additions, just make a pull request with the changes on GitHub :)

https://github.com/bbashy/Laracasts-Styles

1 like
Roni's avatar

Is there a quick decent tuturial on how to live test this? I'm' using google chrome to make some modifications that seem to work well, however not really sure how to test my local changes. I'll see if I can point Stylish to my local fork of your css.

bashy's avatar
Level 65

You can do it locally by installing CSS manually. Check the manage styles section on browser extension

Roni's avatar

@bashy, here is an example of a change I'd make, It's not mind blowing design or anything, just my quest to remove this infernal bright green! But I digress, I can't get Stylish to add this, either to your style by copying the whole thing and adding these, or by adding these individually.

.banner{
  background: #414A5C;
  padding: 7em 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #333A49;
}

.banner__series-learning-points {
  border-left: 1px solid #B6BAC1;
  padding-left: 40px;
  margin-top: 65px;
  position: relative;
  left: 40px;
  color: #fff;
}

.banner__series-learning-points h5 {
  color: #A4B0BF;
  font-size: 1.5em;
  margin: 0 10px 0.5em 26px;
}

I actually had a bunch more, but deleted it accidentally by refreshing. Is there, no way to edit these files locally and have them reference the local stylesheet as it's changed?

bashy's avatar
Level 65

@Roni Sure, I did the styling for the base of my colour scheme in a local style.

Here's a screenshot of where you can add the CSS. There's a link saying "Add New Style" in the manage styles section.

Roni's avatar

Thanks, I added a bunch. I'll send it back to github

bashy's avatar
Level 65

Yeah got it, few things which I should of mentioned :P

Probably need to use !important else rules get overwritten. Please make sure this is in the file still (which wraps around it all)

@-moz-document domain("laracasts.com") {

}
Roni's avatar

Done,

I still couldn't figure out the mouseover's for all the unique lessons to remove the green bar, I'd still change the lessons instead of alternating dark and light to an all dark neutral back and have a blue highlight on your mouse over. Finally I'll try and tackle the disqus section at the bottom of the lessons, as I spend a fair amount of time reading there. On the whole, thanks a ton for all this @bashy.

Next

Please or to participate in this conversation.