summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-06-04 00:28:41 +0100
committerKatolaZ <katolaz@freaknet.org>2018-06-04 00:28:41 +0100
commitfb2a806eb3da150e61e71c227b50ba325cff7aeb (patch)
tree53e070cfef2da48ba5d4a301b266f110337c6362
parent8f33b1e7824a133271efa4091d2b4236dcd4adfb (diff)
added custom css style to package pages
-rw-r--r--template.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/template.go b/template.go
index 833dc5c..e9ff2be 100644
--- a/template.go
+++ b/template.go
@@ -15,16 +15,14 @@ code {font-weight: normal;
<title>Devuan Packages Information -- {{.Name}}-{{.Version}}</title>
-<!--
<style type="text/css">
body {
margin-top: 10px;
line-height:1.6;
- font-size:20px;
}
div.pkgname{
- font-size: 150%;
+ font-size: 130%;
margin-top: 40px;
margin-left: 40px;
}
@@ -41,7 +39,6 @@ div.description{
margin-left: 20px;
margin-top: 20px;
margin-bottom: 20px;
- border-bottom: 2px solid #aaaaaa;
}
div.long_description{
@@ -75,7 +72,6 @@ div.provides{
}
</style>
--->
<body>
@@ -127,6 +123,8 @@ Search Devuan Packages for: <input type="text" name="search"/> in release
</form>
</div>
+<hr>
+
<div class="pkgname">{{.Name}} {{.Version}} [{{.Section}} - {{.Priority}}]</div>
<div class="pkg_suite">[Origin: {{.Origin}} - {{.Suite}} - {{.Component}}]</div>
<div class="description">