MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| 第26行: | 第26行: | ||
font-weight: 600; | font-weight: 600; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
/* 美化首页 CreatePage 表单 */ | |||
.createpageform { | |||
display: inline-flex !important; | |||
align-items: center; | |||
width: 680px; | |||
max-width: 90%; | |||
margin: 10px auto 20px; | |||
padding: 6px 8px 6px 18px; | |||
background: #ffffff; | |||
border: 1px solid #dadce0; | |||
border-radius: 28px; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.08); | |||
transition: all 0.2s ease; | |||
} | |||
.createpageform:hover, .createpageform:focus-within { | |||
box-shadow: 0 4px 12px rgba(0,0,0,0.15); | |||
border-color: #c0c0c0; | |||
} | |||
/* 输入框样式 */ | |||
.createpageform .pagenameinput { | |||
flex: 1; | |||
border: none !important; | |||
outline: none !important; | |||
font-size: 15px !important; | |||
color: #202124 !important; | |||
background: transparent !important; | |||
padding: 8px 10px !important; | |||
box-shadow: none !important; | |||
} | |||
/* 提交按钮样式 */ | |||
.createpageform input[type="submit"] { | |||
background: #3367d6 !important; | |||
color: #ffffff !important; | |||
border: none !important; | |||
padding: 10px 24px !important; | |||
border-radius: 20px !important; | |||
font-size: 14px !important; | |||
font-weight: 600 !important; | |||
cursor: pointer; | |||
transition: background 0.2s; | |||
} | |||
.createpageform input[type="submit"]:hover { | |||
background: #2857c5 !important; | |||
} | |||
} | } | ||
/* 首页样式 */ | /* 首页样式 */ | ||
2026年9月7日 (一) 20:58的版本
/* 修改可视编辑器编辑区:灰色实线边框,加大外围范围 */
.ve-ui-surface .ve-ce-attachedRootNode {
border: 2px solid #cccccc !important; /* 灰色实线 */
padding: 24px !important; /* 加大内边距,使框体范围变大 */
margin-top: 10px !important;
min-height: 450px !important; /* 设定最小高度,让框体向下延伸更长 */
border-radius: 6px !important;
background-color: #fafafa !important; /* 保持浅灰底色 */
}
/* 首页样式 */
/* 让内容区更宽更干净 */
.mw-body {
max-width: 1200px;
margin: 0 auto;
}
/* 去掉默认过多边距 */
#content {
padding: 1.5em 2em;
}
/* 标题更现代 */
.firstHeading {
font-weight: 600;
border-bottom: none !important;
/* 美化首页 CreatePage 表单 */
.createpageform {
display: inline-flex !important;
align-items: center;
width: 680px;
max-width: 90%;
margin: 10px auto 20px;
padding: 6px 8px 6px 18px;
background: #ffffff;
border: 1px solid #dadce0;
border-radius: 28px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
transition: all 0.2s ease;
}
.createpageform:hover, .createpageform:focus-within {
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
border-color: #c0c0c0;
}
/* 输入框样式 */
.createpageform .pagenameinput {
flex: 1;
border: none !important;
outline: none !important;
font-size: 15px !important;
color: #202124 !important;
background: transparent !important;
padding: 8px 10px !important;
box-shadow: none !important;
}
/* 提交按钮样式 */
.createpageform input[type="submit"] {
background: #3367d6 !important;
color: #ffffff !important;
border: none !important;
padding: 10px 24px !important;
border-radius: 20px !important;
font-size: 14px !important;
font-weight: 600 !important;
cursor: pointer;
transition: background 0.2s;
}
.createpageform input[type="submit"]:hover {
background: #2857c5 !important;
}
}
/* 首页样式 */