u/_spaghettiv2

How can I make the header go on top of my sidebar?
▲ 12 r/HTML

How can I make the header go on top of my sidebar?

At the moment the sidebar seems to be above the header, and since they're different colours and I've added a shadow, I'd like the header to be on top of the sidebar.

This is the CSS for the header and the sidebar:

header {
    width: 100%;
    margin-top: -2%;
    margin-bottom: 2%;
    background-color: var(--heading-colour);
    text-align: center;
    font-size: 25px;
    box-shadow: 3px 3px 3px;
}

.sidebar {
    height: 100%;
    width: 160px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--theme-colour);
    overflow-x: hidden;
    padding-top: 100px;
    box-shadow: 3px 3px 10px;
}

I'm very new to CSS so please excuse if I've missed something stupid.

Thanks!

u/_spaghettiv2 — 2 days ago
▲ 2 r/beetle

Was my clutch slipping, and is that normal?

I was driving yesterday, and I came up to a corner with a hill right after it, so I slowed down for the corner and then up the hill I accelerated, going up to 4th and reaching full throttle. The revs then spiked and it felt like there wasn't much power, so I lifted off the throttle because I thought the wheels might be slipping. I accelerate again, reaching full throttle and the revs spike again.

This has never happened before, but could it be the clutch slipping? A few minutes earlier I recall smelling rotten eggs, and I brushed it off as some odour from a field or something since I was on the backroads, but this isn't the first time I've smelt it in my car. Am I smelling the clutch overheating or something?

The rest of the drive was fine, since I entered town at that point, but is this something I should be concerned about?

Thanks!

reddit.com
u/_spaghettiv2 — 8 days ago
▲ 3 r/ETS2

Air brakes failure - bug or feature?

I just bought my first second-hand truck, and I was driving down a motorway when I suddenly got warning for low air brakes pressure. Since I was on a motorway and it was like 1 or 2 am I'd barely touched the brakes, and I had the truck display set to show the pressure and I watched it just drop from almost full down to empty in a few seconds.

On the hard shoulder I let the pressure build back up again and set off with no issues, but I can't find anything to do with mechanical failures on the wiki.

Since the truck is second hand it does have some damage and wear-and-tear and such, like the air pressure doesn't go all the way up to full, but I didn't realise this was a feature, if it is a feature.

I wish I'd got a clip of it but by the time I remembered I had clipping software on it was too late.

Thanks!

reddit.com
u/_spaghettiv2 — 2 months ago