「MediaWiki:Citizen.css」の版間の差分
MediaWikiインターフェイスページ
その他の操作
編集の要約なし |
編集の要約なし |
||
| 54行目: | 54行目: | ||
font-size: clamp(3rem, 10vw, 5rem); | font-size: clamp(3rem, 10vw, 5rem); | ||
font-weight: 900; | font-weight: 900; | ||
margin: 0 0 | margin: 0.5rem 0 0.2rem; | ||
color: #fff; | color: #fff; | ||
border: none; | border: none !important; | ||
letter-spacing: -0.04em; | |||
/* Tight letter spacing */ | |||
line-height: 0.95; | |||
text-transform: uppercase; | |||
} | } | ||
.uw-home-hero-subtitle { | .uw-home-hero-subtitle { | ||
font-size: 1. | font-size: 1.15rem; | ||
color: # | color: #a0a0a0; | ||
max-width: | max-width: 800px; | ||
margin | margin: 0 auto 3rem; | ||
line-height: 1. | line-height: 1.5; | ||
letter-spacing: -0.01em; | |||
font-weight: 500; | |||
} | } | ||
/* Search Bar ( | /* Search Bar (Bespoke Star Citizen Style) */ | ||
.uw-search-container { | .uw-search-container { | ||
width: 100%; | width: 100%; | ||
max-width: | max-width: 640px; | ||
margin: 0 auto; | margin: 0 auto; | ||
position: relative; | position: relative; | ||
transition: transform 0.3s ease; | |||
} | |||
.uw-search-container:focus-within { | |||
transform: scale(1.01); | |||
} | } | ||
.uw-search-container .mw-inputbox-centered { | .uw-search-container .mw-inputbox-centered { | ||
border: none !important; | border: none !important; | ||
background: none !important; | background: none !important; | ||
padding: 0 !important; | |||
} | } | ||
.uw-search-container input.mw-ui-input { | .uw-search-container input.mw-ui-input { | ||
width: 100% !important; | width: 100% !important; | ||
padding: 1. | padding: 1.3rem 4.5rem 1.3rem 4rem !important; | ||
background: rgba( | background: rgba(14, 26, 34, 0.8) !important; | ||
border: 1px solid | border: 1px solid rgba(0, 242, 255, 0.15) !important; | ||
border-radius: | border-radius: 80px !important; | ||
color: #fff !important; | color: #fff !important; | ||
font-size: 1rem !important; | font-size: 1.1rem !important; | ||
transition: all 0.3s | transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important; | ||
backdrop-filter: blur( | backdrop-filter: blur(20px) !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important; | |||
} | } | ||
.uw-search-container input.mw-ui-input:focus { | .uw-search-container input.mw-ui-input:focus { | ||
border-color: var(--uw-color-cyan) !important; | border-color: var(--uw-color-cyan) !important; | ||
background: rgba( | background: rgba(20, 35, 45, 0.9) !important; | ||
box-shadow: 0 0 | box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1), 0 8px 40px rgba(0, 0, 0, 0.6) !important; | ||
outline: none !important; | |||
} | } | ||
.uw-search-container .mw-ui-button { | .uw-search-container .mw-ui-button { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Search Icon Overlay */ | |||
.uw-search-container::before { | .uw-search-container::before { | ||
content: '🔍'; | content: '🔍'; | ||
position: absolute; | position: absolute; | ||
left: 1. | left: 1.8rem; | ||
top: 50%; | top: 50%; | ||
transform: translateY(-50%); | transform: translateY(-50%); | ||
z-index: 5; | |||
opacity: 0.6; | |||
pointer-events: none; | pointer-events: none; | ||
font-size: 1.2rem; | |||
} | } | ||
/* Keyboard Shortcut Indicator ( / ) */ | |||
.uw-search-container::after { | .uw-search-container::after { | ||
content: '/'; | content: '/'; | ||
2026年2月15日 (日) 23:57時点における版
/* University eSports Wiki - Home Page Specific Styles */
/* Scope everything under .uw-home to avoid affecting other pages */
/* Home page full width */
body.page-Home .mw-body {
max-width: none !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
body.page-Home .mw-content-container {
max-width: none !important;
}
/* ============================================================
Star Citizen Wiki Style Refinement
============================================================ */
:root {
--uw-color-cyan: #00f2ff;
--uw-color-cyan-dim: rgba(0, 242, 255, 0.15);
--uw-glass-bg: rgba(255, 255, 255, 0.03);
--uw-glass-border: rgba(255, 255, 255, 0.08);
}
/* Home Page Base */
.uw-home {
font-family: 'Inter', -apple-system, sans-serif;
color: #eee;
}
/* Hero Section (Centered) */
.uw-home-hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 100px 20px 80px;
background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
position: relative;
overflow: hidden;
}
.uw-home-hero-welcome {
font-size: 0.9rem;
color: var(--uw-color-cyan);
margin-bottom: 1rem;
letter-spacing: 2px;
text-transform: uppercase;
}
.uw-home-hero h1 {
font-size: clamp(3rem, 10vw, 5rem);
font-weight: 900;
margin: 0.5rem 0 0.2rem;
color: #fff;
border: none !important;
letter-spacing: -0.04em;
/* Tight letter spacing */
line-height: 0.95;
text-transform: uppercase;
}
.uw-home-hero-subtitle {
font-size: 1.15rem;
color: #a0a0a0;
max-width: 800px;
margin: 0 auto 3rem;
line-height: 1.5;
letter-spacing: -0.01em;
font-weight: 500;
}
/* Search Bar (Bespoke Star Citizen Style) */
.uw-search-container {
width: 100%;
max-width: 640px;
margin: 0 auto;
position: relative;
transition: transform 0.3s ease;
}
.uw-search-container:focus-within {
transform: scale(1.01);
}
.uw-search-container .mw-inputbox-centered {
border: none !important;
background: none !important;
padding: 0 !important;
}
.uw-search-container input.mw-ui-input {
width: 100% !important;
padding: 1.3rem 4.5rem 1.3rem 4rem !important;
background: rgba(14, 26, 34, 0.8) !important;
border: 1px solid rgba(0, 242, 255, 0.15) !important;
border-radius: 80px !important;
color: #fff !important;
font-size: 1.1rem !important;
transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
backdrop-filter: blur(20px) !important;
box-sizing: border-box !important;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}
.uw-search-container input.mw-ui-input:focus {
border-color: var(--uw-color-cyan) !important;
background: rgba(20, 35, 45, 0.9) !important;
box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1), 0 8px 40px rgba(0, 0, 0, 0.6) !important;
outline: none !important;
}
.uw-search-container .mw-ui-button {
display: none !important;
}
/* Search Icon Overlay */
.uw-search-container::before {
content: '🔍';
position: absolute;
left: 1.8rem;
top: 50%;
transform: translateY(-50%);
z-index: 5;
opacity: 0.6;
pointer-events: none;
font-size: 1.2rem;
}
/* Keyboard Shortcut Indicator ( / ) */
.uw-search-container::after {
content: '/';
position: absolute;
right: 1.5rem;
top: 50%;
transform: translateY(-50%);
color: #444;
font-weight: 300;
pointer-events: none;
}
/* Action Cards Grid (Horizontal Style) */
.uw-action-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 0.6rem;
max-width: 1400px;
margin: -40px auto 4rem;
padding: 0 2rem;
position: relative;
z-index: 2;
}
.uw-action-card {
height: 80px;
background-size: cover;
background-position: center;
border-radius: 6px;
overflow: hidden;
position: relative;
text-decoration: none !important;
transition: transform 0.2s ease, filter 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.uw-action-card:hover {
transform: translateY(-2px);
filter: brightness(1.2);
}
.uw-action-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}
.uw-action-card-title {
position: absolute;
left: 1rem;
bottom: 0.8rem;
color: #fff;
font-weight: 700;
font-size: 0.95rem;
z-index: 1;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* Feature & Stats Section */
.uw-body-grid {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 1.5rem;
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem 6rem;
}
.uw-glass-box {
background: var(--uw-glass-bg);
border: 1px solid var(--uw-glass-border);
border-radius: 12px;
padding: 2rem;
}
.uw-section-title {
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--uw-color-cyan);
margin-bottom: 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Stats Styling */
.uw-stat-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-top: 1rem;
}
.uw-stat-item {
text-align: center;
}
.uw-stat-value {
font-size: 2rem;
font-weight: 800;
color: #fff;
}
.uw-stat-label {
font-size: 0.75rem;
color: #666;
text-transform: uppercase;
}
/* Button & Links */
.uw-discord-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
background: #5865F2;
color: #fff !important;
padding: 1rem;
border-radius: 8px;
font-weight: 700;
text-decoration: none !important;
margin-bottom: 1rem;
}
.uw-patreon-btn {
background: #FF424D;
/* same as discord style... */
display: flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
color: #fff !important;
padding: 1rem;
border-radius: 8px;
font-weight: 700;
text-decoration: none !important;
}
/* Responsive */
@media (max-width: 1024px) {
.uw-body-grid {
grid-template-columns: 1fr;
}
}
/* タイトル上部のタブも消す */
body.page-Home .page-actions {
display: none;
}
/* 余白調整(上が詰まるので) */
body.page-Home .mw-body {
margin-top: 0;
padding-top: 0;
}
body.page-Home .mw-body {
max-width: 100% !important;
}
/* ===== Homeページのタイトルを非表示 ===== */
body.page-Home .mw-first-heading {
display: none;
}
body.page-Home .mw-indicators {
display: none;
}
/* サブタイトル(提供: ○○)を非表示 */
#siteSub {
display: none;
}
/* ===== サイドバー/ナビゲーションの表示を保証 ===== */
body.page-Home .citizen-drawer,
body.page-Home #citizen-section-nav,
body.page-Home .citizen-sidebar {
display: block !important;
}
/* スクロール時に出現する固定ヘッダー(スティッキーヘッダー)を非表示 */
body.page-Home .citizen-header--sticky,
body.page-Home .citizen-sticky-header {
display: none !important;
}
/* 最終更新、著作権情報、アイコンなどを非表示 */
body.page-Home #footer-info,
body.page-Home #footer-info-lastmod,
body.page-Home #footer-info-copyright,
body.page-Home #footer-icons,
body.page-Home .citizen-footer__info {
display: none !important;
}
/* カテゴリ表示を非表示 */
body.page-Home #catlinks,
body.page-Home .catlinks {
display: none !important;
}