Inline link color change? (Wikipedia Portals)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Inline link color change? (Wikipedia Portals)

Bass, Joshua L
Ok, I am trying to duplicate the Portal usage as seen on Wikipedia. I
have successfully created the templates needed, and altered them for my
site. I am having a few minor problems.

1. When using Firefox, the heading colors change with the template as
they should. The header text remains black under IE.

2. I cannot change the 'edit' link color. It appears they are using a
<span> with an inline font color change, but it is not working on my
site for the links, only the text.

Link to Portal: http://www.350z-tech.com/zwiki/Portal:350Z

The layout code looks like this:

<!-- BEGIN -->

__NOEDITSECTION__ __NOTOC__

<!-- THIS IS TO SEPARATE SECTIONS -->

<div style="clear: both;"></div>

<!-- BEGIN THE TITLE BLOCK -->

<div style="position: relative;<!--
         -->border: 1px solid
{{{titleborder|{{{border|#ababab}}}}}};<!--
         -->background: {{{titlebackground|#bcbcbc}}};<!--
         -->color: {{{titleforeground|#000000}}};<!--
         -->padding: .1em;<!--
         -->text-align: center;<!--
         -->font-weight: bold;<!--
         -->font-size: 100%;<!--
         -->margin-bottom: 0px;<!--
         -->border-bottom: none;<!--
         -->-moz-border-radius-topleft:.7em;<!--
         -->-moz-border-radius-topright:.7em;"><!--
  --><span class="plainlinks" <!--
      -->style="position: absolute;<!--
             -->top: 1px;<!--
             -->right: 1px;<!--
             -->background: transparent;<!--
             -->border: 0px;<!--
             -->margin-bottom:0em;<!--
             -->font-size:80%;<!--
             -->font-weight: normal;"><!--
    --><font
color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|/}}}|action
=edit}} edit]</font>&nbsp;<!--
  --></span ><!--
  --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0;
padding:0; padding-bottom:.1em;"><font
color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2><!--
--></div>
<!-- END THE TITLE BLOCK -->

<!-- BEGIN THE CONTENT BLOCK -->

<div style="display: block;<!--
         -->position: relative;<!--
         -->border: 1px solid {{{border|#ababab}}};<!--
         -->vertical-align: top;<!--
         -->background: {{{background|#fefeef}}};<!--
         -->color: {{{foreground|#000000}}};<!--
         -->margin-bottom: 10px;<!--
         -->padding: .3em;<!--
         -->margin-top: 0em;<!--
         -->padding-top: 0em;<!--
         -->-moz-border-radius-bottomleft:.7em;<!--
         -->-moz-border-radius-bottomright:.7em;"><!--
-->

<!-- CONTENT GOES HERE -->

<div style="clear:both;"></div>
</div>

<!-- END THE CONTENT BLOCK -->

<!-- END -->

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Inline link color change? (Wikipedia Portals)

Bass, Joshua L
Perhaps a simpler question would be how to change a link color inline.
This code does not work:

<font color='#XXXXXX'>[[wiki link]]</font>


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Bass, Joshua L
Sent: Sunday, April 23, 2006 8:32 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Inline link color change? (Wikipedia Portals)

Ok, I am trying to duplicate the Portal usage as seen on Wikipedia. I
have successfully created the templates needed, and altered them for my
site. I am having a few minor problems.

1. When using Firefox, the heading colors change with the template as
they should. The header text remains black under IE.

2. I cannot change the 'edit' link color. It appears they are using a
<span> with an inline font color change, but it is not working on my
site for the links, only the text.

Link to Portal: http://www.350z-tech.com/zwiki/Portal:350Z

The layout code looks like this:

<!-- BEGIN -->

__NOEDITSECTION__ __NOTOC__

<!-- THIS IS TO SEPARATE SECTIONS -->

<div style="clear: both;"></div>

<!-- BEGIN THE TITLE BLOCK -->

<div style="position: relative;<!--
         -->border: 1px solid
{{{titleborder|{{{border|#ababab}}}}}};<!--
         -->background: {{{titlebackground|#bcbcbc}}};<!--
         -->color: {{{titleforeground|#000000}}};<!--
         -->padding: .1em;<!--
         -->text-align: center;<!--
         -->font-weight: bold;<!--
         -->font-size: 100%;<!--
         -->margin-bottom: 0px;<!--
         -->border-bottom: none;<!--
         -->-moz-border-radius-topleft:.7em;<!--
         -->-moz-border-radius-topright:.7em;"><!--
  --><span class="plainlinks" <!--
      -->style="position: absolute;<!--
             -->top: 1px;<!--
             -->right: 1px;<!--
             -->background: transparent;<!--
             -->border: 0px;<!--
             -->margin-bottom:0em;<!--
             -->font-size:80%;<!--
             -->font-weight: normal;"><!--
    --><font
color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|/}}}|action
=edit}} edit]</font>&nbsp;<!--
  --></span ><!--
  --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0;
padding:0; padding-bottom:.1em;"><font
color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2><!--
--></div>
<!-- END THE TITLE BLOCK -->

<!-- BEGIN THE CONTENT BLOCK -->

<div style="display: block;<!--
         -->position: relative;<!--
         -->border: 1px solid {{{border|#ababab}}};<!--
         -->vertical-align: top;<!--
         -->background: {{{background|#fefeef}}};<!--
         -->color: {{{foreground|#000000}}};<!--
         -->margin-bottom: 10px;<!--
         -->padding: .3em;<!--
         -->margin-top: 0em;<!--
         -->padding-top: 0em;<!--
         -->-moz-border-radius-bottomleft:.7em;<!--
         -->-moz-border-radius-bottomright:.7em;"><!--
-->

<!-- CONTENT GOES HERE -->

<div style="clear:both;"></div>
</div>

<!-- END THE CONTENT BLOCK -->

<!-- END -->

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Inline link color change? (Wikipedia Portals)

Filip Maljković
Bass, Joshua L wrote:

>Perhaps a simpler question would be how to change a link color inline.
>This code does not work:
>
><font color='#XXXXXX'>[[wiki link]]</font>
>
Try [[wiki link|<font color='#XXXXXX'>wiki link</font>]].
Filip
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Inline link color change? (Wikipedia Portals)

Bass, Joshua L
In reply to this post by Bass, Joshua L
Works!. Thanks!

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Filip Maljkovic
Sent: Sunday, April 23, 2006 10:11 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Inline link color change? (Wikipedia Portals)

Bass, Joshua L wrote:

>Perhaps a simpler question would be how to change a link color inline.
>This code does not work:
>
><font color='#XXXXXX'>[[wiki link]]</font>
>
Try [[wiki link|<font color='#XXXXXX'>wiki link</font>]].
Filip
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l