Move CSS embedded into pages to a separate file

This commit is contained in:
Sunil Mohan Adapa 2014-05-12 23:26:50 +05:30
parent 11e7dcdd07
commit d8441f8964
2 changed files with 50 additions and 41 deletions

View File

@ -40,49 +40,9 @@
<!-- Bootstrap base CSS -->
<link rel="stylesheet" href="{{ basehref }}/static/theme/css/bootstrap.min.css" />
<style type="text/css">
/* custom styles, load before bootstrap responsive styles */
body {
padding-top:60px;
padding-bottom:40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<!-- Bootstrap responsive CSS -->
<link rel="stylesheet" href="{{ basehref }}/static/theme/css/bootstrap-responsive.min.css" />
<style type="text/css">
/* custom styles, load after all bootstrap styles */
.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;
}
</style>
<link rel="stylesheet" href="{{ basehref }}/static/theme/css/plinth.css" />
<!-- CSS from previous Plinth template, not sure what to keep yet -->
{{ css|safe }}
<!-- End Plinth CSS -->

View File

@ -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;
}