version 1.1, 2012/08/27 14:23:59
|
version 1.3, 2012/08/28 08:27:25
|
Line 5
|
Line 5
|
# can do whatever you want with this stuff. If we meet some day, and you think |
# can do whatever you want with this stuff. If we meet some day, and you think |
# this stuff is worth it, you can buy me a beer in return Aron Schlesinger |
# this stuff is worth it, you can buy me a beer in return Aron Schlesinger |
# |
# |
# $Paefchen$ | # $Paefchen: scripts/pgallery/src/pgallery.sh,v 1.2 2012/08/28 08:15:13 as Exp $ |
# |
# |
|
|
ARG_TITLE="PGallery" |
ARG_TITLE="PGallery" |
Line 140 HLaErzv/wD99ABmjNZk0AAAAABJRU5ErkJggg==");
|
Line 140 HLaErzv/wD99ABmjNZk0AAAAABJRU5ErkJggg==");
|
margin: 10px auto; |
margin: 10px auto; |
font-family: Geneva,Arial,sans-serif; |
font-family: Geneva,Arial,sans-serif; |
font-size: 12px; |
font-size: 12px; |
|
text-shadow: 1px 1px 1px #000; |
} |
} |
div.tn { |
div.tn { |
float: left; |
float: left; |
Line 177 div.over {
|
Line 178 div.over {
|
} |
} |
div.over a.left, div.over a.right { |
div.over a.left, div.over a.right { |
display: block; |
display: block; |
|
/* shell fuck of: missing CTLARI (shouldn't happen) - WTF?! */ |
|
width: $(($ARG_BIGSIZE / 2))px; |
position: relative; |
position: relative; |
top: 1px; |
top: 1px; |
left: 1px; |
left: 1px; |
background-repeat: no-repeat; |
background-repeat: no-repeat; |
width: $(($ARG_BIGSIZE / 2))px; |
|
} |
} |
div.over a.left:hover { |
div.over a.left:hover { |
background-position: 5% center; |
background-position: 5% center; |
Line 231 div.box div.c {
|
Line 233 div.box div.c {
|
line-height: 25px; |
line-height: 25px; |
position: relative; |
position: relative; |
left: 4px; |
left: 4px; |
text-shadow: 1px 1px 1px #000; |
|
} |
} |
body > div.c { |
body > div.c { |
text-align: center; |
text-align: center; |
Line 240 body > div.c {
|
Line 241 body > div.c {
|
height: 25px; |
height: 25px; |
line-height: 25px; |
line-height: 25px; |
position: relative; |
position: relative; |
text-shadow: 1px 1px 1px #000; |
|
margin: 4px; |
margin: 4px; |
} |
} |
a img { |
a img { |
Line 262 div.nav a:hover {
|
Line 262 div.nav a:hover {
|
div.nav div.top { |
div.nav div.top { |
position: absolute; |
position: absolute; |
text-align: center; |
text-align: center; |
width: ${ARG_BIGSIZE}px; | width: $(($ARG_BIGSIZE - 100))px; |
| margin: 0 50px; |
} |
} |
.left { |
.left { |
float: left; |
float: left; |
Line 322 html_img()
|
Line 323 html_img()
|
linkb=$3 |
linkb=$3 |
linkn=$4 |
linkn=$4 |
|
|
height=$($BIN_IMGINFO -f $img | awk '{print $4}') | info=$($BIN_IMGINFO -f $img) |
| width=$(echo $info | awk '{print $3}') |
| height=$(echo $info | awk '{print $4}') |
|
|
if [ "$linkb" != "" ] |
if [ "$linkb" != "" ] |
then |
then |
Line 339 html_img()
|
Line 342 html_img()
|
cat <<HTML |
cat <<HTML |
<div class="box"> |
<div class="box"> |
<div class="nav"> |
<div class="nav"> |
<div class="left">$hlinkb</div> |
|
<div class="top"><a href="$link">Index</a></div> |
<div class="top"><a href="$link">Index</a></div> |
|
<div class="left">$hlinkb</div> |
<div class="right">$hlinkn</div> |
<div class="right">$hlinkn</div> |
</div> |
</div> |
<div class="big"> |
<div class="big"> |
<img src="$img" /> | <img alt="$img" width="$width" height="$height" src="$img" /> |
</div> |
</div> |
<div class="c"> |
<div class="c"> |
$ARG_TITLE $ARG_COPYRIGHT |
$ARG_TITLE $ARG_COPYRIGHT |