Difference between revisions of "User:Dclark/common.css"
m (Blanked the page) |
m |
||
Line 1: | Line 1: | ||
+ | /* Styling links to YouTube */ | ||
+ | #bodyContent a[href ^="http://www.youtube.com"], | ||
+ | #article a[href ^="http://www.youtube.com"], | ||
+ | #mw_contentholder a[href ^="http://www.youtube.com"], | ||
+ | #bodyContent a[href ^="http://www.youtu.be"], | ||
+ | #article a[href ^="http://www.youtu.be"], | ||
+ | #mw_contentholder a[href ^="http://www.youtu.be"] | ||
+ | a:before { | ||
+ | font-family: 'FontAwesome'; | ||
+ | color: #777; | ||
+ | display: inline-block; | ||
+ | text-decoration: none | ||
+ | } | ||
+ | a[href*="youtube"]:before { | ||
+ | content: "\f166"; | ||
+ | color: #2c4388; | ||
+ | margin: 0 4px 0 2px | ||
+ | } | ||
+ | |||
+ | a[href*="youtube"].external { | ||
+ | background-image: none | ||
+ | } |
Revision as of 16:51, April 12, 2020
/* Styling links to YouTube */ #bodyContent a[href ^="http://www.youtube.com"], #article a[href ^="http://www.youtube.com"], #mw_contentholder a[href ^="http://www.youtube.com"], #bodyContent a[href ^="http://www.youtu.be"], #article a[href ^="http://www.youtu.be"], #mw_contentholder a[href ^="http://www.youtu.be"] a:before { font-family: 'FontAwesome'; color: #777; display: inline-block; text-decoration: none } a[href*="youtube"]:before { content: "\f166"; color: #2c4388; margin: 0 4px 0 2px } a[href*="youtube"].external { background-image: none }