コンテンツにスキップ

現在、全3219曲を聴きながらリンク集を作成中のサグラダ・ファミリア サイトです。
情報の誤りやお問い合わせは、管理人 X までお寄せください。
✨ オススメのプレイリストやセトリを教えて下さい ✨

「MediaWiki:Common.css」の版間の差分

今日も推しが尊いですね。― ハロプロ・サブスク非公式リンク集
編集の要約なし
編集の要約なし
1行目: 1行目:
/* --- 1. 全デバイス共通の設定 --- */
#p-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
#p-logo a {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
/* --- 2. PC用の設定 (画面幅1000px以上) --- */
@media screen and (min-width: 1000px) {
@media screen and (min-width: 1000px) {
     /* 1. ページ全体の「一番上」に強制的に作られる余白を抹殺 */
     /* 広告を根こそぎ非表示にする */
     html, body {
     html, body {
         margin-top: 0 !important;
         margin-top: 0 !important;
6行目: 20行目:
     }
     }


    /* 2. Googleが勝手に挿入する全広告ユニットをヘッダー周辺から消す */
     #mw-head ins.adsbygoogle,
     #mw-head ins.adsbygoogle,
     #mw-navigation ins.adsbygoogle,
     #mw-navigation ins.adsbygoogle,
22行目: 35行目:
     }
     }


     /* 3. ロゴや検索窓が「下」に隠れないよう、一番手前に引っ張り出す */
     /* ロゴや検索窓を最前面へ出す */
     #mw-head, #p-logo, #p-search, #p-personal {
     #mw-head, #p-logo, #p-search, #p-personal {
         position: relative !important;
         position: relative !important;
         z-index: 999999 !important; /* 最大級のパワーで前面へ */
         z-index: 999999 !important;
         background: white !important; /* 背景を白にして広告を透けさせない */
        background: white !important;
    }
 
    /* PCのロゴサイズ指定 */
    #p-logo, #p-logo a {
        width: 180px !important;  /* お好みで180〜200px */
         height: 180px !important;
    }
}
 
/* --- 3. モバイル用の設定 (画面幅999px以下) --- */
@media screen and (max-width: 999px) {
    /* モバイルのロゴサイズ指定 */
    #p-logo, #p-logo a {
        width: 100px !important;
        height: 100px !important;
     }
     }
}
}

2026年2月18日 (水) 16:48時点における版

/* --- 1. 全デバイス共通の設定 --- */
#p-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

#p-logo a {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* --- 2. PC用の設定 (画面幅1000px以上) --- */
@media screen and (min-width: 1000px) {
    /* 広告を根こそぎ非表示にする */
    html, body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #mw-head ins.adsbygoogle,
    #mw-navigation ins.adsbygoogle,
    #p-logo ins.adsbygoogle,
    #p-search ins.adsbygoogle,
    #p-personal ins.adsbygoogle,
    .google-auto-placed,
    div[class*="google-auto-placed"],
    ins[data-vignette-loaded="true"] {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    /* ロゴや検索窓を最前面へ出す */
    #mw-head, #p-logo, #p-search, #p-personal {
        position: relative !important;
        z-index: 999999 !important;
        background: white !important;
    }

    /* PCのロゴサイズ指定 */
    #p-logo, #p-logo a {
        width: 180px !important;  /* お好みで180〜200px */
        height: 180px !important;
    }
}

/* --- 3. モバイル用の設定 (画面幅999px以下) --- */
@media screen and (max-width: 999px) {
    /* モバイルのロゴサイズ指定 */
    #p-logo, #p-logo a {
        width: 100px !important;
        height: 100px !important;
    }
}