- Externe Links in nav und footer bekommen eine kleinere Grafik
This commit is contained in:
parent
50154ba6bf
commit
1b43889f7d
5 changed files with 37 additions and 27 deletions
|
@ -7,7 +7,7 @@ padding,margin Angaben: oben rechts unten links
|
|||
*/
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
color: #7fb945;
|
||||
color: #7fb945;
|
||||
}
|
||||
|
||||
/* Seiten-Ueberschrift */
|
||||
|
@ -19,35 +19,35 @@ h1 {
|
|||
}
|
||||
|
||||
a:link, a:visited {
|
||||
color: #7fb945;
|
||||
color: #7fb945;
|
||||
}
|
||||
a:hover {
|
||||
color: #3f8915;
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 1px;
|
||||
border: 1px solid silver;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
height: 1px;
|
||||
border: 1px solid silver;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.external {
|
||||
background: url(externallink.png) right center no-repeat;
|
||||
padding-right: 12px;
|
||||
background: url(externallink.png) right center no-repeat;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
#container {
|
||||
background: none;
|
||||
width: 100%;
|
||||
padding: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background: none;
|
||||
width: 100%;
|
||||
padding: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#container hr {
|
||||
width: 0px;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
@ -69,6 +69,11 @@ padding-right: 12px;
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
#nav .externalLink {
|
||||
background: url(externallinksmall.png) right center no-repeat;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#nav li {
|
||||
margin: 0;
|
||||
list-style-type: square;
|
||||
|
@ -89,27 +94,27 @@ padding-right: 12px;
|
|||
}
|
||||
|
||||
#main li {
|
||||
margin: 0.5em;
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
#main ul li {
|
||||
margin: 0.5em;
|
||||
list-style-type: square;
|
||||
list-style-position: inside;
|
||||
margin: 0.5em;
|
||||
list-style-type: square;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* Abstand von Bildern + Bildunterschrift zum folgenden Absatz */
|
||||
#main table caption {
|
||||
margin-bottom: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
#main img {
|
||||
margin-bottom: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
#main .externerLink {
|
||||
background: url(externallink.png) right center no-repeat;
|
||||
padding-right: 18px;
|
||||
#main .externalLink {
|
||||
background: url(externallink.png) right center no-repeat;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Zitate */
|
||||
|
@ -145,3 +150,8 @@ caption {
|
|||
color: #777777;
|
||||
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 |
BIN
cd-template/doku/externallinksmall.png
Normal file
BIN
cd-template/doku/externallinksmall.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 448 B |
|
@ -1,6 +1,6 @@
|
|||
<div id="footer_center">
|
||||
<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" title="Creative Commons Lizenz">Informationen zur Lizenz der CryptoCD</a>.
|
||||
<!-- /Creative Commons License -->
|
||||
|
|
|
@ -63,8 +63,8 @@ try:
|
|||
content = string.replace(content,'Ü','Ü')
|
||||
content = string.replace(content,'ß','ß')
|
||||
|
||||
# Links innerhalb von div="main" die zu externen Seiten verweisen, bekommen ein tag
|
||||
content = string.replace(content,'HREF="http:','class="externerLink" href="http:')
|
||||
# externe Links innerhalb von <div id="main"> erhalten eine class
|
||||
content = string.replace(content,'HREF="http:','class="externalLink" href="http:')
|
||||
|
||||
#all done, writing tuned files
|
||||
writeFile(content,sys.argv[1])
|
||||
|
|
Loading…
Reference in a new issue