MediaWiki:Common.css:修订间差异

来自McZoo红石站
无编辑摘要
Xm讨论 | 贡献
无编辑摘要
 
(未显示同一用户的19个中间版本)
第1行: 第1行:
#site-tools {
    display: none;
}
#ca-talk {
    display: none;
}
#ca-nstab-main {
    display: none;
}
.logged-in #site-tools {
    display: block;
}
@media screen {
  #p-logo-text a {
    padding: 0.1em 1em 0.2em;
    color: #000000;
    font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
    font-variant: small-caps;
    font-size: 1.5em;
    display: block;
  }
}
/* infobox 样式开始 */
/* infobox 样式开始 */
/* 响应式布局 */
/* 响应式布局 */
第30行: 第56行:
     }
     }
}
}
/* hlist */
/* 移动端显示相关类(.nomobile, .mobileonly, .onlymobile) */
/* Style for horizontal lists (separator following item) */
@media screen and (max-width: 768px) {
.nomobile {
display: none;
}
.clubbanner-content{
display: none;
}
}
@media screen and (min-width: 768px) {
.mobileonly,
.onlymobile {
display: none;
}
}
 
 
/* 链接颜色 */
a.new, #p-personal a.new {
    color: #4591FF;
}
 
 
 
 
 
/* 模糊样式开始 */
.blur-text {
  filter: blur(5px); /* 设置默认模糊效果 */
  transition: filter 0.2s ease-in-out; /* 添加过渡效果 */
  cursor: pointer; /* 鼠标样式为手型 */
}
 
.blur-text:hover, .blur-text.touched {
  filter: none; /* 鼠标悬停或已点击时取消模糊效果 */
}
/* 模糊样式结束 */


.hlist dl,
 
.hlist ol,
 
.hlist ul {
/* 轮播图显示文字 */
.image-container {
  position: relative;
  width: 50%;
}
 
.image-container img {
  width: 100%;
  height: auto;
}
 
.image-container .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}
 
.image-container:hover .overlay {
  opacity: 0.8;
}
 
.image-container .text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
 
.image-container .description {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
 
 
 
/*通知栏*/
#siteNoticeScroll {
    width: 100%;
    height: 40px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0.25em;
}
 
#siteNoticeScroll ul {
    height: 25px;
    line-height: 25px;
    -webkit-transition: margin .73s ease-in-out;
    -moz-transition: margin .73s ease-in-out;
    transition: margin .73s ease-in-out;
}
 
#siteNoticeScroll li {
    height: 25px;
    list-style: none;
    float: left;
    width: 100%;
}
 
/* BEGIN Main Page carousel code */
 
.jcarousel {
    position: relative;
    overflow: hidden;
}
 
.jcarousel-wrapper {
max-width: 1125px;
     margin: 0;
     margin: 0;
    position: relative;
}
}
.hlist dd,
 
.hlist dt,
.jcarousel .jcarousel-list {
.hlist li {
     position: relative;
     display: inline;
     margin: 0;
     margin: 0;
    padding: 0;
}
}
/* Display nested lists inline */
 
.hlist.inline,
.jcarousel .jcarousel-item {
.hlist.inline dl,
    float: left;
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Generate interpuncts */
 
.hlist dt:after {
.jcarousel-item img {
     content: " :";
    display: block;
     max-width: 100%;
    height: auto !important;
}
}
.hlist dd:after,
 
.hlist li:after {
.jcarousel-control-prev,
     content: " · ";
.jcarousel-control-next {
     font-weight: bold;
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
     text-shadow: 0 0 1px #000;
     font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
      -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
.jcarousel-control-prev {
.hlist li:last-child:after {
     left: -15px;
     content: none;
}
}


/* Add parens around nested lists */
.jcarousel-control-next {
.hlist dl dl:before,
     right: -15px;
.hlist ol ol:before,
.hlist ul ul:before {
     content: "(";
}
}
.hlist dl dl:after,
 
.hlist ol ol:after,
.jcarousel-control-prev:hover span,
.hlist ul ul:after {
.jcarousel-control-next:hover span {
     content: ")";
     display: block;
}
}
/* Put numbers in ordered lists */
 
.hlist.hnum ol li {
.jcarousel-control-prev.inactive,
     counter-increment: level1;
.jcarousel-control-next.inactive {
     opacity: .5;
    cursor: default;
}
}
.hlist.hnum ol li:before {
 
     content: counter(level1) " ";
.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
     left: 15px;
}
}
.hlist.hnum ol ol li {
 
     counter-increment: level2;
.jcarousel-pagination a {
     text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
}
.hlist.hnum ol ol li:before {
 
     content: counter(level2) " ";
.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
}
/* END Main Page carousel code */

2024年3月17日 (日) 21:20的最新版本

#site-tools {
    display: none;
}

#ca-talk {
    display: none;
}

#ca-nstab-main {
    display: none;
}

.logged-in #site-tools {
    display: block;
}

@media screen {
  #p-logo-text a {
    padding: 0.1em 1em 0.2em;
    color: #000000;
    font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
    font-variant: small-caps;
    font-size: 1.5em;
    display: block;
  }
}
/* infobox 样式开始 */
/* 响应式布局 */
@media (min-width:0px) and (max-width:768px){
    .vcard{
        width:100%;
        max-width:768;
        border-radius:10px;
        margin:5px auto;
        float:none;
    }
}
@media (min-width:768px) and (max-width:992px){
    .vcard{
        width:100%;
        max-width:992;
        border-radius:10px;
        margin:5px auto;
        float:none;
    }
}
@media (min-width:992px) {
    .vcard{
        width:293px;
        min-width:293px;
        float:right;
        border-radius:10px;
        margin:1px auto;
        margin-left:1em;
        margin-right:1em;
    }
}
/* 移动端显示相关类(.nomobile, .mobileonly, .onlymobile) */
@media screen and (max-width: 768px) {
	.nomobile {
		display: none;
	}
		.clubbanner-content{
		display: none;
}
}
@media screen and (min-width: 768px) {
	.mobileonly,
	.onlymobile {
		display: none;
	}
}


/* 链接颜色 */
a.new, #p-personal a.new {
    color: #4591FF;
}





/* 模糊样式开始 */
.blur-text {
  filter: blur(5px); /* 设置默认模糊效果 */
  transition: filter 0.2s ease-in-out; /* 添加过渡效果 */
  cursor: pointer; /* 鼠标样式为手型 */
}

.blur-text:hover, .blur-text.touched {
  filter: none; /* 鼠标悬停或已点击时取消模糊效果 */
}
/* 模糊样式结束 */



/* 轮播图显示文字 */
.image-container {
  position: relative;
  width: 50%;
}

.image-container img {
  width: 100%;
  height: auto;
}

.image-container .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.image-container:hover .overlay {
  opacity: 0.8;
}

.image-container .text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.image-container .description {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}



/*通知栏*/
#siteNoticeScroll {
    width: 100%;
    height: 40px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0.25em;
}

#siteNoticeScroll ul {
    height: 25px;
    line-height: 25px;
    -webkit-transition: margin .73s ease-in-out;
    -moz-transition: margin .73s ease-in-out;
    transition: margin .73s ease-in-out;
}

#siteNoticeScroll li {
    height: 25px;
    list-style: none;
    float: left;
    width: 100%;
}

/* BEGIN Main Page carousel code */

.jcarousel {
    position: relative;
    overflow: hidden;
}

.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}

.jcarousel .jcarousel-list {
    position: relative;
    margin: 0;
    padding: 0;
}

.jcarousel .jcarousel-item {
    float: left;
}

.jcarousel-item img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}

.jcarousel-control-prev {
    left: -15px;
}

.jcarousel-control-next {
    right: -15px;
}

.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}

.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 15px;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}

/* END Main Page carousel code */