Difference between revisions of "User:Dclark/common.css"
m |
m |
||
Line 1: | Line 1: | ||
− | /* Styling links | + | /* Styling links for YouTube */ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
a:before { | a:before { | ||
font-family: 'FontAwesome'; | font-family: 'FontAwesome'; | ||
Line 20: | Line 14: | ||
a[href*="youtube"].external { | a[href*="youtube"].external { | ||
+ | background-image: none | ||
+ | } | ||
+ | |||
+ | /* Styling links for Reddit */ | ||
+ | a:before { | ||
+ | font-family: 'FontAwesome'; | ||
+ | color: #777; | ||
+ | display: inline-block; | ||
+ | text-decoration: none | ||
+ | } | ||
+ | |||
+ | a[href*="reddit"]:before { | ||
+ | content: "\f1a1"; | ||
+ | color: #2c4388; | ||
+ | margin: 0 4px 0 2px | ||
+ | } | ||
+ | |||
+ | a[href*="reddit"].external { | ||
background-image: none | background-image: none | ||
} | } |
Revision as of 16:59, April 12, 2020
/* Styling links for YouTube */ a:before { font-family: 'FontAwesome'; color: #777; display: inline-block; text-decoration: none } a[href*="youtube"]:before { content: "\f16a"; color: #2c4388; margin: 0 4px 0 2px } a[href*="youtube"].external { background-image: none } /* Styling links for Reddit */ a:before { font-family: 'FontAwesome'; color: #777; display: inline-block; text-decoration: none } a[href*="reddit"]:before { content: "\f1a1"; color: #2c4388; margin: 0 4px 0 2px } a[href*="reddit"].external { background-image: none }