Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tags as data attribute on post and named classes on tag labels #231

Merged
merged 2 commits into from
Feb 13, 2015

Conversation

ben5516
Copy link
Contributor

@ben5516 ben5516 commented Jan 7, 2015

I think it's beneficial to be able to target specifically tagged posts. For instance, if I wanted to tag certain posts as sponsored and then give them a blue background, I could do the following in css:

section[data-tags~=promoted] {
  background: #c3e9ff;
}

Likewise, I can target the tag label as well:

span.tag-promoted {
  background: #c3e9ff;
}

@coveralls
Copy link

Coverage Status

Coverage decreased (-8.78%) to 87.88% when pulling fa05819 on ben5516:post_tags into 0ef9ed3 on jipiboily:master.

@msevestre
Copy link
Collaborator

@jipiboily could you trigger Travis again for this PR?

@jipiboily
Copy link
Owner

@msevestre just did. Do you know a way for me to give you access to that on Travis by any chance?

msevestre pushed a commit that referenced this pull request Feb 13, 2015
Added tags as data attribute on post and named classes on tag labels
@msevestre msevestre merged commit 183bd8b into jipiboily:master Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants