模板:主题-米:修订间差异

来自SOKA CAFE
こばと
こばと留言 | 贡献 (创建页面,内容为“{{#CSS: →‎MediaWiki Timeless Skin - Warm & Earthy Theme:​ →‎Overall body background:​ body { background-color: #f8f0e3; →‎柔和的淡米色背景:​ color: #333; →‎默认文本颜色使用深灰:​ font-family: sans-serif; →‎可以指定一个字体,这里使用默认:​ } →‎Wrapper around content and sidebar - remove its background:​ #mw-content-wrapper { background: none; →‎允许 body 的背景色显示:​ } /* Main conten…”
 
 
第1行: 第1行:
{{#CSS:
{{#CSS:
/* MediaWiki Timeless Skin - Warm & Earthy Theme */
/* Overall body background */
body {
body {
     background-color: #f8f0e3; /* 柔和的淡米色背景 */
     background-color: #f8f0e3;
     color: #333; /* 默认文本颜色使用深灰 */
     color: #333;
     font-family: sans-serif; /* 可以指定一个字体,这里使用默认 */
     font-family: sans-serif;
}
}


/* Wrapper around content and sidebar - remove its background */
#mw-content-wrapper {
#mw-content-wrapper {
     background: none;
     background: none;
    /* 允许 body 的背景色显示 */
}
}


/* Main content area (page content) */
#mw-content {
#mw-content {
     background-color: #fffdfa; /* 非常淡的暖白色 */
     background-color: #fffdfa;
     padding: 20px; /* 增加内边距 */
     padding: 20px;
     border-radius: 8px; /* 圆角 */
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 柔和的阴影 */
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     margin-bottom: 20px; /* 和下方元素的间距 */
     margin-bottom: 20px;
     border: 1px solid #e0d8cc; /* 浅边框 */
     border: 1px solid #e0d8cc;
}
}


/* Sidebar chunks (navigation, tools, categories, etc.) */
.sidebar-chunk {
.sidebar-chunk {
     background-color: #f0e6d4; /* 比 body 背景稍深的暖米色 */
     background-color: #f0e6d4;
     padding: 15px; /* 增加内边距 */
     padding: 15px;
     margin-bottom: 18px; /* 侧边栏块之间的间距 */
     margin-bottom: 18px;
     border-radius: 8px; /* 圆角 */
     border-radius: 8px;
     /* border: 1px solid #d3cbbd; /* 可选:添加边框 */
     border: 1px solid #d3cbbd;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* 柔和的阴影 */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
}


/* Headings */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     color: #6b4f4f; /* 温暖的深棕色 */
     color: #6b4f4f;
     border-bottom-color: #d3cbbd; /* 标题下方的分割线颜色 */
     border-bottom-color: #d3cbbd;
}
}


/* Links */
a {
a {
     color: #00796b; /* 柔和的青绿色链接 */
     color: #00796b;
     text-decoration: none; /* 默认不显示下划线 */
     text-decoration: none;
}
}


/* Link hover state */
a:hover {
a:hover {
     text-decoration: underline; /* 悬停时显示下划线 */
     text-decoration: underline;
     color: #004d40; /* 悬停时颜色变深 */
     color: #004d40;
}
}


/* Visited links */
a:visited {
a:visited {
     color: #004d40; /* 访问过的链接使用更深的青绿色 */
     color: #004d40;
}
}


/* Table styling example (optional) */
table.wikitable {
table.wikitable {
     background-color: #fffdfa;
     background-color: #fffdfa;
第77行: 第65行:
}
}


/* Footer styling example (optional) */
.mw-footer {
.mw-footer {
     background-color: #f0e6d4;
     background-color: #f0e6d4;
第89行: 第76行:


}}<noinclude>
}}<noinclude>
==测试==
测试
[[测试]]
[[分类:模板-主题]]
[[分类:模板-主题]]
</noinclude>
</noinclude>

2025年5月13日 (二) 01:22的最新版本

测试

测试

测试