This commit introduces the foundational `base.html` template, setting up the common structure and styling for shared templates across the application.
- **New Features**
- Initial `base.html` template for consistent page structure.
- Integration of Tailwind CSS for modern and utility-first styling.
- Default application-wide dark theme enabled.
- Defined `content` block for inheritance by child templates.
- Configured a responsive container (`container mx-auto px-4`) for main content.
17 lines
386 B
HTML
17 lines
386 B
HTML
|
|
<!DOCTYPE html>
|
|
{% load tailwind_cli %}
|
|
<html lang="en" data-theme="dark">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>My Django App</title>
|
|
{% tailwind_css %}
|
|
</head>
|
|
<body class="bg-base-200">
|
|
<div class="container mx-auto px-4">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
</body>
|
|
</html>
|