Custom Table Design CCS


#1

HEY PEOPLE TAKE A BREAK FROM YOUR SHENANIGANS IT’S MOLT

hi. Remember that regular breaks are good for you!


Can an administrator of the site add some custom CSS for tables? The default design is ugly and cramping my style. I’m thinking something where the header looks different from the table cells, and there’s actual borders to differentiate stuff, at the very least.

/* Table Design */

.cooked table thead, .d-editor-preview table thead {
    border-bottom: 2px solid #BBBBBB !important;
    background-color: #D3D3D3;
}

.cooked table tr, .d-editor-preview table tr {
    border-bottom: 1px solid #BBBBBB;
}

Here’s something to reference the ugliness and future beauty with:

Caliber Ammunition items Unturned examples Real examples
7.62mm 7.62mm Bullet Zubeknakov • Nykorev • Snayperskya AK-47 • PKM
5.56mm 5.56mm Bullet Eaglefire • Maplestrike M4A1 • C7A2

Or doing something like this might be decent:

/* Table Design */

.cooked table td, .cooked table th, .d-editor-preview table td, .d-editor-preview table th {
    border-right: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
}

OR BOTH! BOTH PROBABLY WON’T BREAK THE SITE!

Thanks! :hugs:


#2

What?
Visible confusion


#3

Also RSS. RSS is good for you, and so is sending everything to a client and having it filter what should and shouldn’t be shown.


#4

Friendly reminder that eaglefire is ar-15, Not m4a1


#5

Am I the only one who read this and thought about robotic M4A1s?


#6

shiiiit, my mistake. edited


#7

Eaglefire is the M4A1 in Unturned 4.

RSS is already a thing by default.

https://forum.smartlydressedgames.com/c/unturned-3.rss for example should work, and does on the wikia. I’m not sure if you’re asking for anything more specific in addition to it “working” like normal though. Afaik everything should be working fine and if you wanted you could even have an RSS feed go through a Discord bot.


#9

In 4.0, the Eaglefire is modeled after the M4A1, with stats and full automatic firemode to match.


#10

The first suggestion made the header row white background with white text, so for the moment I’ve applied the second style!


#11

I appreciate it looking kinda like an actual table now!