Harry Potter Wiki
Harry Potter Wiki
編集の要約なし
タグ: sourceedit
編集の要約なし
タグ: sourceedit
11行目: 11行目:
 
width: 100%;
 
width: 100%;
 
height: auto;
 
height: auto;
  +
}
  +
.portable-infobox .pi-secondary-font {
  +
font-size: 0.8em;
  +
line-height: 1.5;
  +
}
  +
.portable-infobox .pi-data-value {
  +
font-size: 0.8em;
  +
line-height: 1.5;
 
}
 
}
 
/***** Portable Infobox - styles for new class names *****/
 
/***** Portable Infobox - styles for new class names *****/

2016年2月3日 (水) 10:43時点における版

/***** Portable Infobox - styles of old class names ******/
/***** (to be removed ones new class names are released) *****/
.portable-infobox {
   background-color: #f5f5f5;
   width: 250px;
}
.portable-infobox-item .item-type-header {
   background-color: #abdfab;
}
.pi-image img {
    width: 100%;
    height: auto;
}
.portable-infobox .pi-secondary-font {
	font-size: 0.8em;
	line-height: 1.5;
}
.portable-infobox .pi-data-value {
	font-size: 0.8em;
	line-height: 1.5;
}
/***** Portable Infobox - styles for new class names *****/
/***** (changes to be announced soon) *****/
.portable-infobox {
   background-color: #f5f5f5;
   width: 300px;
}
.pi-data-value:not(:first-child) {
 flex-basis: 100%;
}
.portable-infobox .pi-border-color {
   border-color: #dcdcdc;
}
.pi-horizontal-group {
   text-align: left;
}
.portable-infobox .pi-data-label {
   flex-basis: 70px;
}
.portable-infobox-item .pi-header {
   background-color: #abdfab;
}
.portable-infobox.pi-theme-Battle {
   width:300px;
}
.portable-infobox.pi-theme-Battle .pi-secondary-background {
    background-color: #ffd700;
}
.portable-infobox.pi-theme-Creature .pi-secondary-background {
    background-color: #a9a9a9;
}
.portable-infobox.pi-theme-Food .pi-secondary-background {
    background-color: #ff69b4;
}
.portable-infobox.pi-theme-House .pi-secondary-background {
    background-color: #9370db;
}
.portable-infobox.pi-theme-Individual .pi-secondary-background {
    background-color: #b0c4de;
}
.portable-infobox.pi-theme-Location .pi-secondary-background {
    background-color: #d2b48c;
}
.portable-infobox.pi-theme-Object .pi-secondary-background {
    background-color: #fa8072;
}
.portable-infobox.pi-theme-Organization .pi-secondary-background {
    background-color: #a9a9a9;
}
.portable-infobox.pi-theme-School .pi-secondary-background {
    background-color: #8a2be2;
}
 

/*     navbox container style */
table.navbox {
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}

/*     single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
table.navbox + table.navbox {
    margin-top: -1px;
}

/*     title and above/below styles */
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

/*     group style */
.navbox-group {
    white-space: nowrap;
    text-align: right;
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
}

/*     Background color */
.navbox,
.navbox-subgroup {
    background: #fdfdfd;
}

/*     Must match background color */
.navbox-list {
    border-color: #fdfdfd;
}

/*     Level 1 color */
.navbox-title,
table.navbox th {
    background: #ccccff;
}

/*     Level 2 color */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;
}

/*     Level 3 color */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;
}

/*     Even row striping */
.navbox-even {
    background: #f7f7f7;
}

/*     Odd row striping */
.navbox-odd {
    background: transparent;
}

/* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */
.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}
 
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */
.navbox .collapseButton {
    width: 6em;
}

/* Style for "notices" */
.notice {
    text-align: justify;
    margin: 1em;
    padding: 0.2em;
}

#disambig {
    border-top: 3px double #ccc;
    border-bottom: 3px double #ccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

h1 {
    line-height: 1.2em;
}