Using and over abusing CSS (red-team-design.com)
9 years ago from Catalin Cimpanu
9 years ago from Catalin Cimpanu
Done is better than perfect most of the time. It’s okay to indulge in a minor sin if we‘re aware it’s done for a good reason (i.e., to save everyone’s time, money, and designers’ sanity). Who wouldn’t resist * border-box?
The author clearly does not take best practices or his words too seriously. Preaching water and drinking wine, aren’t we? :)
My favorite part of author’s CSS (there’s a whole lot more!) .
.highlight .cm { color: #75715e }
.highlight .cp { color: #75715e }
.highlight .c1 { color: #75715e }
.highlight .cs { color: #75715e }
.highlight .ge { font-style: italic }
.highlight .gs { font-weight: bold }
Fairly sure that's the code from Pygments (syntax highlighter) which is a default plugin inside Jekyll. Here's an example Pygment theme:
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now