Make WordPress Core

Changeset 30212


Ignore:
Timestamp:
11/03/2014 07:01:53 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: add a fallback icon for social links where we don't have an icon

Props iamtakashi, fixes #30148

Location:
trunk/src/wp-content/themes/twentyfifteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/readme.txt

    r30046 r30212  
    7474* YouTube
    7575
     76Social networks that aren't currently supported will be indicated by a circular icon with a diagonal line through the center.
     77
    7678= How do I add a description for my menu link in navigation? =
    7779
  • trunk/src/wp-content/themes/twentyfifteen/style.css

    r30208 r30212  
    769769
    770770.social-navigation a:before {
     771    content: "\f446";
    771772    font-size: 24px;
     773    opacity: 0.3;
    772774    position: absolute;
    773775    top: 0;
     
    777779.social-navigation a[href$="/feed/"]:before {
    778780    content: "\f413";
     781    opacity: 1;
    779782}
    780783
    781784.social-navigation a[href*="codepen.io"]:before {
    782785    content: "\f216";
     786    opacity: 1;
    783787}
    784788
    785789.social-navigation a[href*="digg.com"]:before {
    786790    content: "\f221";
     791    opacity: 1;
    787792}
    788793
    789794.social-navigation a[href*="dribbble.com"]:before {
    790795    content: "\f201";
     796    opacity: 1;
    791797}
    792798
    793799.social-navigation a[href*="dropbox.com"]:before {
    794800    content: "\f225";
     801    opacity: 1;
    795802}
    796803
    797804.social-navigation a[href*="facebook.com"]:before {
    798805    content: "\f203";
     806    opacity: 1;
    799807}
    800808
    801809.social-navigation a[href*="flickr.com"]:before {
    802810    content: "\f211";
     811    opacity: 1;
    803812}
    804813
    805814.social-navigation a[href*="foursquare.com"]:before {
    806815    content: "\f226";
     816    opacity: 1;
    807817}
    808818
    809819.social-navigation a[href*="plus.google.com"]:before {
    810820    content: "\f206";
     821    opacity: 1;
    811822}
    812823
    813824.social-navigation a[href*="github.com"]:before {
    814825    content: "\f200";
     826    opacity: 1;
    815827}
    816828
    817829.social-navigation a[href*="instagram.com"]:before {
    818830    content: "\f215";
     831    opacity: 1;
    819832}
    820833
    821834.social-navigation a[href*="linkedin.com"]:before {
    822835    content: "\f208";
     836    opacity: 1;
    823837}
    824838
    825839.social-navigation a[href*="pinterest.com"]:before {
    826840    content: "\f210";
     841    opacity: 1;
    827842}
    828843
    829844.social-navigation a[href*="getpocket.com"]:before {
    830845    content: "\f224";
     846    opacity: 1;
    831847}
    832848
    833849.social-navigation a[href*="polldaddy.com"]:before {
    834850    content: "\f217";
     851    opacity: 1;
    835852}
    836853
    837854.social-navigation a[href*="reddit.com"]:before {
    838855    content: "\f222";
     856    opacity: 1;
    839857}
    840858
    841859.social-navigation a[href*="stumbleupon.com"]:before {
    842860    content: "\f223";
     861    opacity: 1;
    843862}
    844863
    845864.social-navigation a[href*="tumblr.com"]:before {
    846865    content: "\f214";
     866    opacity: 1;
    847867}
    848868
    849869.social-navigation a[href*="twitter.com"]:before {
    850870    content: "\f202";
     871    opacity: 1;
    851872}
    852873
    853874.social-navigation a[href*="vimeo.com"]:before {
    854875    content: "\f212";
     876    opacity: 1;
    855877}
    856878
     
    858880.social-navigation a[href*="wordpress.org"]:before {
    859881    content: "\f205";
     882    opacity: 1;
    860883}
    861884
    862885.social-navigation a[href*="youtube.com"]:before {
    863886    content: "\f213";
     887    opacity: 1;
    864888}
    865889
    866890.social-navigation a[href*="mailto:"]:before {
    867891    content: "\f410";
     892    opacity: 1;
    868893}
    869894
    870895.social-navigation a[href*="spotify.com"]:before {
    871896    content: "\f515";
     897    opacity: 1;
    872898}
    873899
    874900.social-navigation a[href*="twitch.tv"]:before {
    875901    content: "\f516";
     902    opacity: 1;
    876903}
    877904
Note: See TracChangeset for help on using the changeset viewer.