summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2006-08-10 16:00:31 +0000
committerDimitri Sokolyuk <demon@dim13.org>2006-08-10 16:00:31 +0000
commit5b04868a239c75efcee6da294e2d8b4d9940ddb2 (patch)
tree798e3a679a2f78e59a3aa3d61b8c8f7b08a92fa2
parent87321ba6b3131cc387e676f90a57f8985928b6e2 (diff)
smaller icons
-rw-r--r--math/math.c4
-rw-r--r--math/math.css4
2 files changed, 6 insertions, 2 deletions
diff --git a/math/math.c b/math/math.c
index d3f5ebd..ba0309d 100644
--- a/math/math.c
+++ b/math/math.c
@@ -160,7 +160,7 @@ pr_opts(struct meta *mp)
puts("<p class=\"options\">");
for (op = o; op->str != NULL; ++op) {
if (*op->str != '\0') {
- printf("<img alt=\"%s\" src=\"/%s/%s\" />\n", op->alt, "images", op->img);
+ printf("<img class=\"mime\" alt=\"%s\" src=\"/%s/%s\" />\n", op->alt, "images", op->img);
printf("<a href=\"%s?id=%u&amp;jump=%c\">%s</a>", sname, mp->id, op->trg, op->dsc);
puts("<br />");
}
@@ -198,7 +198,7 @@ pr_lang(char *lang)
if (lp->lang == NULL)
lp = language;
- printf("<img alt=\"%s\" src=\"/flags/%s\" />\n", lp->name, lp->img);
+ printf("<img class=\"lang\" alt=\"%s\" src=\"/flags/%s\" />\n", lp->name, lp->img);
return lp->name;
}
diff --git a/math/math.css b/math/math.css
index ad6a82c..9eadd16 100644
--- a/math/math.css
+++ b/math/math.css
@@ -36,6 +36,10 @@ body {
max-width: 200px;
}
+.lang, .mime {
+ max-height: 16px;
+}
+
input {
border: 1px solid #000000;
}