From d8441f896436261af59636e97c6332822385730f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 12 May 2014 23:26:50 +0530 Subject: [PATCH] Move CSS embedded into pages to a separate file --- templates/base.html | 42 +----------------------------- themes/default/css/plinth.css | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 41 deletions(-) create mode 100644 themes/default/css/plinth.css diff --git a/templates/base.html b/templates/base.html index d9a5b1d0c..f8abfc20a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,49 +40,9 @@ - - + {{ css|safe }} diff --git a/themes/default/css/plinth.css b/themes/default/css/plinth.css new file mode 100644 index 000000000..ce817d11f --- /dev/null +++ b/themes/default/css/plinth.css @@ -0,0 +1,49 @@ +@media (min-width: 979px) { + body { + padding-top: 60px; + } +} + +body { + padding-bottom: 40px; +} + +.sidebar-nav { + padding: 9px 0; +} + +.super-hero { + margin-top: 25px; +} + +.logo-top { + float: left; + padding-right: 5px; +} + +.brand { + padding-top: 8px; +} + +.white { + color: #fff; +} + +.error-large { + font-size: 1.2em; + padding: 10px; +} + +.main-graphic { + float: right; + padding: 25px; +} + +.nav-icon { + margin-right: 8px; +} + +.sidenav-icon { + margin-right: 8px; + padding-right: 5px; +}