summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-05-03 14:06:05 -0500
committerluxagraf <sng@luxagraf.net>2019-05-03 14:06:05 -0500
commit9bb68ad259c061bdd39911edaf592f03a718f91b (patch)
treea44d961228799b47ba0e8af96620e93e56134450
parente5bc8411cc823d497cd26730a0636e82ed877312 (diff)
fixed some design issues
-rw-r--r--design/sass/_content.scss11
-rw-r--r--design/templates/admin/index.html38
-rw-r--r--design/templates/homepage.html3
3 files changed, 13 insertions, 39 deletions
diff --git a/design/sass/_content.scss b/design/sass/_content.scss
index 598d63e..e4cfb0e 100644
--- a/design/sass/_content.scss
+++ b/design/sass/_content.scss
@@ -18,7 +18,6 @@
justify-content: center ;
}
}
-
article ul {
list-style-type: none;
@include fontsize(22);
@@ -31,7 +30,14 @@ article ul {
position: absolute;
}
}
-
+.archive article:after {
+ display: block;
+ content: "";
+ margin: 4rem auto;
+ padding-top: 1rem;
+ border-top: 5px double lighten($body_font_color, 75);
+ width: 30%;
+}
.archive-list {
@include constrain_narrow;
text-align: left;
@@ -60,7 +66,6 @@ article ul {
border-top: 2px solid darken($body_color, 8);
float: left;
}
-
.star {
color: transparent;
text-shadow: 0 0 0 lighten($body_font_color, 50);
diff --git a/design/templates/admin/index.html b/design/templates/admin/index.html
index fc857f2..3d6971b 100644
--- a/design/templates/admin/index.html
+++ b/design/templates/admin/index.html
@@ -30,41 +30,11 @@ td, th {
<table>
<caption><a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">Frequently Used</a></caption>
<tr>
- <th scope="row"><a href="/admin/django_comments/comment/">moderate comments</a></th>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/jrnl/entry/">jrnl</a></th>
- <td><a href="/admin/jrnl/entry/add/" class="addlink">{% trans 'Add' %}</a></td></tr>
- <tr>
- <th scope="row"><a href="/admin/photos/luximage/">photos</a></th>
- <td><a href="/admin/photos/luximage/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/sightings/sighting/">sightings</a></th>
- <td><a href="/admin/sightings/sighting/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/fieldnotes/fieldnote/">fieldnotes</a></th>
- <td><a href="/admin/fieldnotes/fieldnote/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/locations/checkin/">check ins</a></th>
- <td><a href="/admin/locations/checkin/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/locations/location/">locations</a></th>
- <td><a href="/admin/locations/location/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/sightings/ap/">dialogue</a></th>
- <td><a href="/admin/sightings/ap/add/" class="addlink">Add</a></td>
- </tr>
- <tr>
- <th scope="row"><a href="/admin/locations/campsite/">campsite</a></th>
- <td><a href="/admin/locations/campsite/add/" class="addlink">Add</a></td>
- </tr>
+ <th scope="row"><a href="/admin/blog/entry/">jrnl</a></th>
+ <td><a href="/admin/blog/entry/add/" class="addlink">{% trans 'Add' %}</a></td></tr>
<tr>
- <th scope="row"><a href="/admin/jrnl/home/1/change/">homepage</a></th>
+ <th scope="row"><a href="/admin/links/link/">links</a></th>
+ <td><a href="/admin/links/link/add/" class="addlink">Add</a></td>
</tr>
<tr>
<th scope="row"><a href="/admin/pages/page/">pages</a></th>
diff --git a/design/templates/homepage.html b/design/templates/homepage.html
index ca8d3b5..72cbbd1 100644
--- a/design/templates/homepage.html
+++ b/design/templates/homepage.html
@@ -13,10 +13,9 @@
{% for obj in object_list %}
<article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<span class="date dt-published hed-tertiary">{{obj.pub_date|date:"F d, Y"}}</span>
- <h3 class="p-name hed-primary"><a class="u-repost-of" href="{{obj.link_url}}" title="Read the original story">{{obj.title|safe|smartypants|widont}}</a> &nbsp;<a class="hed-star u-url" href="{{obj.get_absolute_url}}">&#9733;</a></h3>
+ <h3 class="p-name hed-primary"><a class="u-repost-of" href="{{obj.link_url}}" title="Read the original story">{{obj.title|safe|smartypants|widont}}</a> &nbsp;<a class="star u-url" href="{{obj.get_absolute_url}}">&#9733;</a></h3>
<div class="p-summary">{{obj.body_html|safe|smartypants}}</div>
</article>
-{% if forloop.last %}{%else%}<hr />{%endif%}
{% endfor %}
</div>
{% endblock %}