Style sheet contains 11 times the same content
-
Hi, I just noticed that the style sheet blocks.style.build.css has repeated content. All rules are repeated 10 more times, making it way too large.
To see what I mean: open the style sheet in a browser and select the first three lines, then ctrl+c, ctrl+f and ctrl+v. The search result will mark 10 more of the exact same CSS?code… You can do this with any random bunch of lines, so I can only conclude it’s repeating itself exactly over and over again.
By the way, it’s a bit frustrating that stuff like link color is defined in this plugin stylesheet, instead of leaving that up to the theme style.
For example
.ab-text-link:hover{color:inherit;-webkit-box-shadow:0 -2px 0 inset;box-shadow:0 -2px 0 inset;color:#5a3fd6}
first setscolor:inherit
and thencolor:#5a3fd6
within the same rule. That does not even make sense while overwriting theme styles at the same time!And the plugin is less compatible with many themes than it needs to be because of it. Why do that?
Would it not be better to leave those kind of rules (including the box-shadow stuff) up to the theme style?
- The topic ‘Style sheet contains 11 times the same content’ is closed to new replies.