diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-06-04 00:28:41 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-06-04 00:28:41 +0100 |
commit | fb2a806eb3da150e61e71c227b50ba325cff7aeb (patch) | |
tree | 53e070cfef2da48ba5d4a301b266f110337c6362 | |
parent | 8f33b1e7824a133271efa4091d2b4236dcd4adfb (diff) |
added custom css style to package pages
-rw-r--r-- | template.go | 8 |
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"> |