Skip to content

Instantly share code, notes, and snippets.

@ryan-blunden
Last active December 29, 2015 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryan-blunden/7623719 to your computer and use it in GitHub Desktop.
Save ryan-blunden/7623719 to your computer and use it in GitHub Desktop.
Super light-weight customization of the default Django admin styles for a more modern and better looking admin.
/*
Django Admin Theme
Ryan Blunden
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS
IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/
#header {
background-color: #333940;
border-bottom: solid 3px #999;
}
#branding h1 {
color: #FFF;
}
.module h2, .module caption, .inline-group h2 {
background: #ccc url("/static/admin/img/nav-bg.gif") bottom left repeat-x;
color: #333940;
}
a.section:link, a.section:visited {
color: #666;
}
/*___ FORMS ___*/
/* Make textareas that house "text" type content vertically larger */
#id_content {
height: 300px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment