imported>Soleverlee
无编辑摘要
Riguz留言 | 贡献
无编辑摘要
 
(未显示2个用户的38个中间版本)
第1行: 第1行:
@import url(https://files.riguz.com/css/fonts.css);
/* MediaWiki:Common.css */


@font-face {
html, body {
     font-family: monospace;
    font-family: "Times New Roman", "SimSun", "STSong",
  src: local('Inconsolata');
                "Source Han Serif CN", "Noto Serif CJK SC", serif;
     font-size: 17px;
    line-height: 1.75;
}
}


html,body {
/* 标题用稍粗的衬线,更有分量感 */
     font-family: Inconsolata, "PingHei","Lucida Grande", "Lucida Sans Unicode",
h1, h2, h3, h4, h5, h6 {
"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu,  
     font-family: "Cambria", "Georgia", "Times New Roman",  
"Helvetica","Arial","Verdana","sans-serif";
                "Source Han Serif CN", "Noto Serif CJK SC",  
                "SimSun", serif;
    font-weight: 600;
    line-height: 1.3;
}
}


body {
/* 代码块保持等宽,形成衬线/等宽的古典技术文档对比 */
     width: 960px;
code, pre, .mw-code, .mw-highlight pre {
    font-family: "JetBrains Mono", "Fira Code", "Consolas",
                "Monaco", "Menlo", "Liberation Mono", monospace;
    font-size: 0.9em;
}
 
/* 侧边栏、导航等 UI 元素用无衬线,区分内容区 */
#mw-panel, #p-personal, #left-navigation, #right-navigation,
.vector-menu, .mw-ui-button, .mw-ui-input {
    font-family: "Inter", "Segoe UI", "Noto Sans SC",
                "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}
 
/* 引用块:更复古的视觉 */
blockquote {
    font-family: "Georgia", "Cambria", "Source Han Serif CN", serif;
    font-style: italic;
    border-left: 3px solid #8b7355;  /* 铜褐色,有年代感 */
    background: #faf8f3;
    padding: 0.5em 1em;
    margin: 1em 0;
}
 
/* 数学公式周围的文字字号微调,让公式和正文更协调 */
.mwe-math-element {
    font-size: 1.05em;
}
 
 
/* -------- for main page -- */
 
/* ============================================
  首页样式 - Main Page
  ============================================ */
 
/* 首页容器 */
.main-page-container {
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
}
}


div#content {
/* Hero 区 */
     border: 0;
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 2.5rem 2rem;
     border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}
}
.mw-ui-vform input:not([type=button]):not([type=submit]):not([type=file]){
.hero-title {
     color: green;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
     letter-spacing: 0.5px;
}
}
.wikiEditor-ui-text {
.hero-subtitle {
     font-size: 12px;
     font-size: 1rem;
     font-family: monospace,sans-serif;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
     font-size: 0.95rem;
}
.hero-stat {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
}


.poem {
/* 板块标题 */
     font-family: "楷体","楷体_GB2312";
.section-heading {
     font-size: 20px;
     font-size: 1.4rem;
    color: #25F95F;
     font-weight: 600;
     background: rgba(249, 249, 249, 0.18);
     margin: 2rem 0 1rem;
    text-align: left;
     padding-bottom: 0.5rem;
     padding-top: 15px;
     border-bottom: 2px solid #e5e7eb;
     padding-left: 20px;
    padding-bottom: 30px;
}
}


.editOptions {
/* 三大支柱网格 */
     color: #094854;
.pillars-grid {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
}


.editOptions input {
/* 支柱卡片 */
     color: blue;
.pillar-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.pillar-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.pillar-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}
.pillar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pillar-title a {
    text-decoration: none;
    color: inherit;
}
.pillar-desc {
    font-size: 0.9rem;
     color: #6b7280;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}
.pillar-meta {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}
.pillar-link {
    align-self: flex-start;
    background: #2563eb;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}
.pillar-link:hover {
    background: #1d4ed8;
}
}


fieldset#mw-searchoptions {
/* 随机翻翻按钮 */
     background: none;
.random-section {
    text-align: center;
    margin: 2.5rem 0;
}
.random-btn {
    display: inline-block;
     background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff !important;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.random-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
}


.mw-search-formheader {
/* 双栏区域 */
     background-color: #000000;
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
     .two-column {
        grid-template-columns: 1fr;
    }
}
}


#searchGoButton,#mw-searchButton {
/* 栏目盒子 */
     background: #347bff;
.column-box {
     color: #fff;
     border: 1px solid #e5e7eb;
     border: 1px solid #347bff;
     border-radius: 12px;
     border-left: none;
    padding: 1.5rem;
     border-right: none;
    background: #fff;
}
.column-title {
    font-size: 1.1rem;
     font-weight: 600;
     margin-bottom: 1rem;
    display: flex;
     align-items: center;
    gap: 0.5rem;
}
}


ol {
/* 精选文章 */
     list-style-type: decimal-leading-zero;
.featured-article {
     background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.featured-article:last-of-type {
    margin-bottom: 0;
}
.featured-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.featured-title a {
    color: #0369a1;
    text-decoration: none;
}
.featured-title a:hover {
    text-decoration: underline;
}
.featured-desc {
    font-size: 0.85rem;
    color: #64748b;
}
}


pre, code, tt, kbd, samp, .mw-code {
/* 数据面板 */
     font-family: Inconsolata, Consolas, monospace;
.stats-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #fff;
    border-radius: 8px;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.stat-label {
     font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}
}


.ln-xtra {
/* 此刻在折腾 */
     background-color: rgba(180, 239, 181, 0.33);
.status-section {
     background: #fefce8;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #eab308;
}
.status-section .section-heading {
    border: none;
    margin: 0 0 0.75rem 0;
}
.status-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
}
pre, .mw-code{
.status-item:last-child {
border:none;
    margin-bottom: 0;
}
}
code {
.status-icon {
     background: transparent;
     margin-right: 0.5rem;
     color: #ff07b1;
}
.status-item a {
     color: #854d0e;
}
}


table.darktable {
/* 诗词角落 */
     border-width: 1px;
.poetry-section {
     border-color: #13420e;
     border: 1px dashed #d1d5db;
     border-collapse: collapse;
     border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: #fafafa;
}
.poetry-section .mw-collapsible-toggle {
    font-weight: 600;
    color: #6b7280;
}
.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.poetry-item {
    font-size: 0.85rem;
    padding: 0.5rem;
    background: #fff;
     border-radius: 6px;
    text-align: center;
}
.poetry-item a {
    color: #7c3aed;
    text-decoration: none;
}
.poetry-item a:hover {
    text-decoration: underline;
}
}


table.darktable th {
/* 页脚 */
     border-width: 1px;
.main-footer {
     border-style: solid;
     text-align: center;
     border-color: #13420e;
     padding: 2rem;
     background: rgb(38, 115, 115);
     color: #9ca3af;
     color: #000000;
     font-size: 0.85rem;
     border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}
}
 
.main-footer a {
table.darktable td {
     color: #9ca3af;
     border-width: 1px;
    border-style: solid;
    border-color: #13420e;
}
}

2026年7月25日 (六) 12:41的最新版本

/* MediaWiki:Common.css */

html, body {
    font-family: "Times New Roman", "SimSun", "STSong", 
                 "Source Han Serif CN", "Noto Serif CJK SC", serif;
    font-size: 17px;
    line-height: 1.75;
}

/* 标题用稍粗的衬线,更有分量感 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cambria", "Georgia", "Times New Roman", 
                 "Source Han Serif CN", "Noto Serif CJK SC", 
                 "SimSun", serif;
    font-weight: 600;
    line-height: 1.3;
}

/* 代码块保持等宽,形成衬线/等宽的古典技术文档对比 */
code, pre, .mw-code, .mw-highlight pre {
    font-family: "JetBrains Mono", "Fira Code", "Consolas", 
                 "Monaco", "Menlo", "Liberation Mono", monospace;
    font-size: 0.9em;
}

/* 侧边栏、导航等 UI 元素用无衬线,区分内容区 */
#mw-panel, #p-personal, #left-navigation, #right-navigation,
.vector-menu, .mw-ui-button, .mw-ui-input {
    font-family: "Inter", "Segoe UI", "Noto Sans SC", 
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}

/* 引用块:更复古的视觉 */
blockquote {
    font-family: "Georgia", "Cambria", "Source Han Serif CN", serif;
    font-style: italic;
    border-left: 3px solid #8b7355;  /* 铜褐色,有年代感 */
    background: #faf8f3;
    padding: 0.5em 1em;
    margin: 1em 0;
}

/* 数学公式周围的文字字号微调,让公式和正文更协调 */
.mwe-math-element {
    font-size: 1.05em;
}


/* -------- for main page -- */

/* ============================================
   首页样式 - Main Page
   ============================================ */

/* 首页容器 */
.main-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero 区 */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.hero-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}
.hero-stat {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* 板块标题 */
.section-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* 三大支柱网格 */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* 支柱卡片 */
.pillar-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.pillar-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.pillar-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}
.pillar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pillar-title a {
    text-decoration: none;
    color: inherit;
}
.pillar-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}
.pillar-meta {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}
.pillar-link {
    align-self: flex-start;
    background: #2563eb;
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}
.pillar-link:hover {
    background: #1d4ed8;
}

/* 随机翻翻按钮 */
.random-section {
    text-align: center;
    margin: 2.5rem 0;
}
.random-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff !important;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.random-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* 双栏区域 */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

/* 栏目盒子 */
.column-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
}
.column-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 精选文章 */
.featured-article {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.featured-article:last-of-type {
    margin-bottom: 0;
}
.featured-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.featured-title a {
    color: #0369a1;
    text-decoration: none;
}
.featured-title a:hover {
    text-decoration: underline;
}
.featured-desc {
    font-size: 0.85rem;
    color: #64748b;
}

/* 数据面板 */
.stats-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #fff;
    border-radius: 8px;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* 此刻在折腾 */
.status-section {
    background: #fefce8;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #eab308;
}
.status-section .section-heading {
    border: none;
    margin: 0 0 0.75rem 0;
}
.status-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.status-item:last-child {
    margin-bottom: 0;
}
.status-icon {
    margin-right: 0.5rem;
}
.status-item a {
    color: #854d0e;
}

/* 诗词角落 */
.poetry-section {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: #fafafa;
}
.poetry-section .mw-collapsible-toggle {
    font-weight: 600;
    color: #6b7280;
}
.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.poetry-item {
    font-size: 0.85rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 6px;
    text-align: center;
}
.poetry-item a {
    color: #7c3aed;
    text-decoration: none;
}
.poetry-item a:hover {
    text-decoration: underline;
}

/* 页脚 */
.main-footer {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.85rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}
.main-footer a {
    color: #9ca3af;
}