split styles into base.css and layout.css
This commit is contained in:
parent
50bd5bbf4d
commit
76e37f0e75
3 changed files with 76 additions and 84 deletions
|
@ -96,86 +96,3 @@ ul.error {
|
||||||
ul.error li {
|
ul.error li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* td.right { */
|
|
||||||
/* float: none; */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
/* table.wrapper td.right { */
|
|
||||||
/* vertical-align: bottom; */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
|
|
||||||
/******************************
|
|
||||||
* Main Layout
|
|
||||||
******************************/
|
|
||||||
|
|
||||||
html, body, #container {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body > #container {
|
|
||||||
height: auto;
|
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#container {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 1000px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header {
|
|
||||||
border-bottom: 1px solid #000000;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#body {
|
|
||||||
padding-top: 15px;
|
|
||||||
padding-bottom: 5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#footer {
|
|
||||||
margin-top: -4em;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/******************************
|
|
||||||
* Header
|
|
||||||
******************************/
|
|
||||||
|
|
||||||
#header h1 {
|
|
||||||
margin: 0px 5px 10px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#login {
|
|
||||||
margin: 8px 20px auto auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#login a.username {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#user-menu {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#home-link {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header-links {
|
|
||||||
float: right;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main-menu {
|
|
||||||
border-top: 1px solid black;
|
|
||||||
clear: both;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main-menu li {
|
|
||||||
display: inline;
|
|
||||||
margin-right: 15px;
|
|
||||||
}
|
|
74
edbob/pyramid/static/css/layout.css
Normal file
74
edbob/pyramid/static/css/layout.css
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
|
||||||
|
/******************************
|
||||||
|
* Main Layout
|
||||||
|
******************************/
|
||||||
|
|
||||||
|
html, body, #container {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > #container {
|
||||||
|
height: auto;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 1000px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
border-bottom: 1px solid #000000;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-bottom: 5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
margin-top: -4em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************
|
||||||
|
* Header
|
||||||
|
******************************/
|
||||||
|
|
||||||
|
#header h1 {
|
||||||
|
margin: 0px 5px 10px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#login {
|
||||||
|
margin: 8px 20px auto auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#login a.username {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#user-menu {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#home-link {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header-links {
|
||||||
|
float: right;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-menu {
|
||||||
|
border-top: 1px solid black;
|
||||||
|
clear: both;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-menu li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
|
@ -18,7 +18,8 @@
|
||||||
${h.javascript_link(request.static_url('edbob.pyramid:static/js/jquery.autocomplete.js'))}
|
${h.javascript_link(request.static_url('edbob.pyramid:static/js/jquery.autocomplete.js'))}
|
||||||
${h.javascript_link(request.static_url('edbob.pyramid:static/js/edbob.js'))}
|
${h.javascript_link(request.static_url('edbob.pyramid:static/js/edbob.js'))}
|
||||||
|
|
||||||
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/edbob.css'))}
|
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/base.css'))}
|
||||||
|
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/layout.css'))}
|
||||||
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/grids.css'))}
|
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/grids.css'))}
|
||||||
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/filters.css'))}
|
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/filters.css'))}
|
||||||
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/forms.css'))}
|
${h.stylesheet_link(request.static_url('edbob.pyramid:static/css/forms.css'))}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue