No description
Find a file
2025-04-27 17:21:33 +03:00
categories added new category 'relaxed' 2025-04-09 02:54:01 +03:00
font-library fixed an issue in prompt 2024-12-01 00:09:37 +02:00
themes updated color schemes 2025-04-06 02:27:23 +03:00
.gitignore update gitignore 2024-12-01 00:55:06 +02:00
_config_sass replacing default-org-mode with org-base.sass 2025-01-22 02:21:17 +02:00
_fonts.sass udpated fonts and added _config file 2024-11-30 23:19:51 +02:00
_mixins.sass updated 2024-11-29 10:29:02 +02:00
_tables.sass updated _tables and fixed up graphics to better use slate 2025-02-19 03:38:56 +02:00
_variables.sass updated 2025-01-21 02:10:25 +02:00
collapsible.sass updated collapsible 2024-12-02 00:48:52 +02:00
content-overview.sass updated 2024-11-29 10:29:02 +02:00
course_listings.sass updated 2025-01-21 02:10:25 +02:00
org-base.sass added org-dl for definition lists 2025-04-08 02:17:20 +03:00
org-mode.sass updated 2025-01-21 02:10:25 +02:00
readme.md added readme 2025-04-27 17:21:33 +03:00

org-media-sass

Reusable SASS media styles for Org-mode and HTML exports.

Repository Info

  • Source: Forgejo

  • Clone URL:

    ssh://git@forgejo.ronnyabraham.com:222/notes/org-media-sass.git

Project Structure

  • Location in project: _media/share/sass/org-media-sass
  • Expected fonts directory: _media/share/fonts
  • Output CSS directory: _media/share/css

Adding as a submodule

git submodule add ssh://git@forgejo.ronnyabraham.com:222/notes/org-media-sass.git _media/share/sass/org-media-sass

git add .gitmodules _media/share/sass/org-media-sass

git commit -m "Added org-media-sass submodule"

Generating CSS

From the _media/share/ directory:

sass --watch sass:css

This watches the sass/ folder and outputs compiled .css files into css/.

Cloning with submodules

git clone ssh://git@forgejo.ronnyabraham.com:222/your/main-project.git

cd main-project

git submodule update --init --recursive

Notes

  • Forgejo runs on port 222; ensure your SSH client allows connections on this port.
  • Fonts must be placed in _media/share/fonts.
  • Use sass --watch during development to keep CSS up-to-date.

Optional: SSH Config Shortcut

Add this to your ~/.ssh/config:

Host forgejo
HostName forgejo.ronnyabraham.com
Port 222
User git

Then you can use

git clone forgejo:notes/org-media-sass.git

git submodule add forgejo:notes/org-media-sass.git _media/share/sass/org-media-sass