「利用者:Yasusushi/common.css」の版間の差分

(カテゴリ名のclassを元にチーム名を併記するCSS)
編集の要約なし
 
(同じ利用者による、間の39版が非表示)
1行目: 1行目:
/* 脚注 */
/* 巻き戻しリンクを非表示 */
sup, sub {
.mw-rollback-link {
    height: 0;
  display: none;
    line-height: 1;
}
    vertical-align: baseline;
    _vertical-align: bottom;
    position: relative;
}
sup { bottom: 1ex; }
sub { top: 0.5ex; }
sup.reference a { white-space: nowrap; }


/* メンバーページへのリンクの右肩にチーム名を併記する */
/* リダイレクトを区別 */
a:after {
a.mw-redirect:not([title^="利用者:"]):not([title^="利用者・トーク:"]) {
  vertical-align: super;
   border: 1px #9999ff dashed;
  font-size: smaller;
  font-weight: normal;
   color: #999;
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  _vertical-align: bottom;
  position: relative;
  bottom: 1ex;
  background: none;
  text-decoration: none;
}
}


.カテゴリ-チームA:after    { content: "(A)"; }
@media screen {
.カテゴリ-チームK:after    { content: "(K)"; }
  .bgcolor a { border-bottom: solid 1px #fff; }
.カテゴリ-チームB:after    { content: "(B)"; }
}
.カテゴリ-チーム4:after    { content: "(4)"; }
.カテゴリ-チームS:after    { content: "(S)"; }
.カテゴリ-チームKII:after  { content: "(KII)"; }
.カテゴリ-チームE:after    { content: "(E)"; }
.カテゴリ-チームN:after    { content: "(N)"; }
.カテゴリ-チームM:after    { content: "(M)"; }
.カテゴリ-チームBII:after  { content: "(BII)"; }
.カテゴリ-チームH:after    { content: "(H)"; }
.カテゴリ-チームKIV:after  { content: "(KIV)"; }
.カテゴリ-チームJ:after    { content: "(J)"; }
.カテゴリ-チームKIII:after { content: "(KIII)"; }
.カテゴリ-チームSII:after  { content: "(SII)"; }
.カテゴリ-チームNII:after  { content: "(NII)"; }
 
.カテゴリ-チームA.カテゴリ-チームH:after    { content: "(A・H)"; }
.カテゴリ-チームA.カテゴリ-チームSII:after  { content: "(A・SII)"; }
.カテゴリ-チームA.カテゴリ-チームM:after    { content: "(A・M)"; }
.カテゴリ-チームK.カテゴリ-チームJ:after    { content: "(K・J)"; }
.カテゴリ-チームK.カテゴリ-チームE:after    { content: "(K・E)"; }
.カテゴリ-チームK.カテゴリ-チームS:after    { content: "(K・S)"; }
.カテゴリ-チームB.カテゴリ-チームN:after    { content: "(B・N)"; }
.カテゴリ-チームB.カテゴリ-チームKII:after  { content: "(B・KII)"; }
.カテゴリ-チームB.カテゴリ-チームJ:after    { content: "(B・J)"; }
.カテゴリ-チームB.カテゴリ-チームN:after    { content: "(B・N)"; }
 
.カテゴリ-AKB48研究生:after  { content: "(AKB研)"; }
.カテゴリ-SKE48研究生:after  { content: "(SKE研)"; }
.カテゴリ-NMB48研究生:after  { content: "(NMB研)"; }
.カテゴリ-HKT48研究生:after  { content: "(HKT研)"; }
.カテゴリ-JKT48研究生:after  { content: "(JKT研)"; }
.カテゴリ-SNH48研究生:after  { content: "(SNH研)"; }
 
/* 最近の更新とメンバー一覧ページとメンバー情報では表示しない */
.page-特別_最近の更新 a:after,
.ruby:after { display: none }
 
/* 元メンバーを灰色で網掛け */
.カテゴリ-AKB48の元メンバー,
.カテゴリ-SKE48の元メンバー,
.カテゴリ-NMB48の元メンバー,
.カテゴリ-HKT48の元メンバー,
.カテゴリ-JKT48の元メンバー,
.カテゴリ-SNH48の元メンバー,
.カテゴリ-SDN48の元メンバー { background: #DDD; }
 
.カテゴリ-AKB48のメンバー,
.カテゴリ-SKE48のメンバー,
.カテゴリ-NMB48のメンバー,
.カテゴリ-HKT48のメンバー,
.カテゴリ-JKT48のメンバー,
.カテゴリ-SNH48のメンバー { background: none; }

2019年2月17日 (日) 16:55時点における最新版

/* 巻き戻しリンクを非表示 */
.mw-rollback-link {
  display: none;
}

/* リダイレクトを区別 */
a.mw-redirect:not([title^="利用者:"]):not([title^="利用者・トーク:"]) {
  border: 1px #9999ff dashed;
}

@media screen {
  .bgcolor a { border-bottom: solid 1px #fff; }
}