Commit d83f0bf077f199b4a986d63d16a63e9b90964cd8
1 parent
04c44ca1
Exists in
master
and in
1 other branch
resize text and change position pagination
Showing
2 changed files
with
8 additions
and
8 deletions
Show diff stats
src/web/static/css/survey.css
@@ -87,11 +87,6 @@ float: left; | @@ -87,11 +87,6 @@ float: left; | ||
87 | margin: 5px; | 87 | margin: 5px; |
88 | } | 88 | } |
89 | 89 | ||
90 | -.content-pkg { | ||
91 | -font-size: 0.8em; | ||
92 | -line-height: 1.4; | ||
93 | -} | ||
94 | - | ||
95 | .content-pkg ul li { | 90 | .content-pkg ul li { |
96 | margin-bottom: 10px; | 91 | margin-bottom: 10px; |
97 | } | 92 | } |
@@ -160,6 +155,11 @@ background: white; | @@ -160,6 +155,11 @@ background: white; | ||
160 | float: right; | 155 | float: right; |
161 | } | 156 | } |
162 | 157 | ||
158 | +.panel-wrapper { | ||
159 | +font-size: 0.8em; | ||
160 | +line-height: 1.4; | ||
161 | +} | ||
162 | + | ||
163 | #panel-controls legend { | 163 | #panel-controls legend { |
164 | font-weight: bold; | 164 | font-weight: bold; |
165 | } | 165 | } |
src/web/templates/survey.html
@@ -62,15 +62,15 @@ button below. | @@ -62,15 +62,15 @@ button below. | ||
62 | $for pkg in pkg_details: | 62 | $for pkg in pkg_details: |
63 | <div class="panel"> | 63 | <div class="panel"> |
64 | <div class="panel-wrapper"> | 64 | <div class="panel-wrapper"> |
65 | - <p> | ||
66 | <div class="screenshot"> | 65 | <div class="screenshot"> |
67 | <a class="link-thumb" rel="facebox" | 66 | <a class="link-thumb" rel="facebox" |
68 | href="http://screenshots.debian.net/screenshot/$pkg['package']?.jpg" | 67 | href="http://screenshots.debian.net/screenshot/$pkg['package']?.jpg" |
69 | - title="Screenshot of package $pkg['package']"> | 68 | + title="Click to enlarge screenshot of package $pkg['package']" alt="Click to enlarge screenshot"> |
70 | <img height="70px" src="http://screenshots.debian.net/thumbnail/$pkg['package']" | 69 | <img height="70px" src="http://screenshots.debian.net/thumbnail/$pkg['package']" |
71 | alt="Screenshot $pkg['package']" /></a> | 70 | alt="Screenshot $pkg['package']" /></a> |
72 | </div><!-- screenshot --> | 71 | </div><!-- screenshot --> |
73 | - <h1 id="title_pkg">($pkg_details.index(pkg)/10) $pkg['package'] <br /> | 72 | + <h1 style="float: right;">($pkg_details.index(pkg)/10)</h1> |
73 | + <h1 id="title_pkg"> $pkg['package'] <br /> | ||
74 | <span>$pkg['description']</span></h1> | 74 | <span>$pkg['description']</span></h1> |
75 | </p> | 75 | </p> |
76 | <div id="panel-controls" class="glass"> | 76 | <div id="panel-controls" class="glass"> |