diff --git a/static/css/details.css b/static/css/details.css index 8cb4b41..e87a037 100644 --- a/static/css/details.css +++ b/static/css/details.css @@ -1,4 +1,34 @@ -table, th, td { - width: 100%; - border: 1px solid white; +h4 { + display: flex; + justify-content: center; + margin-bottom: 30px; +} + +.detailrow { + margin-bottom: 10px; +} + +.detailrow div { + width: 50%; + display: inline; +} + +.detailrow :first-child { + width: 30%; + font-size: 1.2em; + font-weight: bold; + float: left; +} + +.detailrow :last-child { + display: flex; + justify-content: right; + width: 70%; + float: right; + padding-right: 10px; +} + +#torrent #details { + border: 1px solid white; + padding: 10px; } diff --git a/templates/details.html b/templates/details.html index 7062b64..335215a 100644 --- a/templates/details.html +++ b/templates/details.html @@ -7,33 +7,37 @@ vim: ts=2 noexpandtab {% block content %} -