/meta/ - meta

General sitewide meta


New Reply
Name
×
Email
Subject
Message
Files Max 5 files50MB total
Tegaki
Password
[New Reply]


Hey Admin, I'm trying to set my custom CSS on /comfy/ but it says
'''
Bad Request
Custom CSS strict mode is enabled and does not allow the following: "@", "url("
'''

I believe it's because I link the background image in it, despites I uploaded it in the "Assets" settings of the board.
https://trashchan.xyz/asset/comfy/6c6f248c291c7e2674e510c6cdd3f33fb2564164176ab322109fe8788c9abcbb.png
and here is the line of the CSS file :
'''
background-image: url(/asset/comfy/6c6f248c291c7e2674e510c6cdd3f33fb2564164176ab322109fe8788c9abcbb.png);
,,,

It works well when I test my CSS in the "on the fly" settings though so I believe it may be a permission problem that prevent me to put anURL in my CSS. Please halp !
Replies: >>216
That was the default jschan setting, which makes sense from one point (don't download random crap from the internet), but on the other hand it makes the asset feature pretty useless. I've removed the "url(" filter, please try again.
Replies: >>218
>>214 (OP) 
BTW, it's the backtick key
    `
that's used for codeblocks, not single-quote
    '
Replies: >>218
>>216
lol, that's precisely what I tried to do but failed miserabily.
I have to accomodate myself to some syntax used here ¯\_(ツ)_/¯

>>215
It's working, thanks !
/comfy/ BO again.
I uploaded the CSS in the account settings and it seems there is a problem :
The CSS is not applied on the thread view (Catalog and Index view works).
While I'm browsing a thread as mod (url ends like this .../manage/thread/4117.html) the CSS is applied.
Same if I'm not connected at all and use the general user settings to set the CSS.

Maybe I did something wrong ?
Replies: >>222
>>221
There's a bug in the caching somewhere, I've flushed the cache for the time being, tell me if it happens again.
I'm planning to revamp things a bit at the weekend, if it doesn't fix it I'll look into it.
Replies: >>224
>>222
Yeah seems to work for the moment :)

Thanks for your reactivity, I'll keep you updated if something broke.
Replies: >>225
>>224
Same with the font.
It is not applied on threads.
When inspecting the CSS it says :
font-family: "Trebuchet MS",Trebuchet,serif;
On my CSS file the line in question is :
font-family: "Trebuchet MS",Trebuchet,serif;
I tried without the " and the result is the same.
Replies: >>228 >>231
>>225
" seems like a jschan bug... (I think? HTML syntax rules are a mess) I'll try to do something about it.
Replies: >>230
>>228
This HTML5 standard is fucking bonkers. This is valid HTML:
<style><style></style>
So does this:
<style></a></style>
Also this:
<style></ style></style>
But this is not:
<style></style></style>
Apparently, there's no way to write </style in a style elment, except using css's hex escapes inside strings.
I don't know what the hell they're smoking, but they have to stop/
https://html.spec.whatwg.org/multipage/parsing.html#generic-raw-text-element-parsing-algorithm
>>225
It should be working now. Even though I don't see a difference as I don't have those M$ fonts.
It also won't help me sleep well.
Replies: >>232
>>231
Just tested an it works this time.
Enough theming for me tonight, thanks again for the work you done to give us the /comfy/ vibe (including the Microsoft font xD).
By the way, the default Win95 theme is very good by itself and I like how you can chose between lots of cool other themes :)
I may encounter another troubles when I'll be back to the CSS work tomorrow, hope it will not make your sleep any worse.
Replies: >>233
>>232
No, it's not you, it's web and modern technology.
Replies: >>234
>>233
I don't took it personally no worries :)
Modern web is cancerous for many aspects, technologically and sociologically. Despite not being very techy I miss the old web. That's why it's important imo to continue to have little chans and IB not poisoned by modern spirit.
90572862438b1cbeaf22539495a9f28549aea4cebf67eea7afaa0c40fbe1c2ce.jpg
[Hide] (264.7KB, 1280x1837)
4d9f6b96-f2b8-494e-b889-a41e593a3bde.jpeg
[Hide] (27.8KB, 614x477)
>That's why it's important imo to continue to have little chans and IB not poisoned by modern spirit.
This. I hope the entire Trashchan community becomes a comfy little cafe corner for relaxing!  :)
/comy/ BO here again xD
I think the cache needs a flushing again as there are some parts of the board where the CSS didn't took effect since my last modifications last night.

Thanks :)
Replies: >>269
>>265
Flushed.
I guess fixing this will be my top priority after the jschan update is complete.
I think something is wrong with the overboard, it only shows posts from like 3 boards
Replies: >>293
>>292
First I wanted to say there are about 3 active boards, but it was actually fucked up in the DB, should be ok now.
/server/ BO here from anon.cafe
I've attempted to style individual posts here but had an issue when trying to style the opening post. On the opening post, I seemingly cannot change the background, perhaps it may be that the opening post doesn't have a background and it just uses the board background? I'm also not sure if one can style a thread just from styling the opening post like I've done on anon.cafe. Not being able to style a thread from styling the opening post would be a hindrance in migrating /server/ board to this site as it just wouldn't be the same
Replies: >>298 >>299 >>300
2024-01-25_09-42-41.png
[Hide] (600.9KB, 1920x1080)
2024-01-25_09-43-10.png
[Hide] (1.8MB, 1920x1080)
2024-01-25_09-43-36.png
[Hide] (628.8KB, 1920x1080)
>>297

By way of clarification for the uninitiate, here are three nice 'boards' (uniquely-themed threads), from anon/server/ :

>#1  https://anon.cafe/server/res/114.html
>#2  https://anon.cafe/server/res/13.html
>#3  https://anon.cafe/server/res/2.html
Replies: >>300
>>297
>to style the opening post
Try this :
.post-container.op {
   background-color: red !important
}
And if you want it to keep the same color when focused :
.anchor:target + .post-container.op {
   background-color: red !important;
}
Not sure if this can help though.
Replies: >>306
>>297
>>298
This seems to do something if you want to style a specific thread, but doesn't work in pale moon:
.thread:has(.post-container.op[data-post-id='214']) { background-color: red; }
Jschan doesn't have an id on the thread div, only on the post.
Replies: >>301
>>300
/server/ BO again
You think we can style individual threads this way?
Seems like a bit of a headache to get this to work
I'll look into it over the following days, I'm still kinda uncertain but maybe the board could be migrated here
Replies: >>302
>>301
Well, the alternative is to modify jschan so it includes the thread id in the .thread div, then you could use the same technique as with anon.cafe.
Replies: >>303
>>302
I'm aware you are/were running a modified version of JSchan here. How difficult would it be for you to give that modification to thread pages, so that the /server/ BO could give it a try here, Admin?
Replies: >>308
>>299
Thank you very kindly, Anon! Cheers.  :)
>>303
I've added a data-thread-id to .threads, so this should work now:
.thread[data-thread-id='214'] { background-color: red; }
(Also it no longer requires fancy new css features).
It's going to be missing on some manage and ban pages, because technically you're only seeing posts there, and not threads.
Replies: >>309 >>312 >>322
>>308
Woah, with backtick backtick backtick css (Impossible to escape I think) it actually manages to highlight it. Last time I tried it didn't work.
Last edited by admin
>>308
Excellent. I had a feeling you would solve this handily.

>It's going to be missing on some manage and ban pages, because technically you're only seeing posts there, and not threads.
Yeah, understood. I personally would consider that so trivial as to be a non-issue at this time.

Great job, Admin. Thanks!  :)
Maybe it's how jschan works but is it possible when you highlight something then click on the reply button to automatically paste it in greentext in the reply box ?
Replies: >>315
>>314
It's something that used to work, but now doesn't work for me either, I will look into it.
Replies: >>316
>>315
Nice.
FYI I just tested on another board using jschan and it didn't work to. But it would be nice to have this very usefull function.
Replies: >>317 >>319
>>316
It still works on sleepychan which uses an ancient jschan version, but not at junkuchan/ptchan/here running a more up-to-date version, so it's probably a problem with upstream jschan.
>>316
Try now after an F5 or maybe even Ctrl-F5.
I guess at the weekend I'll be writing jschan bugreports/patches.
Replies: >>320
>>319
>Try now after an F5 or maybe even Ctrl-F5.
<working
Thanks Trashmin!
>>308
Okay so a particular thread background can be styled, but can all the replies on a specific thread get styled (without having to style each one by hand?)
Replies: >>323
>>322
.thread[data-thread-id='214'] .post-container { background-color: red; }
?
Replies: >>324 >>630
>>323
Okay good enough, thanks
>Site works over tor both relay and non-relay
>isitdown says the website is up and running
>Get DNS/Connection errors when trying to connect over clearnet
>Use a different DNS and get the same error
>Use a different device with a different browser and get the same error
I guess my VPN has been blacklisted lol.
Replies: >>343
>>342
>DNS error
It should resolve to 209.141.38.17. If not, your DNS is doing something weird. Can you ping the server?
Replies: >>344
>>343
Funnily enough it corrected itself on the browser end immediately after pinging on the command prompt end. Well that's awkward.
Just noticing youtube links are no longer embed (look at >>>/comfy/45).
Also would it be possible to embed Invidious links to ?
Replies: >>530
I want to ask Chobitsu if there's a way of getting all the banners from my original board automatically, just to prepare those for when it's opened here.
Replies: >>530 >>531
>>510
It seems to work for me?
The problem with invidious is that there are no instances that work reliably (and also no easy way to select what site you'd use to embed).
>>529
Can't you download them from the admin page? As far as I can tell, there's no public banner list on anon.cafe, so I can't download them easily.
Replies: >>532
2024-03-04_01-40-41.png
[Hide] (50.1KB, 1207x258)
2024-03-04_01-42-19.png
[Hide] (363.6KB, 460x1049)
>>529
>all the banners from my original board automatically
Actually, I'm just a hotpocket, and this can only be accessed (AFAICT) when you're the BO.
> pics related

As Trashmin says, you should be able to log into your BO account still, and be able access banners from there.
>>530
For some reason, after some posts the youtube links are no embed. It works on first posts.

test
https://www.youtube.com/watch?v=LgGiZmkhBp4
Replies: >>533 >>535
>>532
Look here >>>/comfy/8718, no [Embed] button. At first I believed it was a CSS shenanigan but trying with the default one gives the same error.
Replies: >>535
blkd.png
[Hide] (18.8KB, 494x222)
Also, how the fuck did I remove a country from the "blocked list" ?
Replies: >>535
>>532
>>533
Oh I see, the first few posts are ok, but then you got a JS error. Will look into it.
>>534
Shift or ctrl click on the country? But it won't do anything now, there's no geoip support in the webserver yet.
Replies: >>536 >>537
>>535
Okay, it should be okay now after an F5. It barfed on the weird @ links in >>>/comfy/1112
Replies: >>537
tmbp.gif
[Hide] (454.5KB, 498x403)
>>535
>>536
Thank you Trashmin.
/server/ BO here
I've started experimenting with the CSS to get it to work.

First off, I'm working on putting up the base CSS, the one I made for server before putting in any threadly CSS's

In that CSS, for starters we have this;

body {
  background: #182220 url('https://i.imgur.com/0v8rGiq.png') repeat 50% 0%;
  color: #BCBCBC;
  font-family: arial,helvetica,sans-serif;
  font-size: 12pt;
  margin: 0 4px;
  padding-left: 4px;
  padding-right: 4px;
}

But the background image doesn't show up when I apply it on trashchan so I'm not sure yet how to fix that..
Replies: >>568
>>566
Upload it as an asset and link to there. CSP rules doesn't allow loading images from arbitrary hosts, and I'd like to keep it that way.
Replies: >>569
>>568
I wonder if 50 assets is gonna be enough for a board like /server/
I don't really see the reason for disallowing externally hosted images..
Oh well I'll upload the assets locally then and see about the rest later
Replies: >>570
>>569
>disallowing externally hosted images..
Sending IP addresses/browser headers of anons visiting this site to random webservers. They can disappear any time breaking this site.
>I wonder if 50 assets is gonna be enough
It can be increased, it was just the default limit. I don't think anyone needed to upload more than a few assets until now.
Replies: >>572
>>570
Okay.
The /server/ base CSS is getting there, there are still a few things left to fix
Some links and quote links are just red..
I also have to work on those parts that one might not see as often, like in the settings for the board there are these forms and they still haven't been styled yet..
>>323
I ran into an issue
This styles not only reply posts but the opening post as well, that's not supposed to happen..
Replies: >>631
>>630
It is very strange, it seems to only happen on my board that the opening posts also get styled, it doesn't seem to happen on the meta board, I'm kinda baffled by this
REQUEST for banner resolution limit to be increased (or eliminated)
anon.cafe/lynx only has filesize limit and it would be nice to carry over previous banners
Replies: >>648
>>637
Bumped it up to 1000x500, that should be big enough I hope.
Replies: >>660
Also on the base CSS the post-container is working properly (not showing the op post styled)
Is there some way to fix it for when styling the post-container on a threadly CSS?
>>648
Yes that's big enough. Thanks a lot!
868e439b0147bd56825abe851946694e4f92dc3f97826a10af4c7d564be76ba4_(2).png
[Hide] (12.8KB, 200x100)
It looks like I'm going to need some CSS help.
None of the three boards I've got current ownership of look quite right
/f/ has just a dark gray bg and test boxes and it should be a dark green. One poster >>>/f/2443
 replied that there was a conflict with [code]color: #dddddd;[/code] and disabeling fixed it but it doesn't seem to fix it when I change it. Interestingly if I drop the CSS into custom CSS in settings the board theme will appear correct for a flash before the gray overrides it.

/p/ is better but the header and and the posts are grey and they should be a darkish blue. Also the little logo at the top doesn't appear. 

/lego/ isn't quite colored correctly but I thought once I figured out the other two boards then I would be able to sort that but now one anon tells me that the background image doesn't appear for him but it has for me ever since I uploaded it to assets and changed the path in the CSS.

I'm really not familiar with CSS on jschan and so I'm not sure where things are going wrong or how to fix them. Any help would be appreciated. I'd especially like to get /p/ looking right before I hand it over to the BO.
Replies: >>697
>>695
jschan uses variables for most colors. meaning they are set in the ':root' selector. there are a lot of elements that use a single variable and not just what they sound like
add this to the top of your css, and try adjusting colors this way instead of individually setting them

:root {
  --font-color: #000;
  --background-top: #000;
  --background-rest: #000;
  --post-color: #000;
  --post-outline-color: #000;
}

you can view the whole list of variables in your browser in Sources/Style Editor tab
hope this helps
Replies: >>710
Before I go about messing with this, am I correct in understanding that if Trigger Reset Lock Mode and Trigger Reset Captcha Mode are set to "no change" that means that I would have to manually unlock the board instead of it automatically resetting after some period of time?
Replies: >>708
>>707
Yes. /comfy/ is still locked after my change, uh oh.
Replies: >>709
>>708
Actually I'm not the /comfy/ BO but I saw your warning about the slide attempt and I thought I better double check all my antispam settings.
>>697
Thanks that's keyed me in on a lot and I think I can get things back to what they should look like.
With the exception of these two things.
/p/'s logo
 p#labelName 
{ background-image: url("/asset/p/868e439b0147bd56825abe851946694e4f92dc3f97826a10af4c7d564be76ba4.png");
  color: transparent;
  background-position: 50%;
  background-repeat: no-repeat;
  padding: 30px; }
and /lego/'s rounded corners
.innerPost {
  background: #3c5790;
  border: 1px solid #000000;
  border-radius: 10px;
  width: 100%;
}
Clearly neither p#labelName nor .innerPost are correct for jschan but after poking around all yesterday I'm still completely mystified what the element name is.
Replies: >>711
>>710
Update I figured out the rounded corners. It's .post-container here instead of .innerPost. 
Still no clue about the label element is called on jschan.
Trashmin (or anybody wha have the solution), I'm a nigger and set up the 2FA on my BO account.
This shit sucks and I want to disable it, how to ?
Replies: >>714 >>715
>>713
Um, there doesn't seem to be a way to remove 2FA from the jschan UI... Send me an email and I'll nuke it from the DB.
Replies: >>715
>>713
>>714
sent
SSH backdoor in upstream xz/liblzma release tarballs!
>https://www.openwall.com/lists/oss-security/2024/03/29/4

Also, this looks suspicious: https://archive.vn/ogmcy
Replies: >>717 >>718
>>716
Thanks for the crosspost, anon.
>>716
Looks like alpine is unaffected
https://archive.ph/IDokR
(Also, now that nitter is dead, what the fuck am I supposed to use to read twitter other than archiving it on archive.is? Also, a self proclaimed small, simple, secure OS only posts news to a JS bloat and privacy nightmare twatter account? Geez...)
Replies: >>719
>>718
>now that nitter is dead, what the fuck am I supposed to use to read twitter other than archiving it on archive.is?
The remaining Nitter instances work eventually if you keep trying (circuit cycling in TBB seems to help) but yeah it's bullshit that so many projects still post exclusively to an increasingly locked-down platform.
Hey, admin, could you fix /loomis/'s busted css?
Replies: >>727
>>726
Well, I selected a different base theme and uploaded the background image as an asset to CSP rules doesn't fuck it up. It seems readable now.
Replies: >>728
>>727
Awesome, thanks!
Hey admin, is there any way for trashchan to support animated thumbs for gifs? TIA.
Replies: >>731 >>732
>>730
I think it's a jschan limitation but not sure, also the topic was discuted somewhere else but I would love to see this implemented myself.
>>730
There built-in support in jschan with ffmpeg is pretty crap (most of the time the thumbnail ends up being bigger than the original, not counting the numerous glitches it can make), I'm personally not a huge fan of them, and there weren't enough people bitching about them for me to make anything about it.
Replies: >>733
>>732
What parameters is it passing? Maybe we could fix it.
Replies: >>734
>>733
The problem here is that ffmpeg is made to work on videos, not on gifs that have things like
+ variable framerate (where multiple frames can be displayed at the same time)
+ frames that only update/replace part of the image
+ different palette per frame... which combined with the previous two allows you to actually have more than 256 colors in a single frame
ffmpeg will internally flatten all this out into a series of single resolution frames, then downscale it using some interpolation (so even if the input gif didn't use any of these tricks, it'll still have tens of thousands of colors), which then will have to be quantized, resulting in thumbnails that are huge and look crap...

There's this thing I wrote a couple of years ago, this understands the gif structure and only does nearest interpolation (so it won't blow up the number of colors, even if it looks a bit worse), but needs some testing, and of course to be integrated into jschan.
https://gitgud.io/some_random_guy/gifthumb
Also at the moment it fails on 2 gifs on this site. From the error message I have a feeling that they're actually corrupt and it's just giflib being a bit more picky then other libraries/programs, but I didn't look into it in detail yet.
Spoilers in spoilers are fucked. Could you somehow enable the default [] method of formatting?
Replies: >>737 >>738
>>736
Foo bar.
>>736
Well, having ** to both start and end a spoiler means you can't nest them without it being ambiguous. I'm also not sure how well the css would handle it. Vanilla jschan uses discord's || which is hated by everyone except Tom, and jschan sites on the internet started to patch it, all in their own different ways, thus the chaos we're in now.
>default [] method of formatting
You mean something like [spoiler]? I think jschan never had that as an option. Could be patched in though...
Replies: >>739 >>740
>>738
>hated by everyone except Tom
That explains the code tags too.
Admiiinnnn I can't upload audio files.
>>738
If it can be done, it'd be good to have. Now that you have a userbase all these small problems are coming to the surface.
Replies: >>741
ThePimpingLemma.mp3
[Hide] (3.7MB, 04:04)
>>740
What error you get?
Replies: >>744
I tried .opus and .ogg and .flac and none of them worked.

Opus is the best compressed audio format and is used almost everywhere except in commercial music. .ogg is a container that usually contains Opus and Vorbis audio (Vorbis is basically an older version of Opus), but Opus can also be directly in .opus files.

FLAC is the PNG of audio formats.

I think mp4 files tend to have AAC audio (.m4a file extension), but I didn't try that.
Replies: >>743
>>742
Ah, mime handling is borked again. This javascript garbage returns audio/x-flac instead of audio/flac
https://github.com/sindresorhus/file-type/blob/37233b1c9c5c55aab4308f5c1991569dd4e414cc/core.js#L687
Not sure about opus/ogg, I will check it and try to fix this shit after I get some sleep.
Replies: >>745 >>749
>>741
I get "Something broke." trying to upload mp3s.
Replies: >>745
>>743
I've made some very ugly hacks, flac/ogg/opus seem to work now, report back if there are any problems. It doesn't help that browsers consistently mess up ogg detection, detecting ogg audio as video, opus as ogg, etc...
>>744
Try to open devconsole (F12), network tab, and try to post it and see if it gives any meaningful error. MP3 upload seems to work for me. Alternatively upload the mp3 to something like https://litterbox.catbox.moe/ and I'll take a look.
Replies: >>746
01_-_Mysterious_Times_(Prelude).mp3
[Hide] (2.9MB, 02:14)
>>745
Test.
Replies: >>747
>>746
Works now. I don't know what changed.
digimon_2_boss_tempo.opus
[Hide] (984.2KB, 01:48)
ORDEN_OGAN_-_Inferno.ogg
[Hide] (3.4MB, 05:06)
assembling-machine-t3-2.flac
[Hide] (812.9KB, 00:04)
Testing
72a81a8f80420c986132f5f20f55526b266c5ad7247677e76d67e2747aa46bbd.png
[Hide] (273.4KB, 695x731)
Nice, thanks for the fix. I tried to look at the code >>743 but both object oriented code and Javascript give me headache. It looks like it detects file type from the file data so it shouldn't be affected by browsers.

Lossless audio is huge even if you compress it so I'm not sure how practical FLAC actually is, full songs tend to be 50 MB+. I suppose it's fine as long as anons are respectful towards the server and bandwidth and don't overuse it.
They_Don't_Care_About_Us.ogg
[Hide] (8.6MB, 4000x4000, 04:32)
Testing ogg with album art.
>gets converted into .ogv
Wut? I've never even heard of that extension. Can't download the file either. I don't really care personally since I tend to remove any images before posting audio, so if it's too much of a pain to fix then that's fine for me. But here's the file just in case: https://litter.catbox.moe/ajiuoq.ogg
Replies: >>753
Supernova.opus
[Hide] (5.3MB, 300x300, 05:21)
What about .opus with album?
>>751
Looks like mime detection borked... But I fixed the nginx config, it should be downloadable now...
Replies: >>754
>>753
My browser seems to play it so that works.
I and an anon on /agdg/ are having trouble uploading files. I'm getting "Something broke." trying to upload an .mp3 and I believe anon was trying to upload a .webm.
Replies: >>767
1708693410634096.webm
[Hide] (5.9MB, 1280x720, 00:59)
>>765
As for me, the upload takes a very long time and just stops after a while on my main browser (Pale Moon), my other browser (LibreWolf) uploads longer so it eventually goes through.

My internet is being very slow recently and I don't use javascript, so it feels like Pale Moon is just timing out the upload, but it could be the server telling my browser to fuck off too. I dunno if our problems are related.
Hmmm that post went through pretty quickly without issues. My internet isn't being slow at the moment either.
I want to report Trashmin that there are two spam posts on /nep/ that I've reported repeatedly and haven't been deleted.
Replies: >>773
>>772
Have you tried reporting to the BO, Anon? These seem less like egregious spam AFAICT, and more like a (probably misguided) attempt at 'chatting' (ie, just posting, if off-topic).
I can't make an account.
/server/ BO here, I had an issue where a font family doesn't appear (It did appear on anon.cafe)
Basically on the Minecraft thread I had the font family "Press Start 2P" but for some reason it doesn't seem to appear on here
Replies: >>822
>>821
Hmm, all I see in the CSS is font-family: "Press Start 2P"; but that won't work unless you have the font installed locally. You'd need to upload the font and create a @font-face for it...
https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face
Replies: >>823
>>822
Could it not be uploaded on here as an asset and loaded into the CSS from that somehow? I'm not sure how to do this
Replies: >>824
>>823
It's not that simple, it has to be converted into some weird ass format (woff2 I think), normal ttf files usually don't work. Is it this font?
https://www.fontspace.com/press-start-2p-font-f11591
Replies: >>826 >>831
>>824
Yeah that's the font
Replies: >>830
>>826
Check it now, it should work now (converted it to woff2 and uploaded as an asset)
Replies: >>832
>>824
ttf should work on most browsers, but woff and woff2 are "recommended" because they have smaller filesize.
>>830
The font works but..
I tried to change the font size but it apparently doesn't let me change the CSS now, it gives a bad request message
>Custom CSS strict mode is enabled and does not allow the following: "@"
Replies: >>833
>>832
Try now
Replies: >>834
>>833
It worked, thanks
What is the syntax for replacing a horizontal ruler with an image and why is it not


hr {
   background-image: url(https://trashchan.xyz/file/d969bba8c4c21c1e8bb2866e7646cedef3325f3078b89242acf9bf0444a67242.gif);
   background-repeat: repeat-x;
}

I know you would use the board assets if you're doing it for permanent purposes but I'm just trying to work through it for myself right now.
Replies: >>856
>>855
I found it out. You unintuitively have to add and define a height parameter.
So FYI for anyone who wants to do this.

hr {
  height: 99px;
  background-image: url(https://trashchan.xyz/file/211111007b095fc66c70fc1419ccf11c1563da10a7c7e18756d06ea0aa740d2f.gif);
  background-repeat: repeat-x;
}
Also, for some reason this setting of 'transparent' is still showing the horizontal ruler:

:root {
   --highlighted-post-color: #3F7741;
   --highlighted-post-outline-color: #952927;
   --name-color: #0D9BFA;
   --hr: transparent;
   --spoiler-img:
url(/asset/christmas/f81197448a08c5f81b4f5f9e5f5a07a95ec81aaaa7355bf6eadb5be798d84adc.jpg);
    scrollbar-color: #3F7741 #631B1A;
}

Any ideas?
Replies: >>858
>>857
Anon solved it. It needs a border setting on the hr tag itself.

hr {
  height: 99px;
  background-image:
url(/asset/christmas/211111007b095fc66c70fc1419ccf11c1563da10a7c7e18756d06ea0aa740d2f.gif);
  background-repeat: repeat-x;
	border: none;
}
I'm trying to set the code theme to be more readable [1]; but whichever one I choose, it doesn't seem to have any effect, or to change the appearance under the board's custom CSS. Is there some other setting I'm still missing, Admin?

---
1.  >>>/christmas/3870
Last edited by chobitsu
Replies: >>865
Thanks!  :)
Replies: >>866
>>863
I'm not completely sure what did you try, changing the code theme in settings seems to do something, if you find a nice theme, you can set it as default in the management. You could also try to style the various hljs- classes, but that seems like a lot of work.
Replies: >>866
>>865
It actually seemed to work (there) after I made this post here. My presumption was that you made a fix BTS. Hmmm, maybe I was just experiencing some kind of 'propagation' or other back-end delay between the time I made the adjustment to the code style within the board management, and the time it actually appeared on the page(s)?

Regardless, it seems to be working now. ( >>864 ) Thanks, Admin!  :)
Last edited by chobitsu
Replies: >>867
>>866
No, I didn't change anything. Unfortunately, jschan's cache cleaning logic is not exactly bug free, so it's possible you got cached pages with the old style (it happened in the past)
Replies: >>868
>>867
Ahh, I see. Thanks for the explanation.

>Unfortunately, jschan's cache cleaning logic is not exactly bug free
I notice similar issues with Lynxchan, tbh. One trick I tried, was posting a throwaway bump to a thread, which seems to triggers a number of rendering updates -- both in-thread & on-catalog.
[New Reply]
129 replies | 19 files | 65 UIDs
Connecting...
Show Post Actions

Actions:

Captcha:

- news - rules - faq -
jschan 1.6.2