The editors' meeting has been canceled for technical reasons.

Template:Tabs/styles.css:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
标签已被回退
无编辑摘要
标签手工回退
 
(未显示同一用户的10个中间版本)
第1行: 第1行:
/* 隐藏所有标签内容 */
/* 标签容器整体样式 */
.mcPestanya {
.tabs-container {
  display: none;
    font-family: Arial, sans-serif;
    margin: 20px;
}
}


/* 默认显示第一个标签内容 */
/* 标签按钮样式 */
.mcPestanyaActive {
.tabs-buttons {
  display: block;
    display: flex;
    border-bottom: 2px solid #ccc;
}
 
.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    background-color: #f8f8ff;
    border: 1px solid #ccc;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}
}


/* 当标签内容被锚点选择时,显示对应的内容 */
.tab-button:hover {
.mcPestanya:target {
    background-color: #e0e0ff;
  display: block;
    color: #000;
}
}


/* 标签按钮样式 */
/* 选中的标签按钮高亮 */
.mcBoto {
.tab-button.active {
  cursor: pointer;
    background-color: #0078d7;
  padding: 10px;
    color: white;
  margin: 5px;
    border-bottom: 2px solid #0078d7;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  color: #7050a0;
}
}


/* 选中标签的样式 */
/* 标签内容样式 */
.mcBotoSel {
.tabs-contents {
  font-weight: bold;
    border: 1px solid #ccc;
  background-color: #9070c0;
    background-color: #f8f8ff;
  color: white;
    padding: 20px;
  border: none;
  text-decoration: none;
}
}


.mcBoto:hover {
.tab-content {
  background-color: #d0b0ff;
    display: none;
  text-decoration: none;
}
}


/* 内容容器样式 */
.tab-content.active {
.mcContingut {
    display: block;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
}
}

2025年3月1日 (六) 20:26的最新版本

/* 标签容器整体样式 */
.tabs-container {
    font-family: Arial, sans-serif;
    margin: 20px;
}

/* 标签按钮样式 */
.tabs-buttons {
    display: flex;
    border-bottom: 2px solid #ccc;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    background-color: #f8f8ff;
    border: 1px solid #ccc;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}

.tab-button:hover {
    background-color: #e0e0ff;
    color: #000;
}

/* 选中的标签按钮高亮 */
.tab-button.active {
    background-color: #0078d7;
    color: white;
    border-bottom: 2px solid #0078d7;
}

/* 标签内容样式 */
.tabs-contents {
    border: 1px solid #ccc;
    background-color: #f8f8ff;
    padding: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}