Code Monkey home page Code Monkey logo

Comments (16)

watterle avatar watterle commented on September 1, 2024

but why? PDF are good enough
and this guy has nice tiles https://natsuai.com/static/css/mahjong.css

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

if you want to direct people to certain articles, it would be helpful. i also don't know how to used that css

from mjg-repo.

Furitenman avatar Furitenman commented on September 1, 2024

It's not a bad idea, but it is a hassle to pass a 300 pages or so book into .html. Easiest solution I could think of is take the raw files and see if there's a way to turn that into .html.

from mjg-repo.

watterle avatar watterle commented on September 1, 2024

They are available as .tex files....
Shan't touch them

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

I can convert them through pandoc and manually edit in the tiles. I've tested the conversion and it works okay, I just have to integrate the light/dark mode to it. I JUST HAVE TO FIGURE OUT HOW TO INPUT THE TILES TO HTML.

As for rms, we can just ask the guy who translated it for the raw files.

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

Alright, finally found out how to use the .css file. Working on it now

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

Can anyone check if they can see the tiles here?

https://repo.riichi.moe/books/rb1/ch3.html

from mjg-repo.

Furitenman avatar Furitenman commented on September 1, 2024

Nope

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

Fixed, turns out it wasn't compatible with chrome/opera. Try to open it again. Only the akadora shouldn't be visible.

from mjg-repo.

watterle avatar watterle commented on September 1, 2024

can see the aka too,firefox

from mjg-repo.

Furitenman avatar Furitenman commented on September 1, 2024

Can see it as well. Edit: They're a bit small, can you maybe make them bigger? If it's a font, should be a thing of applying font-size probably.

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

only firefoxchads can see aka, everyone else can't. so in the html version i'll just indicate through text if the tile is aka or not.

from mjg-repo.

watterle avatar watterle commented on September 1, 2024

doesn't everybody use firefox...?

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

Can see it as well. Edit: They're a bit small, can you maybe make them bigger? If it's a font, should be a thing of applying font-size probably.

What about now? I've tried to make it 3.0em instead of the previous 2.6em. I'm still gonna work on this slowly, maybe when time allows it.

doesn't everybody use firefox...?

I use Brave as a second browser, because sometimes I do feel like the chrome-variants runs smoother. But yeah, fuck chrometards.

from mjg-repo.

Furitenman avatar Furitenman commented on September 1, 2024

Yeah, that looks much better. Maybe you can also read the book and kill two birds with one stone. That's what I did. I'll see if I can find a workaround for the aka tiles in .css that the authors don't know about.

from mjg-repo.

sharmayu avatar sharmayu commented on September 1, 2024

Maybe you can also read the book and kill two birds with one stone

oh shit, time to drop this project. shan't ever read.
... just kidding, i'll just edit the tiles while trying to avoid reading as much words as possible.

from mjg-repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.