Making WordPress.org

Changeset 2423


Ignore:
Timestamp:
01/29/2016 03:12:20 PM (9 years ago)
Author:
samuelsidler
Message:

Make P2 Theme: Add icon to all Slack links across the P2 and icon to all external links in handbooks.

Props ocean90.
Fixes #445.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css

    r2256 r2423  
    55*/
    66
     7/* Show a Slack icon in front of Slack links. */
     8a[href*="//wordpress.slack.com"] {
     9    padding-left: 16px;
     10    background: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPjxwYXRoIGQ9Ik0xNjUuOTY0IDE1LjgzOEMxNjIuMDc0IDMuODYzIDE0OS4yMTItMi42OSAxMzcuMjQgMS4yMDJjLTExLjk3NiAzLjg5LTE4LjUzIDE2Ljc1Mi0xNC42MzcgMjguNzI1bDU4Ljk0NyAxODEuMzY1YzQuMDQ4IDExLjE4NyAxNi4xMzIgMTcuNDczIDI3LjczMiAxNC4xMzUgMTIuMS0zLjQ4MyAxOS40NzUtMTYuMzM0IDE1LjYxNC0yOC4yMTdMMTY1Ljk2NCAxNS44MzgiIGZpbGw9IiNERkEyMkYiLz48cGF0aCBkPSJNNzQuNjI2IDQ1LjUxNkM3MC43MzQgMzMuNTQyIDU3Ljg3MyAyNi45OSA0NS45IDMwLjg4Yy0xMS45NzYgMy44OS0xOC41MyAxNi43NS0xNC42MzcgMjguNzI2TDkwLjIxIDI0MC45NzJjNC4wNDggMTEuMTg2IDE2LjEzMyAxNy40NzMgMjcuNzMzIDE0LjEzMiAxMi4xLTMuNDggMTkuNDc0LTE2LjMzMiAxNS42MTMtMjguMjE3bC01OC45My0xODEuMzciIGZpbGw9IiMzQ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gMTQuMDkgNDMuMzQ2IiBmaWxsPSIjMjQ4QzczIi8+PHBhdGggZD0iTTE0NC4xNiA5Ni4yNTZsNDMuMzU2LTE0LjA4OGMtNS4zMjYtMTYuMzkzLTEwLjI3Ni0zMS42My0xNC4wOS00My4zNkwxMzAuMDcgNTIuOWwxNC4wOSA0My4zNTYiIGZpbGw9IiM2MjgwM0EiLz48L3N2Zz4=) no-repeat 0 1px;
     11    background-size: 13px 13px;
     12}
     13
    714/* Handbook-specific styles */
     15
     16.post-type-archive-handbook .postcontent a[href*="//"]:not([href*="wordpress.org"]):not([href*="wordpress.slack.com"]),
     17.single-handbook .postcontent a[href*="//"]:not([href*="wordpress.org"]):not([href*="wordpress.slack.com"]) {
     18    padding-left: 16px;
     19    background: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iIzI2N0RCMiIgZD0iTTE2LjUgNS44Yy0xLjEuOS0yIDItMS43IDMuMS40IDEuMiAxLjggMS43IDIuNSAzLjUuMi0uNSAxLjMtMy4zLS44LTYuNnpNOCAxMC4xYy0xLjQuNy0xLjYgMS42LTEuOCAyLjUuNiAxLjIgMy4zLjkgMy4yIDUgMy4zLTEuNCA0LTMuMiA0LjEtNC43IDAtMS41LS4zLTIuNS0zLjYtMy4xLTMuMy0uNS00LjctMi4xLTMuMy0zLjIuOS0uNyAxLjYgMS40IDMuMSAxLjItMS41LTEuNC0uOC00LjIgMC01LjYtMy40LjEtNi4yIDIuNS03LjIgNS42IDEgMS4xIDIuNyAyIDUuNSAyLjN6bTExLS4xYzAgNS00IDktOSA5cy05LTQtOS05IDQtOSA5LTkgOSA0IDkgOXoiLz48L3N2Zz4=) no-repeat 0 1px;
     20    background-size: 13px 13px;
     21}
     22
     23.post-type-archive-handbook .postcontent a[href*="//"]:not([href*="wordpress.org"]):not([href*="wordpress.slack.com"]):hover,
     24.single-handbook .postcontent a[href*="//"]:not([href*="wordpress.org"]):not([href*="wordpress.slack.com"]):hover {
     25    background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iI2Q1NGUyMSIgZD0iTTE2LjUgNS44Yy0xLjEuOS0yIDItMS43IDMuMS40IDEuMiAxLjggMS43IDIuNSAzLjUuMi0uNSAxLjMtMy4zLS44LTYuNnpNOCAxMC4xYy0xLjQuNy0xLjYgMS42LTEuOCAyLjUuNiAxLjIgMy4zLjkgMy4yIDUgMy4zLTEuNCA0LTMuMiA0LjEtNC43IDAtMS41LS4zLTIuNS0zLjYtMy4xLTMuMy0uNS00LjctMi4xLTMuMy0zLjIuOS0uNyAxLjYgMS40IDMuMSAxLjItMS41LTEuNC0uOC00LjIgMC01LjYtMy40LjEtNi4yIDIuNS03LjIgNS42IDEgMS4xIDIuNyAyIDUuNSAyLjN6bTExLS4xYzAgNS00IDktOSA5cy05LTQtOS05IDQtOSA5LTkgOSA0IDkgOXoiLz48L3N2Zz4=);
     26}
     27
    828.post-type-archive-handbook .postcontent,
    929.single-handbook .postcontent {
Note: See TracChangeset for help on using the changeset viewer.