Tawfiqh / UniExamNotes

Revision notes from uni finals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UniExamNotes

Revision notes from uni finals

index.html

The main page is just HTML in a file called index.html pointing at CSS in a file called BLUETIME.css

Sub pages

The rest of the site is generated from the markdown files. Notes are stored within their own markdown files within a folder of the same name.

e.g for Advanced Data Structures & Algorithms (ADSA): ADSA/ADSA.md

Makefile

Run the makefile with make to recompile the site.

This just calls makePage.sh for each of the folders.

makePage.sh

This just calls Gruber's markdown script (included) on each Markdown input, converting it into an HTML document with the same name and in the same location.

Each HTML file then has makeHTML.sh called on it.

makeHTML.sh

Pretty simple script, takes the input HTML file, uses sed to append a head (pretty horrible, should just use cat). This head points to the CSS REDTIME.css.

CSS

The HTML is pretty bare bones. All styling happens in the CSS.

The only interesting CSS part is

background-blend-mode: hard-light;

Played around with a bunch of different blend-modes generally an easy way to get good-contrast or interesting picture effects with minimal code.

About

Revision notes from uni finals


Languages

Language:HTML 65.1%Language:Perl 31.1%Language:CSS 3.1%Language:Shell 0.6%Language:Makefile 0.2%