MalteMagnussen / CA2-FrontEnd

FrontEnd repo for Course Assignment 2. Hold Krykke.
https://holdkrykke.surge.sh
0 stars 2 forks source link

Styling done #51

Closed Castau closed 4 years ago

Castau commented 4 years ago

Fixes #28 Fixes #23

Styling done - hope you like it - otherwise we can change it. Crappy quality gif! :D marginGIF2fixed

If you want to change the font, change it in the css-class (I am using googlefonts): image

All endpoints have been moved to the endpoints() function and page. I think it looks nicer. So they are all called here: image

If you want a new collapsable thing, then add another of these and change everything called "...Three" to the next number. So far we have four ind the Endpoint page and three in the home page: image

If you want new icons, just find one on fontawesome and replace the icon tag. Remember to copy all non-fontawesome classes so icon positions and colors stay the same.

Let me now if you want me to change anything.

The stylesheets are all placed at the bottom of the index.html because the javascript needs to run first (since some of the html is generated). And everything broke when I tried to get the bundle-thing to install the javascript for bootstrap, so instead it's just imported at the bottom of the index files also.