summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css38
-rw-r--r--templates/thought.html.j24
2 files changed, 31 insertions, 11 deletions
diff --git a/static/style.css b/static/style.css
index f4b782f..740ba7b 100644
--- a/static/style.css
+++ b/static/style.css
@@ -15,10 +15,15 @@ body {
footer {
padding: 300px 10px 5px 20px;
margin-bottom: 300px;
- font-size: xx-small;
+ font-size: x-small;
align-content: center;
}
+#footer_banners {
+ display: flex;
+ align-items: center;
+}
+
#headerflex {
display: flex;
}
@@ -60,22 +65,37 @@ nav a {
}
#the_title h1 {
- padding-left: 6px;
+ padding-left: 16px;
}
-#navbar {
- text-align: left;
- background-color: white;
+aside {
+ width: 23%;
+ padding-left: 15px;
+ margin-left: 15px;
+ float: right;
}
-#footer_banners {
- display: flex;
- align-items: center;
+#contents {
+ font-size: small;
+ padding-bottom: 2px;
+}
+
+#contents ul {
+ padding-left: 17px;
+ line-height: 4px;
+}
+
+#contents ul li {
+ list-style: none;
+}
+
+#navbar {
+ text-align: left;
}
#wrapper {
background-color: #f1e7d5;
- max-width: 974px;
+ max-width: 964px;
min-width: 850px;
margin: auto;
margin-top: -10px;
diff --git a/templates/thought.html.j2 b/templates/thought.html.j2
index 9310d85..3823805 100644
--- a/templates/thought.html.j2
+++ b/templates/thought.html.j2
@@ -3,12 +3,12 @@
<aside>
<h4>{{datetime}}</h4>
{% if contents_html != "" %}
- <h5>contents:</h5>
+ <h4>contents:</h4>
<div id="contents">
{{ contents_html|safe }}
</div>
{% endif %}
- <h5>this category:</h5>
+ <h4>this category:</h4>
<ul>
<li><b><a href="{{'/thoughts#'+category.replace(' ', '_')}}">{{category}}</a></b></li>
</ul>