Vocabulary dictionary

Kanji dictionary

Grammar dictionary

Sentence lookup

test
 

Forums - 1st annual renshuu style (CSS) contest - request thread

Top > renshuu.org > Announcements

Page: 2 of 2



avatar

I probably will not be able to add any temporary classes (like ttip-conj), only permanent ones. The tip/popup system is SO messy that it is one of those "I fix one thing, I break three others", and I am hesitant to add conditional classes that I'd need to remove elsewhere. Not impossible, just not something I can add in a few minutes.

Understandable. It's just a suggestion you can look into for the future - no pressure at all. Not only for this contest, I think what I'm suggesting is actually a fairly standard way to handle a singleton div like the one you have here.

All it would involve is adding and removing CSS classes at the start of the functions that "show" the div, so each use can be styled independently without touching the rest of the system. It's also something I can test locally by overriding those functions.

Anyway, I should relax with the coding, it's eating up all of my free time :D

PS: You're already doing this with .rhidden (for example).


Update: Wrote a bit of code to try this out, and while it does work, there are certain problems. For example if you have the conjugation table open (gets styled individually) and hover over anything with hooktip() it gets rid of the .class XD

I'll play around with it some more for fun.

0
6 days ago
Report Content
avatar
マイコー
Level: 307

Well, I've been meaning to do it for years, so maybe this is a chance to break out and start to do it. For example, I could design a new tooltip system, and then only use it for the conj panels. Work out the kinks, then slowly replace the old system with it.

I bet there is a lot of css handling that could be done to avoid a ton of the js conditional stuff I have now when sizing the tooltip with regards to sides, viewport, etc.

3
6 days ago
Report Content
avatar
マイコー
Level: 307

I'll have a new tip/modal for the conj tables ONLY tomorrow. Gotta start small, and if we can stress test it, I'll move it out to more places. I'm sure I'm forgetting some gotchas, but so far, the code was so much simpler than the ball of duct tape I have at the moment. As in, most likely 5% of the length. Assuming I'm missing a bunch of options and not-yet-implemented options, probably round out at 25% of original length, and more flexible at that (multiple modals, if necessary one day).

2
6 days ago
Report Content
avatar

Nice! I guess that scraps my userscript :D

Got it working quite well (AFAICT) for separate wordConj, loadAdd, and hooktip dynamic CSS classes.

1
6 days ago
Report Content
avatar
マイコー
Level: 307

Ok, it's up. tipp is the new class, ttitle for the header div, tbody for the body, and the conj modal itself also gets tip_conj added to the .ttip div. No longer has ids (at least, not any at the moment).

1
6 days ago
Report Content
avatar

Since @いのしし (on the first page) wanted a timer for quizzes, I made one. It doesn't fit the requirements for the CSS contest (obviously...), but I still made it for fun. Just automatically "hits" the "I don't know" button when the time runs out.

cc58df3778963894b796dedf.png
2
5 days ago
Report Content
avatar

Hi ! im a bit familiar with css, html, python and JS.
My coding streak is doomed

kao_don.png

. One thing I would like to request and I thought it would also be a great feature !
When you will finish a quiz with ONLY correct answers (default 40 ), a celebration is bound to happen with a transparent background. Sort of like this

cd471bcab9fac01f8f093b79.png 7dd4f7828b03dd913f3c89b5.png

Something like this !

1
1 day ago
Report Content
avatar

Not too difficult to do, but it requires JS. We can only use CSS for this contest. I made a quick prototype (it's kinda buggy) that fires some confetti from both sides. Just runs on the results page and check what % you got. You can make them bigger/cooler and (probably) in the background. Could be fun as a mod/option in the future.

c08fa062489f79d384b948f8.png

Hopefully next time we get to use JS. A lot of cool things you can do.

2
1 day ago
Report Content
Getting the posts


Page: 2 of 2



Top > renshuu.org > Announcements


Loading the list
Lv.

Sorry, there was an error on renshuu! If it's OK, please describe what you were doing. This will help us fix the issue.

Characters to show:





Use your mouse or finger to write characters in the box.
■ Katakana ■ Hiragana