some style
This commit is contained in:
parent
99c07d0c09
commit
316e8f787e
|
@ -29,8 +29,29 @@ body {
|
|||
h1 {
|
||||
font-size: 220%;
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
h4 {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
margin-left: 8px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
h3 {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#essay, #essayAbstract, #authorBio {
|
||||
margin-left: 8px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
#authorBio p {
|
||||
margin: 0;
|
||||
}
|
||||
#loading {
|
||||
position: fixed;
|
||||
right: 0px;
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
{{ text.title }}
|
||||
</h1>
|
||||
<h4>
|
||||
- <a href="#authorbio">{{ text.author }}</a>
|
||||
by <a href="#bio">{{ text.author }}</a>
|
||||
</h4>
|
||||
<div id="essayAbstract">
|
||||
<p>
|
||||
|
@ -108,11 +108,9 @@
|
|||
{{ text.html }}
|
||||
</div>
|
||||
<div id="authorBio">
|
||||
<a name="authorbio"></a>
|
||||
<h3>About the Author:</h3>
|
||||
<p>
|
||||
<a name="bio"></a>
|
||||
<h3>About {{ text.author }}</h3>
|
||||
{{ text.author_bio }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,17 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<title>Padma essays</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
|
||||
<style>
|
||||
p {
|
||||
margin-top: 8px;
|
||||
}
|
||||
h1 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Padma essays</h1>
|
||||
{% for t in texts %}
|
||||
<p>
|
||||
<div>
|
||||
<a href="{{t.get_absolute_url}}" title="{{t.title}}">{{ t.title }}</a><br />
|
||||
by {{ t.author }}<br />
|
||||
{% autoescape off %}
|
||||
{{ t.abstract }}
|
||||
{% endautoescape %}
|
||||
</p>
|
||||
by {{ t.author }}
|
||||
{{ t.abstract|safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
0
padmaTexts/texts/__init__.py
Normal file
0
padmaTexts/texts/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user