/*
 * 标签目前在日记和相册中使用，出现在四个地方：
 * 【标签编辑器内】填写框，默认方框 tag-editor span>i+a
 * 【标签编辑器外_候选标签】默认方框 tag-folder span
 * 【单篇日记/相册】可点击，悬浮时出现方框 footer-tags span>a
 * 【侧边栏】 可点击，可点击，默认方框 author-tags span>a
 */
.tags-editor span {
  white-space: nowrap;
  margin-right: 5px;
}

.tags-editor span {
  background-color: #ebebeb;
  color: #aaa;
  line-height: 24px;
  padding: 1px 13px 1px 9px;
  margin: 4px 5px 0 0;
  transition: all 1s;
  cursor: default;
  float: left;
  position: relative;
}
.tags-editor span a {
  font-size: 8px;
  position: absolute;
  top: -4px;
  right: 4px;
  color: #aaa;
  transition: all 1s;
}
.tags-editor span a:hover {
  background-color: transparent;
  color: #555;
}
.tags-editor span.tags-warn {
  background: #f2c9c9;
  color: #5c0909;
  border-color: #5c0909;
}
.tags-editor span.tags-warn a {
  color: #5c0909;
}

.tags-folder span {
  color: #37a;
  cursor: pointer;
  margin-right: 0.8em;
  white-space: nowrap;
}
.tags-folder span:hover {
  color: #FFF;
  background-color: #37a;
}
.tags-folder .tag-selected {
  color: #a9a9a9;
}

.footer-tags {
  line-height: 38px;
  margin-bottom: 20px;
  text-align: left;
}
.footer-tags i {
  color: gray;
}
.footer-tags a {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 13px;
  margin-right: 10px;
  line-height: 1.62;
  background-color: #f5f5f5;
  white-space: nowrap;
}
.footer-tags a:hover {
  background-color: #e8e8e8;
  color: #37a;
}

.author-tags {
  padding-bottom: 20px;
  clear: both;
  font-size: 0;
  line-height: 34px;
  margin-top: 5px;
}
.author-tags a {
  display: inline-block;
  white-space: nowrap;
  margin-right: 10px;
  padding: 3px 13px;
  line-height: 1.62;
  background-color: #f5f5f5;
  font-size: 13px;
  letter-spacing: normal;
  word-spacing: normal;
  vertical-align: top;
}
.author-tags a:hover, .author-tags a.tag-selected {
  background-color: #e8e8e8;
  color: #37a;
}
.author-tags .people_tags_more {
  display: none;
}
.author-tags .more-tags {
  display: inline-block;
  padding: 0;
  margin: 0;
  background: none;
  white-space: nowrap;
  line-height: 25px;
  font-size: 13px;
  letter-spacing: normal;
  word-spacing: normal;
  vertical-align: top;
}
.author-tags .more-tags:hover {
  background: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .author-tags {
    letter-spacing: -5px;
  }
}
.mod-tags {
  margin-bottom: 20px;
}
.mod-tags a {
  display: inline-block;
  white-space: nowrap;
  margin-right: 10px;
  padding: 3px 13px;
  line-height: 1.62;
  background-color: #f5f5f5;
  font-size: 13px;
  letter-spacing: normal;
  word-spacing: normal;
  vertical-align: top;
}
.mod-tags a:hover, .mod-tags a.tag-selected {
  background-color: #e8e8e8;
  color: #37a;
}