[Blends-commit] [SCM] website branch, master, updated. db3508edc929087b4baeaf78b2d923315c59fd7c
Ole Streicher
debian at liska.ath.cx
Wed Dec 9 11:01:04 UTC 2015
The following commit has been merged in the master branch:
commit 1b3557cb97267081f2effce6c074ba6e7ee0f1bb
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Dec 9 10:46:35 2015 +0100
make package description css more selective
diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index 08085e1..d63da93 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -13,7 +13,7 @@
<link href="http://blends.debian.org/css/blends.css" rel="stylesheet"
type="text/css" />
<style type="text/css">
-// The tooltip is from http://www.menucool.com/tooltip/css-tooltip
+// <!--
a.tooltip { }
a.tooltip:hover {
@@ -57,15 +57,15 @@ tr:first-child td.fullwidth {
.pkgdesc-full td {
border-top-style: none;
}
-.pkgdesc-full p,ol,ul,pre {
+.pkgdesc-full h3 {
+ margin: 1em;
+}
+dl.pkgdesc > dd p,ol,ul,pre {
margin-top:0;
margin-bottom: 0;
padding-bottom: 0.5em;
}
-.pkgdesc-full h3 {
- margin: 1em;
-}
-.pkgdesc-full dt {
+dl.pkgdesc > dt {
float: left;
font-weight: bold;
margin-top: 0;
@@ -75,25 +75,25 @@ tr:first-child td.fullwidth {
padding-top: 0.5em;
width: 150px;
}
-.pkgdesc-full dt:after {
+dl.pkgdesc > dt:after {
content: ':';
}
-.pkgdesc-full dt.screenshot:after {
+dl.pkgdesc > dt.screenshot:after {
content: '';
}
-.pkgdesc-full dt.screenshot img {
+dl.pkgdesc > dt.screenshot img {
width: 100%;
}
-.pkgdesc-full dd {
+dl.pkgdesc > dd {
margin-left: 2em;
padding-left: 150px;
padding-bottom: 0.5em;
padding-top: 0.5em;
}
-.pkgdesc-full dd::after {
+dl.pkgdesc > dd::after {
clear: left;
- content: "";
+ content: '';
display: block;
}
.pkgdesc-short td:not(:last-child) {
@@ -123,10 +123,11 @@ a.editlink {
text-decoration: none;
padding-right: 0.5em;
}
+// -->
</style>
<link rel="shortcut icon" href="http://www.debian.org/favicon.ico" />
<script type="text/javascript">
-// <![CDATA[
+// <!--
function toggle_visibility(id) {
var element = document.getElementById(id);
if (element) {
@@ -148,7 +149,7 @@ function show_fulldesc(hash) {
}
}
}
-// ]]>
+// -->
</script>
</head>
<body onload="show_fulldesc(window.location.hash)">
@@ -300,7 +301,7 @@ function show_fulldesc(hash) {
<py:otherwise>${project.desc['en']['short']}</py:otherwise>
</py:choose>
</h3>
- <dl>
+ <dl class="pkgdesc">
<py:choose>
<py:when test="project.icon">
<dt class="screenshot">
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list