Learning Termux and CSS
416 words | 3 minutes

This day, I am very lazy because starting of the day, I am just sleep because of hungry. I amn’t sweep the floor on the home like usually. Even today I amn’t sweep the floor on the home. After I am sleeping, suddenly my grandmother give me Rp.20000 for people buying elpiji gas. After that I am just thinking how to run zola in android.

Learning Termux and Architecture

On the first time I am just trying to install termux from github. When I am trying to download zola binary and install it with this command

curl -L https://github.com/getzola/zola/releases/download/v0.14.0/zola-v0.14.0-x86_64-unknown-linux-gnu.tar.gz | tar xzf -

It will extract zola binary, and leaving the archived package. It didn’t succeeded. After that I am also trying to install git

pkg install git

I am installing it on the termux, cloning the zola repository with --branch and --depth. On the final I am also cannot install the dependency that is rustup.

I am trying to download the binary on the https://rust-lang.github.io/rustup/installation/other.html rustup with command

curl -O https://static.rust-lang.org/rustup/dist/aarch64-linux-android/rustup-init

when I run ./rustup-init it also didn’t succedd. After that I know some architecture on termux. There is 3 that I know, that is aarch64, armv8, and armv7. So I trying to download apk of termux from github repo. All of them is same also didin’t succeed. And then, finally I am giveup, and I want to build the binary from github with instruction from here https://dev.to/guilhermerochas/how-to-compile-rust-command-line-tools-for-termux-6gf. I am still didn’t try it, but after that I am just repair the CSS of my blog.

Repairing my blog with CSS

On the first try, I am just make the navbar, and It got big succeed. After that I am repairing the post page, with adding some CSS improvement. I am doing that until didn’t take a bath.

The frustation begin when I am trying to add tooltip. It suddenly become hard, and positioning the hidden tooltip isn’t easy as moving the vector in inkscape. It need knowledge about diplay, position, margin, padding and many more. Yeah after that I got stomachache nad doesn’t continue my CSS repairing.

Somehow I am still happy with the result. Eventhough, when I am trying on the naver whale browser,it didn’t succeed. Maybe I will continue tomorrow.