Ticket #17231: base_site.html

File base_site.html, 951 bytes (added by benjaoming, 13 years ago)

Put this in your templates/admin/ folder to overwrite default template with some new style...

Line 
1{% extends "admin/base.html" %}
2{% load i18n %}
3
4{% block extrahead %}
5 <style type="text/css">
6 body {
7 font-family:"Trebuchet MS",sans-serif;
8 }
9 #header {
10 background:#092e20;
11 border-bottom: 10px solid #E0FFB8;
12 }
13 thead th,
14 tfoot td,
15 {
16 background: #E0FFB8 !important;
17 }
18 .module h2, .module caption, .inline-group h2
19 {
20 background: #E0FFB8 !important;
21 }
22
23 .module caption a
24 {
25 color: #666 !important;
26 font-size: 18px;
27 }
28
29 table.orderable tbody tr td:first-child {
30 background: #E0FFB8 !important;
31 }
32
33 h1#site-name
34 {
35 font-size: 24px;
36 font-weight: bold;
37 color: #FFF;
38 }
39 </style>
40{% endblock %}
41
42{% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %}
43
44{% block branding %}
45<h1 id="site-name">{% trans 'Django administration' %}</h1>
46{% endblock %}
47
48{% block nav-global %}{% endblock %}
49
Back to Top