Vainglory Esports Wiki
(Automatically syncing global gadgets across wikis)
 
m (Automatically syncing global gadgets across wikis)
Line 24: Line 24:
 
display:inline-block;
 
display:inline-block;
 
text-align:center;
 
text-align:center;
−
padding-right:0.3em;
+
margin-right:0.3em;
  +
}
  +
  +
.news-subject-player-wrapper {
  +
text-align:left;
  +
display:flex;
  +
}
  +
  +
.news-subject-player {
  +
width:60px;
  +
height:25px;
  +
display:inline-block;
  +
text-align:center;
  +
background-image:url("https://commons-esports.gamepedia.com/media/thumb/1/1d/Unknown_Infobox_Image_-_Player.png/25px-Unknown_Infobox_Image_-_Player.png");
  +
background-position:center;
  +
background-repeat:no-repeat;
  +
margin-right:0.3em;
  +
}
  +
  +
.skin-hydradark .news-subject-player {
  +
filter:invert(100%);
  +
}
  +
  +
.news-subject-player-text {
  +
display:inline-block;
  +
width:calc(100% - .3em - 60px);
 
}
 
}
   
Line 56: Line 81:
 
}
 
}
   
−
.news-table .player-name,
+
.player-rename-newname,
  +
.news-table .news-sentence .player-name,
 
.news-table .news-sentence a {
 
.news-table .news-sentence a {
 
font-weight:bold;
 
font-weight:bold;
Line 124: Line 150:
   
 
.player-team-history {
 
.player-team-history {
−
margin: 1em 1em 1em 0;
+
margin: 0 1em 1em 0;
 
color: var(--body-text-color);
 
color: var(--body-text-color);
 
border-collapse: collapse;
 
border-collapse: collapse;
Line 141: Line 167:
 
}
 
}
   
−
.player-team-history-role {
+
.popup-button-pretty .player-team-history-role {
 
text-align:center;
 
text-align:center;
  +
}
  +
  +
.popup-button-pretty .player-team-history {
  +
margin: 0.25em .5em;
  +
text-align: center;
  +
}
  +
  +
.popup-button-pretty .player-team-history > * > tr:last-child > td, .player-team-history > tr:last-child > td {
  +
border-bottom: 0;
 
}
 
}
   
Line 156: Line 191:
 
.player-history-timeline .tabs-dynamic table {
 
.player-history-timeline .tabs-dynamic table {
 
border-left: 0;
 
border-left: 0;
  +
}
  +
  +
.pth-duration-heading::after {
  +
font-family:FontAwesome;
  +
content:'\f017';
  +
font-weight:normal;
  +
}
  +
  +
.pth-duration-heading {
  +
display:inline;
 
}
 
}

Revision as of 00:49, 18 March 2020

.newsheading-regionlist ul {
	margin: 0;
}

.newsheading-regionlist {
	text-align: center;
	line-height: 1;
}

.newsheading-regionlist li {
	display: inline;
}

.newsheading-regionlist li::after {
	content: "\00a0•";
}

.newsheading-regionlist li:last-child::after {
	content: "";
}

.news-league-icon {
 width:60px;
 display:inline-block;
 text-align:center;
 margin-right:0.3em;
}

.news-subject-player-wrapper {
 text-align:left;
 display:flex;
}

.news-subject-player {
 width:60px;
 height:25px;
 display:inline-block;
 text-align:center;
 background-image:url("https://commons-esports.gamepedia.com/media/thumb/1/1d/Unknown_Infobox_Image_-_Player.png/25px-Unknown_Infobox_Image_-_Player.png");
 background-position:center;
 background-repeat:no-repeat;
 margin-right:0.3em;
}

.skin-hydradark .news-subject-player {
 filter:invert(100%);
}

.news-subject-player-text {
 display:inline-block;
 width:calc(100% - .3em - 60px);
}

.player-history-timeline h3 {
 font-size:100%;
}

.player-history-timeline .news-league-icon {
 width:45px;
}

.news-league-text {
 display:inline-block;
}

.news-region {
 width:10px;
}

.news-player-subject,
.news-player-subject .teamname,
.news-subject,
.news-subject .teamname {
 white-space:nowrap;
}

.news-text { width:100%; }

.news-table th {
	text-align:left;
}

.player-rename-newname,
.news-table .news-sentence .player-name,
.news-table .news-sentence a {
	font-weight:bold;
}

.news-edit-button {
  display:inline-block;
  font-weight:normal;
  margin-left:.5em;
  font-size:80%;
 -webkit-touch-callout:none;
 -webkit-user-select:none;
 -khtml-user-select:none;
 -moz-user-select:none;
 -ms-user-select:none;
 user-select:none;
}

.news-edit-button::before {
  content:'[';
  display:inline-block;
  margin-right:.2em;
}

.news-edit-button::after {
  content:']';
  display:inline-block;
  margin-left:.2em;
}

.news-player-table {
  border-collapse: collapse;
}

table.news-player-table > tr > th, 
table.news-player-table > tr > td, 
table.news-player-table > * > tr > th, 
table.news-player-table > * > tr > td {
    padding: 0.15em 0.4em;
}

.news-player-content {
  width:100%;
}

.news-player-subject .team {
  display:flex;
  justify-content:space-between
}

.news-list .role-icon,
.news-table .role-icon {
  margin-right:3px;
  vertical-align: 5%;
}

.rosterchange-join .player-name,
.rosterchange-join a {
  font-weight:bold;
}

/*
.player-history {
	display: flex;
	flex-wrap: wrap;
}*/

.player-team-history {
	margin: 0 1em 1em 0;
	color: var(--body-text-color);
	border-collapse: collapse;
}

.player-team-history > * > tr > td,
.player-team-history > tr > td {
	border: 1px solid var(--table-border);
	border-width: 1px 0;
	padding: 0.25em;
}

.player-team-history > * > tr > th,
.player-team-history > tr > th {
	font-size: 1.2em;
}

.popup-button-pretty .player-team-history-role {
 text-align:center;
}

.popup-button-pretty .player-team-history {
    margin: 0.25em .5em;
    text-align: center;
}

.popup-button-pretty .player-team-history > * > tr:last-child > td, .player-team-history > tr:last-child > td {
    border-bottom: 0;
}

.player-history-timeline {
	flex-basis: 40em;
	flex-grow: 1;
}

.player-history-timeline table {
	border-left: 1px solid var(--wiki-color);
}

.player-history-timeline .tabs-dynamic table {
	border-left: 0;
}

.pth-duration-heading::after {
 font-family:FontAwesome;
 content:'\f017';
 font-weight:normal;
}

.pth-duration-heading {
 display:inline;
}