16.4 Integrating Real CSS Content
We have a site-wide stylesheet, and we’re correctly linking to it. This is a great start, but it’s the tip of the iceberg in terms of real work. Modern websites need fairly complicated CSS, and (unless you’re an expert) it’s best to use a CSS framework to start off a new site.
Code Repository
To see all of the changes made here, you can view the code at commit 2eee3d5cd6. To see the visual changes to the website, navigate to https://site.django-unleashed.com/2eee3d5cd6.
I tend to prefer lightweight, mobile-friendly frameworks and will opt on this website to use the Skeleton CSS framework1 with the CSS normalize stylesheet.2 I add both of these to static/site/skeleton.css
and static/site/normalize.css
. I use ...
Get Django Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.