- Externe Links in nav und footer bekommen eine kleinere Grafik

This commit is contained in:
phil 2006-06-15 11:09:10 +00:00
parent 50154ba6bf
commit 1b43889f7d
5 changed files with 37 additions and 27 deletions

View file

@ -69,6 +69,11 @@ padding-right: 12px;
text-decoration: none; text-decoration: none;
} }
#nav .externalLink {
background: url(externallinksmall.png) right center no-repeat;
padding-right: 15px;
}
#nav li { #nav li {
margin: 0; margin: 0;
list-style-type: square; list-style-type: square;
@ -107,9 +112,9 @@ padding-right: 12px;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
#main .externerLink { #main .externalLink {
background: url(externallink.png) right center no-repeat; background: url(externallink.png) right center no-repeat;
padding-right: 18px; padding-right: 15px;
} }
/* Zitate */ /* Zitate */
@ -145,3 +150,8 @@ caption {
color: #777777; color: #777777;
font-size: small; font-size: small;
} }
#footer .externalLink {
background: url(externallinksmall.png) right center no-repeat;
padding-right: 15px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 B

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

View file

@ -1,6 +1,6 @@
<div id="footer_center"> <div id="footer_center">
<div id="footer"> <div id="footer">
CryptoCD v1.2.3 -- Projekthomepage: <a href="http://cryptocd.org/" title="CryptoCD Projektseite">cryptocd.org</a><br/><br/> CryptoCD v1.2.3 -- Projekthomepage: <a class="externalLink" href="http://cryptocd.org/" title="CryptoCD Projektseite">cryptocd.org</a><br/><br/>
<a href="copyleft.html"><img src="somerights20.png" width="88" height="31" border="0" alt="Creative Commons"></a><br/> <a href="copyleft.html"><img src="somerights20.png" width="88" height="31" border="0" alt="Creative Commons"></a><br/>
<a href="copyleft.html" title="Creative Commons Lizenz">Informationen zur Lizenz der CryptoCD</a>. <a href="copyleft.html" title="Creative Commons Lizenz">Informationen zur Lizenz der CryptoCD</a>.
<!-- /Creative Commons License --> <!-- /Creative Commons License -->

View file

@ -63,8 +63,8 @@ try:
content = string.replace(content,'Ü','&Uuml;') content = string.replace(content,'Ü','&Uuml;')
content = string.replace(content,'ß','&szlig;') content = string.replace(content,'ß','&szlig;')
# Links innerhalb von div="main" die zu externen Seiten verweisen, bekommen ein tag # externe Links innerhalb von <div id="main"> erhalten eine class
content = string.replace(content,'HREF="http:','class="externerLink" href="http:') content = string.replace(content,'HREF="http:','class="externalLink" href="http:')
#all done, writing tuned files #all done, writing tuned files
writeFile(content,sys.argv[1]) writeFile(content,sys.argv[1])