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

来自科学ADV中文wiki
跳到导航 跳到搜索
第232行: 第232行:
  
 
.page-首页 .homepage-gallery p:not(.frozen) a:hover + .work-title {
 
.page-首页 .homepage-gallery p:not(.frozen) a:hover + .work-title {
opacity: 0.3;
+
opacity: 0;
 
}
 
}
  

2020年5月25日 (一) 05:36的版本

/* 这里放置的CSS将应用于所有皮肤 */

.heimu {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}

.heimu:hover,
.heimu:active,
.heimu:focus {
    transition: color .15s linear;
    color: #fff;
}

div > .richtab {
  margin-left: 0.1em;
  margin-right: 0.1em;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.richtab:before, .richtab:after {
    content: " ";
    display: table;
    clear: both;
}
.richtab > li {
  float: left;
  margin-bottom: -1px;
  position: relative;
  display: block;
}
.richtab > li > span {
  position: relative;
  display: block;
}
.richtab > li > span > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 0 0 0 0;
}
.richtab > li > span > a:hover {
  border-color: #cccccc #cccccc #cccccc;
}
.richtab > li.active > span > a,
.richtab > li.active > span > a:hover,
.richtab > li.active > span > a:focus {
  color: #333333;
  background-color: rgba(217, 214, 214, 0.9);
  border: 1px solid #cccccc;
  border-bottom-color: transparent;
  cursor: default;
}
.richtab-content > .tab-pane {
  display: none;
}
.richtab-content > .active {
  display: block;
}

.infobox {
  float: right;
}

.tbrl {
  writing-mode: vertical-rl;
}

.story-vlbl {
	white-space: nowrap;
}

.tinyedit {
  font-size: small;
  white-space: nowrap;  
  padding-top: 1em;
}

.tinyedit a.external {
  background-image: none;
  padding-right: 0px;
  color: #36b;
}

.tinyedit a.external:visited {
  color: #36b;
}

.homepage-gallery td {
  padding: 10px;
  text-align: center;
}

.homepage-gallery td:first-of-type {
  border-left: none;
}

.homepage-gallery td:last-of-type {
  border-right: none;
}

.homepage-gallery .wip {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
}

.homepage-gallery-row1 > td {
  vertical-align: bottom;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
}

.homepage-gallery-row2 > td {
  vertical-align: top;
  border-top: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
}

.home-title {
    width: 100%;
    position: absolute;
    top: -2.7em;
    font-size: 4em;
    font-weight: 800;
    transform: rotate3d(1,1,1,25deg);
}

.home-title a {
    position: relative;
    color: #000;
    z-index: 2;
}

.home-title .sub-title {
	font-size: 70%;
    position: relative;
    top: -2em;
    z-index: 1;
    opacity: 0.15;
}

@media screen and (min-width: 480px) and (max-width: 1000px) {
  .auto-screen-scale {
  	width: 50%;
    height: 50%;
  }
}

@media screen and (max-width: 480px) {
  .auto-screen-scale {
  	width: 30%;
    height: 30%;
  }
  .home-title {
  	font-size: 2em;
  }
}

.page-首页 .firstHeading {
	display: none;
}

.page-首页 .mw-jump {
	display: none;
}

.page-首页 .homepage-gallery {
    margin-top: 12em;
    margin-bottom: 2.5em;
}

.page-首页 .homepage-gallery .work-title {
	position: relative;
    display: block;
    font-size: 1.5em;
    color: #888;
    text-align: left;
    left: -2em;
    top: -1.35em;
    z-index: 0;
    transform: rotate3d(1,1,1,25deg);
    transition: opacity 0.2s ease-out 0.2s;
}

.page-首页 .homepage-gallery .frozen {
	-moz-filter:brightness(0.95) grayscale(100%);
	-webkit-filter:brightness(0.95) grayscale(100%);
	-o-filter:brightness(0.95) grayscale(100%);
	-ms-filter:brightness(0.95) grayscale(100%);
	filter:brightness(0.95) grayscale(100%);
}

.page-首页 .homepage-gallery .frozen > a {
	cursor: default;
}

.page-首页 .homepage-gallery a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 3px;
	box-sizing: border-box;
	transform: rotate3d(1, 1, 1, 25deg);
	z-index: 2;
	transition: filter 0.15s ease-out, z-index 0.15s ease-out, border-color 0.15s ease-out, transform 0.25s ease-out;
	/*overflow: hidden;*/
}

.page-首页 .homepage-gallery p:not(.frozen) a:hover {
	/*border-color: #444;*/
	-moz-filter:brightness(1.05);
	-webkit-filter:brightness(1.05);
	-o-filter:brightness(1.05);
	-ms-filter:brightness(1.05);
	filter:brightness(1.05);
	transform: rotate3d(1, 1, 1, 0deg) translateZ(120px);
	z-index: 3;
}

.page-首页 .homepage-gallery p:not(.frozen) a:hover + .work-title {
	opacity: 0;
}

.page-首页 .homepage-gallery a > img {
	display: block;
	width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    box-shadow: #8e8e8e70 -11px 7px 4px;
    transform: scale(0.95);
}

.page-首页 .homepage-gallery p:not(.frozen) a:hover img {
	transform: scale(1.15);
	box-shadow: #4b4b4b -2px 1px 5px;
}

#mw-panel ul li {
	white-space: pre;
}

.debug-treechart > tbody > tr > td {
	border: 1px solid;
}