From: Steinar H. Gunderson
Date: Wed, 11 Apr 2007 23:49:12 +0000 (+0200)
Subject: Tweak the CSS and stuff beyond repair.
X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f7472fe03713e4f68557790a22dc7ce7c471d01a;hp=0cd010b6dd726be485e7dffff70cfe1914b56950;p=pr0n
Tweak the CSS and stuff beyond repair.
---
diff --git a/files/pr0n.css b/files/pr0n.css
index e5841c2..f49ecca 100644
--- a/files/pr0n.css
+++ b/files/pr0n.css
@@ -12,15 +12,35 @@ a {
}
h2.date {
font-size: 1em;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+h1 {
+ margin-bottom: 0;
}
img {
border: 1px solid black;
}
h2 {
- display: inline;
+ margin-bottom: 0.5em;
+ margin-top: 0.5em;
+}
+p, h2.date {
+ padding-left: 2em;
+}
+p {
+ margin: 0;
+}
+ul {
+ margin-left: 1em;
}
.fsfromhere {
- font-size: smaller;
+ font-size: small;
+ font-weight: normal;
display: inline;
margin-left: 1em;
+ padding-left: 0;
+}
+* {
+/* border: 1px solid red; */
}
diff --git a/perl/Sesse/pr0n/Index.pm b/perl/Sesse/pr0n/Index.pm
index a00cadf..b5bc5f1 100644
--- a/perl/Sesse/pr0n/Index.pm
+++ b/perl/Sesse/pr0n/Index.pm
@@ -222,8 +222,10 @@ sub handler {
if ($takenby ne $lastupl) {
$lastupl = $takenby;
+ $r->print(" ");
Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl });
print_fullscreen_fromhere($r, $event, \%settings, \%defsettings, $img_num);
+ $r->print("
\n");
}
if ($ref->{'width'} != -1 && $ref->{'height'} != -1) {
my $width = $ref->{'width'};
@@ -268,8 +270,10 @@ sub handler {
if ($takenby ne $lastupl) {
$lastupl = $takenby;
+ $r->print(" ");
Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl });
print_fullscreen_fromhere($r, $event, \%settings, \%defsettings, $img_num);
+ $r->print("
\n");
}
if ($ref->{'width'} != -1 && $ref->{'height'} != -1) {
my $width = $ref->{'width'};
@@ -308,9 +312,11 @@ sub handler {
if ($takenby ne $lastupl) {
$r->print("
\n\n") if ($lastupl ne "");
$lastupl = $takenby;
+ $r->print(" ");
Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl });
print_fullscreen_fromhere($r, $event, \%settings, \%defsettings, $img_num);
- $r->print("
\n");
+ $r->print("\n");
+ $r->print("
\n");
}
if ($ref->{'width'} != -1 && $ref->{'height'} != -1) {
my $width = $ref->{'width'};
diff --git a/templates/bilder.knatten.com/submittedby b/templates/bilder.knatten.com/submittedby
index 6d6c8aa..fd7ddd9 100644
--- a/templates/bilder.knatten.com/submittedby
+++ b/templates/bilder.knatten.com/submittedby
@@ -1 +1 @@
-
Tatt av: %AUTHOR%
+Tatt av: %AUTHOR%
diff --git a/templates/default/submittedby b/templates/default/submittedby
index 7460ee7..b27c685 100644
--- a/templates/default/submittedby
+++ b/templates/default/submittedby
@@ -1 +1 @@
- Taken by: %AUTHOR%
+Taken by: %AUTHOR%
diff --git a/templates/images.tg05.gathering.org/submittedby b/templates/images.tg05.gathering.org/submittedby
index 7460ee7..b27c685 100644
--- a/templates/images.tg05.gathering.org/submittedby
+++ b/templates/images.tg05.gathering.org/submittedby
@@ -1 +1 @@
- Taken by: %AUTHOR%
+Taken by: %AUTHOR%
diff --git a/templates/itk-bilder.samfundet.no/submittedby b/templates/itk-bilder.samfundet.no/submittedby
index 6d6c8aa..fd7ddd9 100644
--- a/templates/itk-bilder.samfundet.no/submittedby
+++ b/templates/itk-bilder.samfundet.no/submittedby
@@ -1 +1 @@
- Tatt av: %AUTHOR%
+Tatt av: %AUTHOR%
diff --git a/templates/skoyen.bilder.knatten.com/submittedby b/templates/skoyen.bilder.knatten.com/submittedby
index 6d6c8aa..fd7ddd9 100644
--- a/templates/skoyen.bilder.knatten.com/submittedby
+++ b/templates/skoyen.bilder.knatten.com/submittedby
@@ -1 +1 @@
- Tatt av: %AUTHOR%
+Tatt av: %AUTHOR%
diff --git a/templates/skoyen.bildereks.knatten.com/submittedby b/templates/skoyen.bildereks.knatten.com/submittedby
index 6d6c8aa..fd7ddd9 100644
--- a/templates/skoyen.bildereks.knatten.com/submittedby
+++ b/templates/skoyen.bildereks.knatten.com/submittedby
@@ -1 +1 @@
- Tatt av: %AUTHOR%
+Tatt av: %AUTHOR%