KFKompakt - An Alternative Theme for Desktop Users - or: Drop Shadows and Gradients and Borders, Oh My!

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.

Doktor Grimm

True & Honest Fan
kiwifarms.net
Joined
Mar 6, 2023
1721403941924.png
Hello Farmers. Here's a brand new look for our glorious site, compatible with modern Firefox/Chromium-based browsers.

The site in its current state certainly serves its purpose well enough, yet as iconic as the grey-and-green colour scheme is, the XenForo default layout makes it all seem a touch sterile. Now, I understand Null has better things to do with his time than fiddling about with divs and hex codes, and most (sane, well-adjusted) people wouldn't give these things a second thought, but I'm very picky about the look and feel of the sites I use -- so, inspired by the work of some other users, I decided to take matters into my own hands and use my vague understanding of CSS to devise a more comprehensive custom theme.

Features thus far include:
  • A narrower page layout to make reading easier on large screens;
  • A new header with a centred logo and separate upper navigation bar;
  • Gradients and shadows added to various page elements to give the site a more dynamic appearance;
  • A warmer colour scheme, similar to the old Kiwi Farms default theme circa 2018; and
  • Various other appearance tweaks, including changes to the board listing, altered fonts, and spacing adjustments.
Selected screenshots:

1721402155390.png1721402215532.png1721402799912.png1721402425264.png

To use the theme for yourself, install a style addon such as Stylus (Firefox/Tor, Chromium) and download it from my UserStyles page here -- alternatively, you may find the raw CSS attached below. For the intended results, ensure your theme is set to 2021 (Dark) in user preferences, and your page width set to default.

Feel free to make any alterations and distribute them as you see fit; if there's enough demand, I'll look into implementing some fresh colour schemes myself. Report any issues/bugs/suggestions in this thread or my DMs. Sneed responsibly.
 

Attachments

This looks great! Will be using it for sure.
I did notice that the right and bottom outline on this page are black instead of the grey-ish brown color you chose.
 
  • Informative
Reactions: Doktor Grimm
This looks great! Will be using it for sure.
I did notice that the right and bottom outline on this page are black instead of the grey-ish brown color you chose.
Thanks so much! That sounds like a browser rendering issue and I think I know exactly what's causing it. Should be an easy fix, will get to it in the morning.
 
  • Like
Reactions: #FF0000
Although I'm not a big fan of the background gradients, I think this is a huge improvement over the default theme.

Two things I noticed so far:

1) Since the background is now darker, it is even more difficult to see the selected text in the editor. Code in question:
CSS:
.fr-wrapper ::selection {
  background: #212428;
  color: #fff;
}

Either change it to
CSS:
.fr-wrapper::selection {
  background: var(--primary-color);
  color: #000;
}
to keep the green kiwi theme going inside the editor only or change it for the whole site by adding
CSS:
::selection {
  background: var(--primary-color);
  color: #000;
}
(I prefer the last one for consistency)

2) The symbol of "Talk to Staff" isn't colored orange:
Screenshot 2024-07-19 at 22-50-07 Kiwi Farms.png
I'm too lazy to figure out how to change it myself right now, but my inner autist would be grateful if this could be fixed.
 
  • Informative
Reactions: Doktor Grimm
I'm getting Minecraft mod vibes from this.
 
Made a minor update to fix the page borders and alter the selection highlight colour (as per @Hamsteroid's suggestion). Unfortunately, the "Talk To Staff" icon remains unchanged -- it's also grey in the default theme, and there seems to be no CSS code responsible for changing the colour, so I suspect it's a difference with the icon itself.
 
Added
CSS:
.fauxBlockLink {
    border: 1px solid var(--primary-color);
}
to make embedded links more distinguishable:
1750020362351.webp
vs
1750020197499.webp
Side effect is that items in "alerts" will have a green border too. Not sure if I like it or not, but I think I can live with it (for now).


Edit: Just noticed another side effect:
1750021218673.webp
Too lazy to look for a fix rn - maybe someone else has a less hacky solution.
 
Last edited:
  • Informative
Reactions: Vecr
Back