“MediaWiki:Mobile.css”的版本间的差异

来自Assault Lily Project 中文维基
跳到导航 跳到搜索
标签移动网页编辑 移动版编辑
 
(未显示3个用户的88个中间版本)
第1行: 第1行:
 
/* 这里设置了Google Font */
 
/* 这里设置了Google Font */
  
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&display=swap');
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&family=Noto+Serif+JP:wght@400;600&family=Noto+Serif:wght@400;600&display=swap');
  
 
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
 
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
 
body {
 
body {
   font-family: 'Noto Serif SC', serif;
+
   font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
 +
}
 +
 
 +
blockquote {
 +
  font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
 
}
 
}
  
第11行: 第15行:
 
     line-height: 2;
 
     line-height: 2;
 
}
 
}
 +
 +
/* === Collapsible elements. Toggle-link moved to left. ===
 +
/* Margin around it adjusted.
 +
/* https://community.fandom.com/wiki/Thread:1104268
 +
/* https://community.wikia.com/wiki/Thread:499656
 +
/* https://community.wikia.com/wiki/Help:Collapsing
 +
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */
 +
 +
.mw-collapsible span.mw-collapsible-toggle {
 +
    float:left;
 +
    margin-left:0;
 +
    margin-right:1em;
 +
}
 +
  
 
.content {
 
.content {
第20行: 第38行:
 
}
 
}
  
 +
blockquote {
 +
    margin: 0 1em;
 +
    padding: 0 1em;
 +
    font-size: 1em;
 +
    border-left: #ff9dae 4px solid;
 +
}
  
 
/* Changes the default font used for MediaWiki headings to Noto Serif: */
 
/* Changes the default font used for MediaWiki headings to Noto Serif: */
第25行: 第49行:
 
#content h2 {
 
#content h2 {
 
   font-family: 'Noto Serif SC', serif;
 
   font-family: 'Noto Serif SC', serif;
 +
}
 +
 +
.lily-table {
 +
    display:table; border:solid 2px #ff9dae; border-radius:20px;vertical-align: top;
 +
  }
 +
 +
.lily-table th {
 +
    background-color:#ff9dae;border-radius:20px;color:white;vertical-align: top!important;width:140px;
 +
  }
 +
 +
.lily-table td {
 +
    border-bottom: 1px solid rgba(255, 157, 174, 0.6);width:650px;vertical-align: top!important;
 +
  }
 +
 +
.lily-table th a {
 +
    color:white!important;
 +
  }
 +
 +
.lily-table-title a {
 +
    color:white!important;
 +
  }
 +
 +
.lily-table th a:visited {
 +
    color:white!important;
 +
  }
 +
 +
.character-table {
 +
    display:table; border:solid 2px #ff9dae; float:right;margin-left: 20px;border-radius:20px;
 +
  }
 +
 +
.character-table th {
 +
    background-color:#ff9dae; color:white; font-weight:bold; border-radius:20px; padding:2px; text-align:center;
 +
  }
 +
 +
.character-table td {
 +
    text-align: center;
 +
    width:300px;font-weight:bold;border-bottom: 1px solid rgba(255, 157, 174, 0.3);
 +
  }
 +
 +
  .header-row {
 +
    background-color: #ffb6c1; /* 粉色背景 */
 +
    text-align: center;font-weight:bold;color:white;
 +
  }
 +
/* ldvc背景 */
 +
  .header-rowldvc {
 +
    background-color: #ed4180!important;
 +
    text-align: center;font-weight:bold;color:white!important;
 +
  }
 +
  .table-thldvc {
 +
    background-color:#ed4180!important;color:white!important;
 +
}
 +
 +
  .table-tdldvc {
 +
    border-bottom: 1px solid rgba(237, 65, 128, 0.3) !important;
 +
}
 +
 +
.bg-image-ldvc {
 +
  background-image: url("https://assaultlily-otaku.icu/images/0/0d/Bg-ldvc.png");
 +
  background-size: 250px 410px;
 +
  background-position: 65% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #ed4180;
 +
}
 +
/* 神庭背景 */
 +
  .header-roweple {
 +
    background-color: #aba080!important;
 +
    text-align: center;font-weight:bold;color:white!important;
 +
  }
 +
  .table-theple {
 +
    background-color:#aba080!important;color:white!important;
 +
}
 +
 +
  .table-tdeple {
 +
    border-bottom: 1px solid rgba(171, 160, 128, 0.6) !important;
 +
}
 +
 +
.bg-image-eple {
 +
  background-image: url("https://assaultlily-otaku.icu/images/5/56/Bg-eple.png");
 +
  background-size: 250px 410px;
 +
  background-position: 65% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #aba080;
 +
}
 +
/* 龙校背景 */
 +
  .header-roweren {
 +
    background-color: #7c89b5 !important;
 +
    text-align: center;font-weight:bold;color:white!important;
 +
  }
 +
  .table-theren {
 +
    background-color:#7c89b5 !important;color:white!important;
 +
}
 +
 +
  .table-tderen {
 +
    border-bottom: 1px solid rgba(124,137, 181, 0.3) !important;
 +
}
 +
 +
.bg-image-eren {
 +
  background-image: url("https://assaultlily-otaku.icu/images/b/b8/Bg-eren.png");
 +
  background-size: 250px 410px;
 +
  background-position: 65% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #7c89b5 ;
 +
}
 +
 +
/* 桑格背景 */
 +
  .header-rowsang {
 +
    background-color: #000000 !important;
 +
    text-align: center;font-weight:bold;color:white!important;
 +
  }
 +
  .table-thsang {
 +
    background-color:#6b0002 !important;color:white!important;
 +
}
 +
 +
  .table-tdsang {
 +
    border-bottom: 1px solid rgba(107,0, 2, 0.3) !important;
 +
}
 +
 +
.bg-image-sang {
 +
  background-image: url("https://assaultlily-otaku.icu/images/7/75/Bg-sang.png");
 +
  background-size: 250px 410px;
 +
  background-position: 65% 65%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #000000 ;
 +
}
 +
 +
/* 圣徒背景 */
 +
  .header-rowsaints {
 +
    background-color: #151947 !important;
 +
    text-align: center;font-weight:bold;color:white!important;
 +
  }
 +
  .table-thsaints {
 +
    background-color:#fee294 !important;color:black!important;
 +
}
 +
 +
  .table-tdsaints {
 +
    border-bottom: 1px solid rgba(44, 42, 99, 0.6) !important;
 +
}
 +
 +
.bg-image-saints {
 +
  background-image: url("https://assaultlily-otaku.icu/images/a/a3/Bg-saints.png");
 +
  background-size: 250px 410px;
 +
  background-position: 70% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #151947 ;
 +
}
 +
 +
/* 二亚背景 */
 +
  .header-rowerya {
 +
    background-color: #000000 !important;
 +
    text-align: center;font-weight:bold;color:white;
 +
  }
 +
  .table-therya {
 +
    background-color:#000000 !important;
 +
}
 +
 +
  .table-tderya {
 +
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
 +
}
 +
 +
.bg-image-erya {
 +
  background-image: url("https://assaultlily-otaku.icu/images/3/3a/Erya-bg.png");
 +
  background-size: 250px 410px;
 +
  background-position: 60% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #000000;
 +
}
 +
/* 鲸岬背景 */
 +
  .header-rowjia {
 +
    background-color: #151947 !important;
 +
    text-align: center;font-weight:bold;color:white;
 +
  }
 +
  .table-thjia {
 +
    background-color:#151947 !important;
 +
}
 +
 +
  .table-tdjia {
 +
    border-bottom: 1px solid rgba(21, 25, 71, 0.3) !important;
 +
}
 +
 +
.bg-image-jia {
 +
  background-image: url("https://assaultlily-otaku.icu/images/7/7b/%E9%B2%B8%E5%B2%AC%E8%83%8C%E6%99%AF%E5%9B%BE.png");
 +
  background-size: 250px 410px;
 +
  background-position: 60% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #151947;
 +
}
 +
 +
 +
  .bg-image-erya {
 +
  background-image: url("https://assaultlily-otaku.icu/images/3/3a/Erya-bg.png");
 +
  background-size: 250px 410px;
 +
  background-position: 60% 60%;
 +
  background-repeat: no-repeat;
 +
  border:solid 2px #000000;
 
}
 
}
  
第71行: 第289行:
  
 
a {
 
a {
   color: #4e66d4;
+
   color: #ff9dae;font-weight:bold;
 
}
 
}
  
 
a.new {
 
a.new {
   color: #ff4b6a;
+
   color: #a6a6a6; text-decoration: underline;
 
}
 
}
  
 
a:visited {  
 
a:visited {  
   color:#9ca5aa;  
+
   color:#7f90dc; text-decoration: underline;
 
}  
 
}  
  
第87行: 第305行:
  
 
.mw-parser-output a.extiw, .mw-parser-output a:visited {  
 
.mw-parser-output a.extiw, .mw-parser-output a:visited {  
   color:#9ca5aa;  
+
   color:#7f90dc; text-decoration: underline;
 
}  
 
}  
  
第95行: 第313行:
  
 
.portal .body li a, .vector-menu-portal .body li a:visited {  
 
.portal .body li a, .vector-menu-portal .body li a:visited {  
   color:#555555;  
+
   color:#ff9dae; text-decoration: underline;
 
}  
 
}  
  
第103行: 第321行:
  
 
.vector-menu-tabs li a:visited {  
 
.vector-menu-tabs li a:visited {  
   color:#555555;  
+
   color:#ff9dae; text-decoration: underline;
 
}  
 
}  
  
第111行: 第329行:
  
 
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
 
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
   color: #ff4b6a;
+
   color: #ff9dae;text-decoration: underline;
 
}
 
}
  
第118行: 第336行:
 
}
 
}
  
h2, h3, h4, h5, h6 {
+
h2 {
 
     line-height: 2;
 
     line-height: 2;
 +
}
 +
 +
h2, h4, h5, h6 {
 +
    line-height: 2;
 +
}
 +
 +
h3  {
 +
  text-indent: 5px;
 +
  border-left: #ff9dae 6px solid;
 +
  margin-top: 2px; /* 调整顶部边距,微调文本位置 */
 +
  padding-top: 1px; /* 增加左侧内边距,确保文本不靠得太近边框 */
 
}
 
}
  
第137行: 第366行:
 
.content p {
 
.content p {
 
     margin: 1em 0;
 
     margin: 1em 0;
 +
    text-align: justify;
 +
}
 +
 +
.content table {
 +
    overflow: auto;
 +
    overflow-y: auto;
 +
    overflow-x: auto;
 +
}
 +
 +
.content ul {
 +
    list-style-type: disc;
 +
    padding-left: 1em;
 +
    margin: 1em 0;
 +
}
 +
 +
.content h4, .content h5, .content h6 {
 +
    font-size: 1.1em;
 
}
 
}
  
第157行: 第403行:
 
.header .search-box {
 
.header .search-box {
 
     padding-left: 1.5em;
 
     padding-left: 1.5em;
 +
}
 +
 +
.minerva-user-navigation {
 +
    min-width: 0;
 +
}
 +
 +
.content figure.mw-default-size, .content .thumb.mw-default-size, .content figure.mw-halign-right, .content .thumb.mw-halign-right, .content figure.tright, .content .thumb.tright {
 +
    margin: 15px 10px 3px 10px;
 +
}
 +
 +
/* 反白用样式 */
 +
 +
.hidetext {
 +
    color: #ff9dae;
 +
    background: #ff9dae;
 +
    transition: all 0.5s;
 +
}
 +
 +
.hidetext:hover {
 +
    color: #ffffff;
 +
}
 +
 +
.hidetext a {
 +
    color: #ff9dae;
 +
    transition: all 0.5s;
 +
}
 +
 +
.hidetext:hover a {
 +
    color: #4e66d4;
 +
}
 +
 +
.hidetext a.new {
 +
    color: #ff9dae;
 +
    transition: all 0.5s;
 +
}
 +
 +
.hidetext:hover a.new {
 +
    color: #ff4b6a;
 +
}
 +
 +
.hidetext a:visited {
 +
  color:#ff9dae;
 +
}
 +
 +
.hidetext:hover a:visited {
 +
  color:#9ca5aa;
 +
}
 +
 +
 +
/* === Collapsible elements. Toggle-link moved to left. ===
 +
/* Margin around it adjusted.
 +
/* https://community.fandom.com/wiki/Thread:1104268
 +
/* https://community.wikia.com/wiki/Thread:499656
 +
/* https://community.wikia.com/wiki/Help:Collapsing
 +
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */
 +
 +
.mw-collapsible span.mw-collapsible-toggle {
 +
    float:left;
 +
    margin-left:0;
 +
    margin-right:1em;
 +
}
 +
 +
@media (max-width: 720px) {
 +
    body .content .character-table {
 +
        width: 90%;
 +
        display: table !important;
 +
        box-sizing: content-box !important;
 +
    }
 +
 +
    body .content table.wikitable {
 +
        border: 1px solid !important;  /* 或者你想要的任何其他边框样式 */
 +
    }
 +
 +
    body .content caption {
 +
        display: table-caption !important;
 +
    }
 
}
 
}

2024年9月24日 (二) 00:33的最新版本

/* 这里设置了Google Font */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&family=Noto+Serif+JP:wght@400;600&family=Noto+Serif:wght@400;600&display=swap');

/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
  font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
}

blockquote {
  font-family: 'Noto Serif SC','Noto Serif JP', 'Noto Serif', serif;
}

.mw-body-content {
    line-height: 2;
}

/* === Collapsible elements. Toggle-link moved to left. === 
/* Margin around it adjusted. 
/* https://community.fandom.com/wiki/Thread:1104268
/* https://community.wikia.com/wiki/Thread:499656 
/* https://community.wikia.com/wiki/Help:Collapsing 
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */

.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}


.content {
    line-height: 2;
}

.toc {
    line-height: 1.6;
}

blockquote {
    margin: 0 1em;
    padding: 0 1em;
    font-size: 1em;
    border-left: #ff9dae 4px solid;
}

/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1, 
#content h2 {
  font-family: 'Noto Serif SC', serif;
}

 .lily-table {
    display:table; border:solid 2px #ff9dae; border-radius:20px;vertical-align: top;
  }

 .lily-table th {
    background-color:#ff9dae;border-radius:20px;color:white;vertical-align: top!important;width:140px;
  }

 .lily-table td {
    border-bottom: 1px solid rgba(255, 157, 174, 0.6);width:650px;vertical-align: top!important;
  }

 .lily-table th a {
    color:white!important;
  }

 .lily-table-title a {
    color:white!important;
  }

 .lily-table th a:visited {
    color:white!important;
  }

 .character-table {
    display:table; border:solid 2px #ff9dae; float:right;margin-left: 20px;border-radius:20px;
  }

 .character-table th {
    background-color:#ff9dae; color:white; font-weight:bold; border-radius:20px; padding:2px; text-align:center;
  }

 .character-table td {
    text-align: center;
    width:300px;font-weight:bold;border-bottom: 1px solid rgba(255, 157, 174, 0.3);
  }

  .header-row {
    background-color: #ffb6c1; /* 粉色背景 */
    text-align: center;font-weight:bold;color:white;
  }
/* ldvc背景 */
  .header-rowldvc {
    background-color: #ed4180!important;
    text-align: center;font-weight:bold;color:white!important;
  }
  .table-thldvc {
    background-color:#ed4180!important;color:white!important;
}

  .table-tdldvc {
    border-bottom: 1px solid rgba(237, 65, 128, 0.3) !important;
}

.bg-image-ldvc {
  background-image: url("https://assaultlily-otaku.icu/images/0/0d/Bg-ldvc.png");
  background-size: 250px 410px;
  background-position: 65% 60%;
  background-repeat: no-repeat;
  border:solid 2px #ed4180;
}
/* 神庭背景 */
  .header-roweple {
    background-color: #aba080!important;
    text-align: center;font-weight:bold;color:white!important;
  }
  .table-theple {
    background-color:#aba080!important;color:white!important;
}

  .table-tdeple {
    border-bottom: 1px solid rgba(171, 160, 128, 0.6) !important;
}

.bg-image-eple {
  background-image: url("https://assaultlily-otaku.icu/images/5/56/Bg-eple.png");
  background-size: 250px 410px;
  background-position: 65% 60%;
  background-repeat: no-repeat;
  border:solid 2px #aba080;
}
/* 龙校背景 */
  .header-roweren {
    background-color: #7c89b5 !important;
    text-align: center;font-weight:bold;color:white!important;
  }
  .table-theren {
    background-color:#7c89b5 !important;color:white!important;
}

  .table-tderen {
    border-bottom: 1px solid rgba(124,137, 181, 0.3) !important;
}

.bg-image-eren {
  background-image: url("https://assaultlily-otaku.icu/images/b/b8/Bg-eren.png");
  background-size: 250px 410px;
  background-position: 65% 60%;
  background-repeat: no-repeat;
  border:solid 2px #7c89b5 ;
}

/* 桑格背景 */
  .header-rowsang {
    background-color: #000000 !important;
    text-align: center;font-weight:bold;color:white!important;
  }
  .table-thsang {
    background-color:#6b0002 !important;color:white!important;
}

  .table-tdsang {
    border-bottom: 1px solid rgba(107,0, 2, 0.3) !important;
}

.bg-image-sang {
  background-image: url("https://assaultlily-otaku.icu/images/7/75/Bg-sang.png");
  background-size: 250px 410px;
  background-position: 65% 65%;
  background-repeat: no-repeat;
  border:solid 2px #000000 ;
}

/* 圣徒背景 */
  .header-rowsaints {
    background-color: #151947 !important;
    text-align: center;font-weight:bold;color:white!important;
  }
  .table-thsaints {
    background-color:#fee294 !important;color:black!important;
}

  .table-tdsaints {
    border-bottom: 1px solid rgba(44, 42, 99, 0.6) !important;
}

.bg-image-saints {
  background-image: url("https://assaultlily-otaku.icu/images/a/a3/Bg-saints.png");
  background-size: 250px 410px;
  background-position: 70% 60%;
  background-repeat: no-repeat;
  border:solid 2px #151947 ;
}

/* 二亚背景 */
  .header-rowerya {
    background-color: #000000 !important;
    text-align: center;font-weight:bold;color:white;
  }
  .table-therya {
    background-color:#000000 !important;
}

  .table-tderya {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.bg-image-erya {
  background-image: url("https://assaultlily-otaku.icu/images/3/3a/Erya-bg.png");
  background-size: 250px 410px;
  background-position: 60% 60%;
  background-repeat: no-repeat;
  border:solid 2px #000000;
}
/* 鲸岬背景 */
  .header-rowjia {
    background-color: #151947 !important;
    text-align: center;font-weight:bold;color:white;
  }
  .table-thjia {
    background-color:#151947 !important;
}

  .table-tdjia {
    border-bottom: 1px solid rgba(21, 25, 71, 0.3) !important;
}

.bg-image-jia {
  background-image: url("https://assaultlily-otaku.icu/images/7/7b/%E9%B2%B8%E5%B2%AC%E8%83%8C%E6%99%AF%E5%9B%BE.png");
  background-size: 250px 410px;
  background-position: 60% 60%;
  background-repeat: no-repeat;
  border:solid 2px #151947;
}


  .bg-image-erya {
  background-image: url("https://assaultlily-otaku.icu/images/3/3a/Erya-bg.png");
  background-size: 250px 410px;
  background-position: 60% 60%;
  background-repeat: no-repeat;
  border:solid 2px #000000;
}

/* 这里放置的CSS将影响使用移动版网站的用户 */

body {
  background: #ffffff;
}

/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
  background: #ffffff;
}

#mw-mf-viewport {
    overflow-x: hidden;
}

.header-container.header-chrome {
    background-color: #ffd0d8;
    box-shadow: none;
}

.last-modified-bar {
    border-bottom: solid 1px #ffd0d8;
    background-color: #ffd0d8;
}

.last-modified-bar.active {
    background-color: #7f90dc!important;
    color: #fff;
}

.minerva-footer {
    border-top: none;
    background-color: #ffd0d8;
}

footer > .post-content > h2, .mw-footer > .post-content > h2 {
    border-bottom: solid 1px #ffc3ce;
}

.content .thumbcaption {
    text-align: center;
}

a {
  color: #ff9dae;font-weight:bold;
}

a.new {
  color: #a6a6a6; text-decoration: underline;
}

a:visited { 
  color:#7f90dc; text-decoration: underline;
} 

.mw-parser-output a.extiw, .mw-parser-output a.external {
  color: #4e66d4;
}

.mw-parser-output a.extiw, .mw-parser-output a:visited { 
  color:#7f90dc; text-decoration: underline;
} 

.portal .body li a, .vector-menu-portal .body li a {
  color: #555555;
}

.portal .body li a, .vector-menu-portal .body li a:visited { 
  color:#ff9dae; text-decoration: underline;
} 

.vector-menu-tabs li a {
  color: #ff4b6a;
}

.vector-menu-tabs li a:visited { 
  color:#ff9dae; text-decoration: underline;
} 

.vector-menu-tabs .new a, .vector-menu-tabs .new a {
  color: #ff4b6a;
}

.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
  color: #ff9dae;text-decoration: underline;
}

h1, h2 {
    border-bottom: 1px solid #ff9dae;
}

h2 {
    line-height: 2;
}

h2, h4, h5, h6 {
    line-height: 2;
}

h3  {
  text-indent: 5px;
  border-left: #ff9dae 6px solid;
  margin-top: 2px; /* 调整顶部边距,微调文本位置 */
  padding-top: 1px; /* 增加左侧内边距,确保文本不靠得太近边框 */
}

td {
    padding: 0 5px;
}

.mw-references-wrap {
    font-size: 0.8em;
    margin-top: 2em;
}

.mw-body-content p {
    margin: 1em 0;
}

.content p {
    margin: 1em 0;
    text-align: justify;
}

.content table {
    overflow: auto;
    overflow-y: auto;
    overflow-x: auto;
}

.content ul {
    list-style-type: disc;
    padding-left: 1em;
    margin: 1em 0;
}

.content h4, .content h5, .content h6 {
    font-size: 1.1em;
}

.mw-body {
    border: none;
}

.vector-menu-tabs li {
    background-image: linear-gradient(to top,#ffd0d8 0,#fff5f7 1px,rgb(255 255 255 / 0%) 100%);
}

.vector-menu-tabs .selected {
    background: linear-gradient(to top,#ffffff 0,#ffffff 1px,rgb(255 255 255 / 0%) 100%);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
    background-image: linear-gradient(to bottom,rgb(255 255 255 / 0%) 0,#ffd0d8 100%)
}

.header .search-box {
    padding-left: 1.5em;
}

.minerva-user-navigation {
    min-width: 0;
}

.content figure.mw-default-size, .content .thumb.mw-default-size, .content figure.mw-halign-right, .content .thumb.mw-halign-right, .content figure.tright, .content .thumb.tright {
    margin: 15px 10px 3px 10px;
}

/* 反白用样式 */

.hidetext {
    color: #ff9dae;
    background: #ff9dae;
    transition: all 0.5s;
}

.hidetext:hover {
    color: #ffffff;
}

.hidetext a {
    color: #ff9dae;
    transition: all 0.5s;
}

.hidetext:hover a {
    color: #4e66d4;
}

.hidetext a.new {
    color: #ff9dae;
    transition: all 0.5s;
}

.hidetext:hover a.new {
    color: #ff4b6a;
}

.hidetext a:visited { 
  color:#ff9dae; 
} 

.hidetext:hover a:visited { 
  color:#9ca5aa; 
} 


/* === Collapsible elements. Toggle-link moved to left. === 
/* Margin around it adjusted. 
/* https://community.fandom.com/wiki/Thread:1104268
/* https://community.wikia.com/wiki/Thread:499656 
/* https://community.wikia.com/wiki/Help:Collapsing 
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */

.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}

@media (max-width: 720px) {
    body .content .character-table {
        width: 90%;
        display: table !important;
        box-sizing: content-box !important;
    }

    body .content table.wikitable {
        border: 1px solid !important;  /* 或者你想要的任何其他边框样式 */
    }

    body .content caption {
        display: table-caption !important;
    }
}