summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/css/screen.css15
-rw-r--r--gentoobrowse/xslt/base.xslt30
2 files changed, 26 insertions, 19 deletions
diff --git a/gentoobrowse/css/screen.css b/gentoobrowse/css/screen.css
index d8470b6..b70fa94 100644
--- a/gentoobrowse/css/screen.css
+++ b/gentoobrowse/css/screen.css
@@ -85,7 +85,7 @@ section.newebuilds {
margin: 0 0 2px 0;
}
.synctime {
- font-size: 9px;
+ font-size: 10px;
padding-left: 6px;
}
@@ -110,8 +110,9 @@ form.popup {
box-shadow: 8px 8px 8px #bbb;
border-radius: 10px;
}
-form.popup h1 {
+form.popup .title {
font-size: 14px;
+ font-weight: bold;
margin: 0px;
padding-bottom: 3px;
}
@@ -152,14 +153,18 @@ form.popup input {
display: block;
}
-p.disclaimer, ul.poweredby {
+p.disclaimer, .poweredby {
text-align: center;
color: gray;
- font-size: 9px;
+ font-size: 10px;
margin: 10px;
display: block;
}
-ul.poweredby li {
+.poweredby ul {
+ display: inline;
+ padding: 0;
+}
+.poweredby ul li {
display: inline;
padding: 0px 3px;
}
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt
index 88bea15..1f6dcd7 100644
--- a/gentoobrowse/xslt/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -37,7 +37,7 @@
</xsl:if>
</ul>
<form id="search" class="popup" action="/search" method="get">
- <h1>Site search</h1>
+ <div class="title">Site search</div>
<input type="search" name="criteria" placeholder="Search criteria" required="required" autofocus="autofocus">
<xsl:attribute name="value"><xsl:value-of select="/gentoo/project2:params/criteria" /></xsl:attribute>
</input>
@@ -45,7 +45,7 @@
<input type="submit" value="Cancel" class="submit" onclick="return hideForm('#search');" />
</form>
<form id="login" class="popup" action="/dologin" method="post">
- <h1>Login</h1>
+ <div class="title">Login</div>
<input type="text" name="username" placeholder="Username" required="required" autofocus="autofocus" />
<input type="password" name="password" placeholder="Password" required="required" />
<input type="submit" value="Login" class="submit" />
@@ -63,18 +63,20 @@
</article>
<footer>
<p class="disclaimer">This website is not an official Gentoo website. The name "Gentoo" and the "g" logo are trademarks of the Gentoo Foundation, Inc.</p>
- <ul class="poweredby">
- <li>Powered by</li>
- <xsl:for-each select="/gentoo/power/by">
- <li>
- <a>
- <xsl:attribute name="href"><xsl:value-of select="url" /></xsl:attribute>
- <xsl:value-of select="name" />
- </a>
- </li>
- </xsl:for-each>
- <li>Many thanks.</li>
- </ul>
+ <div class="poweredby">
+ Powered by
+ <ul>
+ <xsl:for-each select="/gentoo/power/by">
+ <li>
+ <a>
+ <xsl:attribute name="href"><xsl:value-of select="url" /></xsl:attribute>
+ <xsl:value-of select="name" />
+ </a>
+ </li>
+ </xsl:for-each>
+ </ul>
+ Many thanks.
+ </div>
</footer>
</body>
</html>