MediaWiki:Infobox.css: Difference between revisions

From Tiny Rogues Wiki
(Created page with "→‎New Infobox: .infobox-new { float: right; border: 1px solid var(--border-color); border-radius: 4px; margin-left: 1rem; max-width: 470px; margin-bottom: 1em; } .infobox-new-header { padding: 7px; text-align: center; text-shadow: 1px 1px 1px #000; font-weight: 500; border-bottom: 1px solid var(--border-color); color: white; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-s...")
 
No edit summary
 
(108 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* New Infobox */
#mw-content {
.infobox-new {
/*max-width: 1235px !important;*/
    float: right;
min-height:1850px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-left: 1rem;
    max-width: 470px;
    margin-bottom: 1em;
}
}


.infobox-new-header {
.cargoTable {
     padding: 7px;
color:black !important;
}
 
table.cargoTable td {
color:black;
}
 
.sidebar-inner,.dropdown {
background:#282828 !important;
}
 
 
 
@font-face {
  font-family: pc-senior;
  src: url("https://roguepedia.net/wiki/Fonts/Renogare-Regular.otf") format("opentype");
  font-weight: 50;
}
 
.portable-infobox .pi-smart-data-value{
  padding-left:48px;
  font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}
 
.portable-infobox a{
  font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}
 
.portable-infobox {
  font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif !important ;
  font-size: 13px !important;
  width: 330px !important;
}
 
.bannerbox {
     display: block;
     text-align: center;
     text-align: center;
     text-shadow: 1px 1px 1px #000;
     padding: 0;
     font-weight: 500;
     margin: 0;
     border-bottom: 1px solid var(--border-color);
    font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
     color: white;
}
     user-select: none;
 
     -webkit-user-select: none;
.bannerbox .container {
     -moz-user-select: none;
     display: inline-block;
    -ms-user-select: none;
    border-width: thin thin thin 10px;
     margin: 0;
     border-style: solid;
    width: 90%;
}
 
.bannerbox .image,
.bannerbox .text {
     display: table-cell;
    text-align: center;
    vertical-align: middle;
     padding: 0.5em;
}
 
 
.Col-Physical a{
color:#6e4333 !important
}
 
.Col-Magical a{
color:#5570fb !important
}
 
.Col-Elemental a{
color:#7a3dc5 !important
}
 
.Col-Fire a{
color:#df3200 !important
}
 
.Col-Physical a{
color:#6e4333 !important
}
 
.Col-Physical {
color:#6e4333 !important
}
 
.Col-Nature a{
color:#82c200 !important
}
 
.Col-Sound a{
color:#bdbfca !important
}
 
.Col-Poison a{
color:#009900 !important
}
 
.Col-Doom a{
color:#eb0039 !important
}
 
.Col-Text {
color:#868791 !important
}
}


.infobox-character .infobox-new-image img,
.Col-Dark a{
.infobox-npc .infobox-new-image img {
color:#171556 !important
    margin: 5px 0;
}
}


.infobox-character .infobox-new-header img[alt^="Mini Icon"] {
.Col-Burn a{
    display: none;
color:#FA0035 !important
}
}


.infobox-new-image {
.Col-FromTheShadows {
    text-align: center;
color:#A900F9 !important
}
}


.infobox-new-image img {
.Col-Corruption a{
    max-width: 100%;
color:#1D3388 !important
    height: auto;
}
}


.infobox-equipment .infobox-new-image {
.Col-Default a{
    margin: 5px;
color:white !important
}
}


.infobox-new .infobox-row {
 
    display: grid;
 
    grid-template-columns: 120px auto;
.Col-Default {
    border-top: 1px solid var(--border-color);
color:white !important
}
}


.infobox-song .infobox-row,
.Col-Lightning a{
.infobox-goods .infobox-row {
color:#E1CD4D !important
    grid-template-columns: 125px auto;
}
}


.infobox-new .infobox-row.infobox-double-row {
.Col-Shock a{
    --first-column-width: 120px;
color:#E5BB00 !important
    grid-template-columns: var(--first-column-width) calc((100% - var(--first-column-width)) / 2) calc(
            (100% - var(--first-column-width)) / 2
        );
}
}


.infobox-new .infobox-row-title {
.Col-Cold a{
    padding: 8px;
color:#68B1F2 !important
    border-right: 1px solid var(--border-color);
    font-weight: 500;
    background-color: var(--theme-tone-4);
    display: flex;
    align-items: center;
    word-break: break-word;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
}


.infobox-new .infobox-row-content {
.Col-DefenseBreak a{
    padding: 8px;
color:#7d92a2 !important
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
}


.infobox-new .infobox-row-content:nth-child(3) {
.Col-Holy a{
    border-left: 1px solid var(--border-color);
color:#ddd7ad !important
}
}


.infobox-new .embedvideo {
.Col-Bleed a{
    width: 350px !important;
color:#ad0251 !important
    height: 197px;
}
}


.infobox-song .embedvideo {
.Col-Judgement a{
    margin: 0;
color:#d8c618 !important
    height: auto;
}
    max-width: 100%;
.Col-Frostbite a{
color:#67aef3 !important
}
.Col-Scorch a{
color:#e36300 !important
}
.Col-Toxic a{
color:#4c286a !important
}
}


.infobox-song .infobox-new-image {
.Col-Common a{
    height: 223px;
color:#7b7c85 !important
    width: 397px;
}
.Col-Uncommon a{
color:#61ceee  !important
}
.Col-Rare a{
color:#e1c969  !important
}
.Col-Epic a{
color:#b100fc  !important
}
.Col-Legendary a{
color:#f64e00 !important
}
}


.infobox-song {
 
    max-width: 397px;
 
.Col-Piranha {
color:#15c2f1 !important
}
}


.infobox-new .infobox-row-content.infobox-video-row {
.Col-Set a{
     padding: 0;
     color:#00af00 !important
}
}


.infobox-new .tabber-ul {
.pi-data {
    place-items: center;
overflow:visible !important;
    place-content: center;
    background-color: var(--theme-tone-4);
    border-bottom: 1px solid var(--border-color);
    --accent-color: var(--theme-tone-3);
}
}


.infobox-new .tabber-tab {
.portable-infobox .pi-image:nth-child(2) img{
    border: none;
     min-width: 1px !important;
    margin-top: 0;
     min-height: 1px !important;
     background-color: transparent;
    border-bottom: 0;
    border-radius: 0;
    margin-right: 0 !important;
     padding: 7px 12px;
    font-size: 15px;
    border-right: 1px solid var(--border-color);
    color: var(--text-color) !important;
    font-weight: 500;
}
}


.infobox-new .tabdiv .tabdiv .tabber-ul {
.FirstUppercase::first-letter{
     border-bottom: 1px solid var(--border-color);
 
     text-transform: capitalize;
display:inline-block;
}
}


.infobox-new .tabber-tab:first-child {
/* Extension:ClipBox */
    border-left: 1px solid var(--border-color);
.clipbox  {
font-size :  16 px ;
color :  #333 ;
text-align : center ;
align-items :  center ;
}
.clipbox  input  {  
padding :  7 px  0 ;
text-align :  center ;
border-radius : 5 px ;
font-size : 14 px ;
letter-spacing : 1 px ;
}
.clipbox  button  {
font-size :  16 px ;
padding :  9 px ;
border-radius :  5 px ;
color : #444 ;
}
.clipbox  button : hover  {
opacity :  0.8 ;  
}
}


.infobox-new .infobox-row-content img[alt^="Mini Icon"] {
#mw-related-navigation {
     vertical-align: sub;
     height:80% !important;
}
}


.infobox-new .infobox-row-content table {
    margin: 5px 0;
}
}

Latest revision as of 03:31, 28 February 2024

#mw-content {
	/*max-width: 1235px !important;*/
	min-height:1850px;
}

.cargoTable {
 color:black !important;
	
}

table.cargoTable td {
 color:black;	
}

.sidebar-inner,.dropdown {
	background:#282828 !important;
}



@font-face {
  font-family: pc-senior;
  src: url("https://roguepedia.net/wiki/Fonts/Renogare-Regular.otf") format("opentype");
  font-weight: 50;
}

.portable-infobox .pi-smart-data-value{
   padding-left:48px;
   font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}

.portable-infobox a{
   font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}

.portable-infobox {
   font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif !important ;
   font-size: 13px !important;
   width: 330px !important;
}

.bannerbox {
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
     font-family: "pc-senior", "SegoeUI", "Frutiger", "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", "Arial", sans-serif;
}

.bannerbox .container {
    display: inline-block;
    border-width: thin thin thin 10px;
    margin: 0;
    border-style: solid;
    width: 90%;
}

.bannerbox .image,
.bannerbox .text {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 0.5em;
}


.Col-Physical a{
	color:#6e4333 !important
}

.Col-Magical a{
	color:#5570fb !important
}

.Col-Elemental a{
	color:#7a3dc5 !important
}

.Col-Fire a{
	color:#df3200 !important
}

.Col-Physical a{
	color:#6e4333 !important
}

.Col-Physical {
	color:#6e4333 !important
}

.Col-Nature a{
	color:#82c200 !important
}

.Col-Sound a{
	color:#bdbfca !important
}

.Col-Poison a{
	color:#009900 !important
}

.Col-Doom a{
	color:#eb0039 !important
}

.Col-Text {
	color:#868791 !important
}

.Col-Dark a{
	color:#171556 !important
}

.Col-Burn a{
	color:#FA0035 !important
}

.Col-FromTheShadows {
	color:#A900F9 !important
}

.Col-Corruption a{
	color:#1D3388 !important
}

.Col-Default a{
	color:white !important
}



.Col-Default {
	color:white !important
}

.Col-Lightning a{
	color:#E1CD4D !important
}

.Col-Shock a{
	color:#E5BB00 !important
}

.Col-Cold a{
	color:#68B1F2 !important
}

.Col-DefenseBreak a{
	color:#7d92a2 !important
}

.Col-Holy a{
	color:#ddd7ad !important
}

.Col-Bleed a{
	color:#ad0251 !important
}

.Col-Judgement a{
	color:#d8c618 !important
}
.Col-Frostbite a{
	color:#67aef3 !important
}
.Col-Scorch a{
	color:#e36300 !important
}
.Col-Toxic a{
	color:#4c286a !important
}

.Col-Common a{
	color:#7b7c85 !important
}
.Col-Uncommon a{
	color:#61ceee  !important
}
.Col-Rare a{
	color:#e1c969  !important
}
.Col-Epic a{
	color:#b100fc  !important
}
.Col-Legendary a{
	color:#f64e00 !important
}



.Col-Piranha {
	color:#15c2f1 !important
}

.Col-Set a{
    color:#00af00 !important
}

.pi-data {
	overflow:visible !important;	
}

.portable-infobox .pi-image:nth-child(2) img{
    min-width: 1px !important;
    min-height: 1px !important;
}

.FirstUppercase::first-letter{

    text-transform: capitalize;
	display:inline-block;
}

/* Extension:ClipBox */ 
.clipbox  { 
	font-size :  16 px ; 
	color :  #333 ; 
	text-align :  center ; 
	align-items :  center ; 
} 
.clipbox  input  { 
	padding :  7 px  0 ; 
	text-align :  center ; 
	border-radius :  5 px ; 
	font-size : 14 px ; 
	letter-spacing : 1 px ; 
} 
.clipbox  button  { 
	font-size :  16 px ; 
	padding :  9 px ; 
	border-radius :  5 px ; 
	color : #444 ; 
} 
.clipbox  button : hover  { 
	opacity :  0.8 ; 
}

#mw-related-navigation {
    height:80% !important;
}

}