mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Refactor templates for better top nav customization, refs #540
This commit is contained in:
parent
16fdabda97
commit
a18e0964ec
7 changed files with 69 additions and 29 deletions
|
|
@ -1,5 +1,6 @@
|
|||
body {
|
||||
margin: 0 1em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Helvetica Neue", sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
|
|
@ -8,6 +9,9 @@ body {
|
|||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
.bd {
|
||||
margin: 0 1em;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
|
@ -82,9 +86,21 @@ table a:visited {
|
|||
|
||||
.hd {
|
||||
border-bottom: 2px solid #ccc;
|
||||
padding: 0.2em 1em;
|
||||
background-color: #eee;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.hd p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.hd .crumbs {
|
||||
float: left;
|
||||
}
|
||||
.ft {
|
||||
margin: 1em 0;
|
||||
padding: 0.5em 1em 0 1em;
|
||||
border-top: 1px solid #ccc;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue