模板:Infobox/shared/styles.css:修订间差异

来自骷髅女孩Wiki
Junchnzy
Junchnzy讨论 | 贡献 (创建页面,内容为“.infobox { display: table; overflow: visible; width: 100%; text-align: left; line-height: 1.3em; } .infobox-header { width: 100%; border-top: 1px solid; border-color: var(--border-color-base); color: var(--color-base--emphasized); font-size: 1em; } .infobox-data td { text-align: right; font-size: 0.875em; } .infobox tr { display: flex; box-sizing: border-box; flex-direction: column; padding: 0 10px; } #…”)
 
第30行: 第30行:
     width: auto;
     width: auto;
     height: auto;
     height: auto;
     max-height: 375px;
     /*max-height: 375px;
     max-width: calc(100% - 20px);
     max-width: calc(100% - 20px);*/
}
}

2023年12月8日 (五) 10:54的版本

.infobox {
	display: table;
    overflow: visible;
    width: 100%;
    text-align: left;
    line-height: 1.3em;
}

.infobox-header {
    width: 100%;
    border-top: 1px solid;
    border-color: var(--border-color-base);
    color: var(--color-base--emphasized);
    font-size: 1em;
}

.infobox-data td {
	text-align: right;
	font-size: 0.875em;
}

.infobox tr {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    padding: 0 10px;
}

#portrait-image img {
    width: auto;
    height: auto;
    /*max-height: 375px;
    max-width: calc(100% - 20px);*/
}