mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Move CSS embedded into pages to a separate file
This commit is contained in:
parent
11e7dcdd07
commit
d8441f8964
@ -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 -->
|
||||
|
||||
49
themes/default/css/plinth.css
Normal file
49
themes/default/css/plinth.css
Normal 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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user