Transform hard-coded theme into Jinja template
This commit is contained in:
@@ -1,89 +0,0 @@
|
||||
body {
|
||||
text-rendering: optimizeLegibility;
|
||||
font: 1.2rem/1.0 Lato,sans-serif;
|
||||
background-color: rgb(245, 245, 245);
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 56rem;
|
||||
margin: 1rem auto 0 auto;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
margin-top: 2px;
|
||||
float: left;
|
||||
width: 8rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sidebar img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sidebar p {
|
||||
margin-top: 1.1875rem;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
display: block;
|
||||
}
|
||||
.sidebar a:hover {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.topbar ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.topbar li {
|
||||
display: inline;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.toc {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.toc li {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.content {
|
||||
max-width: 36rem;
|
||||
}
|
||||
|
||||
.content p {
|
||||
font: 1.2rem/1.5 Apparatus SIL,serif;
|
||||
}
|
||||
|
||||
.content a {
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
|
||||
@media screen and (min-width:36rem) {
|
||||
.content {
|
||||
margin-left: 10rem;
|
||||
}
|
||||
.topbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:36rem) {
|
||||
.sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user