Skip to content

聯盟戰地排行榜整合樣式 by 147563bh

Details

Author147563bh

LicenseNo License

Categorytms

Created

Updated

Code size16 kB

Code checksum9e8748c4

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

聯盟戰地排行榜整合樣式

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           聯盟戰地排行榜整合樣式
@namespace      USO Archive
@author         Phoenix~
@description    `聯盟戰地排行榜整合樣式`
@version        0.2
@license        CC-BY-NC-4.0
==/UserStyle== */

@-moz-document regexp("https://tw-event.beanfun.com/MapleStory/Event/E20170713/.*") {
/****************normalize.css v7.0.0****************/
html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}

/****************basic setting****************/
body{
	background: #e6e6e6;
	font-size: 18px;
}
body, select, button{
	font-family: "微軟正黑體", Helvetica, Arial, "LiHei Pro", sans-serif;
}
#topBar{
	background-color: #fff;
	position: relative;
}
.footer {
    z-index: 10;
    height: 70px;
    width: 100%;
    text-align: center;
    background: #fff;
    overflow: hidden;
}

/****************主視覺****************/
.kv{
	height: 644px;
	margin-bottom: 28px;
	background-repeat: no-repeat;
	background-position: 50% top;
	box-shadow: 0 0 30px #8c8c8c;
}
.kv a{
	display: block;
	width: 100%;
	height: 100%;
}

/****************標題****************/
hgroup{
	width: 890px;
	margin: 0 auto 20px auto;
	text-align: right;
}
hgroup h1{
	height: 140px;
	margin: 0 0 7px 0;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/title.jpg) left top no-repeat;
	box-shadow: 2px 2px 5px #b1b1b1;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
hgroup h2{
	width: 263px;
	height: 52px;
	margin: 0;
	display: inline-block;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/question.jpg) left top no-repeat;
	box-shadow: 2px 2px 5px #b1b1b1;
}
hgroup h2 a{
	height: 100%;
	display: block;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
hgroup h2 a:hover{
	background: rgba(0,0,0,.2);
}

/****************頁籤****************/
.tabs{
	width: 890px;
	margin: 0 auto;
	text-align: center;
}
.tabs > div{
	width: 219px;
	height: 201px;
	display: inline-block;
	background-position: 50% 0%;
	background-repeat: no-repeat;
	background-size: 219px 402px;
	position: relative;
	cursor: pointer;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.tabs > div:first-child{
	margin-right: 26px;
	background-image: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/tab1.png);
}
.tabs > div:first-child+div{
	margin-left: 26px;
	background-image: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/tab2.png);
}
.tabs > div:hover{
	top: -2px;
}
.tabs > div.active{
	background-position: 50% 100%;
}
.tabs > div.active:hover{
	top: 0;
	cursor: default;
}

/****************選擇伺服器/搜尋角色****************/
form.action{
	padding: 0 20px 20px 20px;
	overflow: auto;
}
form.action *{
	line-height: 1.8;
	height: 32px;
	padding: 0;
	margin: 0;
	border: none;
	box-sizing: border-box;
	display: block;
}
.sel-server{
	float: left;
}
.sel-server select{
	width: 200px;
}
.search-char{
	float: right;
}
.search-char{
	height: 32px;
}
.search-char *{
	float: left;
}
.search-char span{
	margin-right: 14px;
}
.search-char input[type=text]{
	width: 220px;
	margin-right: 7px;
}
.search-char .submit{
	padding: 0 20px;
	border: 1px solid #2a2ec5;
	color: #fff;
	font-weight: bold;
	text-shadow: 2px 2px 0 black;
	background:linear-gradient(#302cc2, #0c0396);
	filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#302cc2', EndColorStr='#0c0396'); 
}

/****************頁籤內容****************/
.tab-content
{
  width: 1390px;
  margin: 0 auto;
  padding: 24px 0 0 0;
  color: #fff;
  border: 8px solid #8c6d50;
  box-sizing: border-box;
  border-radius: 16px;
  background: #17120d;
}

.caption
{
  height: 58px;
  width: 426px;
  margin: 0 auto 30px auto;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-image: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/caption1.png);
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: 426px 58px;
}
.IE8 .caption{
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="style/https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/caption1.png", sizingMethod="scale");
	background: none;
}

/****************排行榜表格****************/
.tab-content section{
	display: block;
}
.tab-content section+section{
	display: none;
}
.table-th{
	height: 50px;
	overflow: auto;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/th-bg.png) left top repeat-x;
}
.table-th .th
{
  line-height: 50px;
  box-sizing: border-box;
  text-align: center;
  float: left;
  border-left: 1px solid #755a3d;
}

.table-th .th:first-child
{
  border: none;
  width: 23%;
}

.table-th .th:first-child:before
{
  content: "排名&角色名稱";
}

.table-th .th:first-child+div
{
  width: 12%;
}

.table-th .th:first-child+div:before
{
  content: "職業";
}

.table-th .th:first-child+div+div
{
  width: 12%;
}

.table-th .th:first-child+div+div:before
{
  content: "戰力";
}

.table-th .th:first-child+div+div+div
{
  width: 5%;
}

.table-th .th:first-child+div+div+div:before
{
  content: "變化";
}

.table-th .th:first-child+div+div+div+div
{
  width: 5%;
}

.table-th .th:first-child+div+div+div+div:before
{
  content: "排名";
}

.table-th .th:first-child+div+div+div+div+div
{
  width: 5.2%;
}

.table-th .th:first-child+div+div+div+div+div:before
{
  content: "總等級";
}

.table-th .th:first-child+div+div+div+div+div+div
{
  width: 4.9%;
}

.table-th .th:first-child+div+div+div+div+div+div:before
{
  content: "變化";
}

.table-th .th:first-child+div+div+div+div+div+div+div
{
  width: 11%;
}

.table-th .th:first-child+div+div+div+div+div+div+div:before
{
  content: "角色等級";
}

.table-th .th:first-child+div+div+div+div+div+div+div+div
{
  width: 10%;
}

.table-th .th:first-child+div+div+div+div+div+div+div+div:before
{
  content: "資料時間";
}

/****************表格內容****************/
.table .row{
	overflow: auto;
	line-height: 95px;
	text-align: center;
}
.table .row:nth-child(odd){
	background: #211b17;
}
.table .row *{
	box-sizing: border-box;
}
.table .row > *{
	float: left;
}
.table .row .wrap > *{
	float: left;
}
.table .rank0,.rank, .table .avatar, .table .id, .table .role, .table .point, .table .change{
	padding: 12px 0;
}
.table .rank0
{
  width: 5%;
  font-size: 20px;
}

.table .rank
{
  width: 5%;
  font-size: 20px;
  border-left: 5px solid #855025;
}

.table .avatar
{
  width: 7%;
  display: block;
}

.table .avatar img
{
  box-shadow: 0 0 0 2px #b19b7c;
  display: block;
  border-radius: 8px;
}

.table .row .wrap
{
  width: 35%;
}

.table .row .wrap span:first-child
{
  display: none;
}

.table .id
{
  width: 152px;
}

.table .role
{
  width: 164px;
  border-left: 1px solid #3a2e24;
}

.table .point
{
  width: 15%;
  border-left: 1px solid #3a2e24;
}

.table .change
{
  width: 68px;
  height: 120px;
  border-left: 1px solid #3a2e24;
  border-right: 1px solid #3a2e24;
}

.table .date
{
  width: auto;
  height: 120px;
  border-left: 1px solid #3a2e24;
}
.table .row .rank1{
	color: black;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/rank1.png) 50% 50% no-repeat;
}
.table .row .rank2{
	color: black;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/rank2.png) 50% 50% no-repeat;
}
.table .row .rank3{
	color: black;
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/rank3.png) 50% 50% no-repeat;
}
.table .change.up{
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/change-up.png) 50% 50% no-repeat;
	background-size: 26px 26px;
}
.table .change.down{
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/change-down.png) 50% 50% no-repeat;
	background-size: 26px 26px;
}
.table .change.even{
	background: url(https://tw-event.beanfun.com/MapleStory/Event/E20170713/style/img/change...

Reviews

No reviews yet.