New Theme Brenton


Read {count} times since 2020

It’s been some time since I have been active on this blog. For the past months, I had been paying little attention to my blog. It’s because I was busy with other projects and school of course.

From now on, I’ll try to make the blog more active. As a first step, I have updated the theme. This is the third update to the theme.

The previous themes were named “Subin’s Blog V1” & “Subin’s Blog V2”. That’s a pretty boring name. So I went to a random name picker website and chose one – “Brenton”.

Someone who liked my last theme wanted it to be open sourced and so I did it. The old repo is moved to the new one.

Changes

You’ll notice the UI change first. The comet falling background is removed for good. The site was laggy in performance because of that bg. Here is how I did that bg :

body:before{
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  bottom: -50%;
  right: -50%;
  z-index: -1;
  -webkit-transform: rotate(-30deg);
  -moz-transform: rotate(-30deg);
  -ms-transform: rotate(-30deg);
  -o-transform: rotate(-30deg);
  transform: rotate(-30deg);
  background-image: url("bg.png");
  background-color: #000;
  background-repeat: repeat;
}

The “bg.png” file was rotated diagonally to make the comet falling effect. This was a huge mistake as browser had trouble rendering this effect every time the user scrolled. As a result scrolling caused a lag and it was messy as glue. Yuck !

That background is replaced by a linear gradient now :

body{
  background: linear-gradient( 0deg, #4CA454, #000 );
}

And overall this is how the site look :

Brenton WordPress Theme

Please comment your feedback & suggestions. It will be very helpful. As I said, I’m gonna drive this blog on the right track once again. 🙂

Show Comments