វិគីភីឌា:Link color
In Wikipedia, the color of a link shows the status of the corresponding page. The colors are the following:
The color values are as follows. The boxes may appear darker than text of the same color would appear.
The actual color will vary slightly according to the operating system, settings and browser. Custom link colorsMake internal links appear a different color for everyoneYou can turn links a different color like so: *[[example|<span style="color:green;">This page exists.</span>]] *[[exampl|<span style="color:green;">This page does not exist.</span>]] Which renders as: *This page exists. *ទំព័រនេះមិនមានទេ។ Or, if you desire existence checking you can try: *[[example|{{#ifexist: example|<span style="color:green;">This page exists.</span>|ទំព័រនេះមិនមានទេ។}}]] *[[exampl|{{#ifexist: exampl|<span style="color:green;">This page exists.</span>|ទំព័រនេះមិនមានទេ។}}]] Which renders as: *ទំព័រនេះមិនមានទេ។ *ទំព័រនេះមិនមានទេ។ Making links appear a different color just for youYou can also customize link colors by editing your CSS file. The standard link selectors are:
Colors are defined by hexadecimal characters: see web colors. /* standard link colors */
a:link { color: #0000FF; } /* normal unvisited links */
a:link:visited { color: #7F007F; } /* visited links */
a:link:active { color: #FF0000; } /* active links */
a:link.new { color: #FF0000; } /* new links */
a:link.interwiki { color: #3366BB; } /* interwiki links */
a:link.external { color: #3366BB; } /* external links */
a:link.stub { color: #772233; } /* hovered links */
a:link {color: #FF0000}
a:visited {color: #00FF00}
a:hover {color: #FF00FF}
a:active {color: #0000FF}
កំណត់ចំណាំ:
Show redirects as green links: a.mw-redirect {color:#308050}
a.mw-redirect:visited {color:#3070A0}
#bodyContent a.external {color: #008000}
ការផ្លាស់ប្តូរផ្សេងទៀតអ្នកក៏អាចធ្វើទ្រង់ទ្រាយអត្ថបទតាមវិធីផ្សេងទៀតផងដែរ។
This allows formatting such as underlines. For example: a:link {color: #000000; text-decoration: underline; }
Possible values are:
This will change the link font: a:link {font-family: monospace}
|
Portal di Ensiklopedia Dunia