- 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 {
|
h1, h2, h3, h4 {
|
||||||
color: #7fb945;
|
color: #7fb945;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Seiten-Ueberschrift */
|
/* Seiten-Ueberschrift */
|
||||||
|
@ -19,35 +19,35 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link, a:visited {
|
a:link, a:visited {
|
||||||
color: #7fb945;
|
color: #7fb945;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #3f8915;
|
color: #3f8915;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
height: 1px;
|
height: 1px;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.external {
|
.external {
|
||||||
background: url(externallink.png) right center no-repeat;
|
background: url(externallink.png) right center no-repeat;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
background: none;
|
background: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container hr {
|
#container hr {
|
||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Navigation */
|
/* Navigation */
|
||||||
|
@ -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;
|
||||||
|
@ -89,27 +94,27 @@ padding-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main li {
|
#main li {
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main ul li {
|
#main ul li {
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
list-style-type: square;
|
list-style-type: square;
|
||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Abstand von Bildern + Bildunterschrift zum folgenden Absatz */
|
/* Abstand von Bildern + Bildunterschrift zum folgenden Absatz */
|
||||||
#main table caption {
|
#main table caption {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main img {
|
#main img {
|
||||||
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 |
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_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 -->
|
||||||
|
|
|
@ -63,8 +63,8 @@ try:
|
||||||
content = string.replace(content,'Ü','Ü')
|
content = string.replace(content,'Ü','Ü')
|
||||||
content = string.replace(content,'ß','ß')
|
content = string.replace(content,'ß','ß')
|
||||||
|
|
||||||
# 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])
|
||||||
|
|
Loading…
Reference in a new issue