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

ナビゲーションに移動 検索に移動
カテゴリ名のclassを元にチーム名を併記するCSS
編集の要約なし
(カテゴリ名のclassを元にチーム名を併記するCSS)
11行目: 11行目:
sup.reference a { white-space: nowrap; }
sup.reference a { white-space: nowrap; }


/* チームカラー背景 ……と思ったのだが見慣れないのかちょっと変。
/* メンバーページへのリンクの右肩にチーム名を併記する */
.bgcolor-チーム4, .bgcolor-4,
a:after {
.bgcolor-SDN48, .bgcolor-SDN,
  vertical-align: super;
.bgcolor-SNH48, .bgcolor-SNH,
  font-size: smaller;
.bgcolor-チームSII, .bgcolor-SII,
  font-weight: normal;
.bgcolor-SKE48研究生, .bgcolor-S研,
  color: #999;
.bgcolor-SNH48研究生, .bgcolor-SNH研,
  height: 0;
.bgcolor-チーム4 a, .bgcolor-4 a,
  line-height: 1;
.bgcolor-SDN48 a, .bgcolor-SDN a,
  vertical-align: baseline;
.bgcolor-SNH48 a, .bgcolor-SNH a,
  _vertical-align: bottom;
.bgcolor-チームSII a, .bgcolor-SII a,
  position: relative;
.bgcolor-SKE48研究生 a, .bgcolor-S研 a,
  bottom: 1ex;
.bgcolor-SNH48研究生 a, .bgcolor-SNH研 a { color: #000; }
  background: none;
*/
  text-decoration: none;
}
 
.カテゴリ-チームA:after    { content: "(A)"; }
.カテゴリ-チームK:after    { content: "(K)"; }
.カテゴリ-チーム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; }
6,514

回編集

案内メニュー