|
|
Line 1: |
Line 1: |
| /* New Infobox */
| | .portable-infobox.type-character .pi-secondary-background { |
| .infobox-new {
| | background-color: maroon; |
| 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-select: none;
| |
| }
| |
| | |
| .infobox-character .infobox-new-image img,
| |
| .infobox-npc .infobox-new-image img {
| |
| margin: 5px 0;
| |
| }
| |
| | |
| .infobox-character .infobox-new-header img[alt^="Mini Icon"] {
| |
| display: none;
| |
| }
| |
| | |
| .infobox-new-image {
| |
| text-align: center;
| |
| }
| |
| | |
| .infobox-new-image img {
| |
| max-width: 100%;
| |
| height: auto;
| |
| }
| |
| | |
| .infobox-equipment .infobox-new-image {
| |
| margin: 5px;
| |
| }
| |
| | |
| .infobox-new .infobox-row {
| |
| display: grid;
| |
| grid-template-columns: 120px auto;
| |
| border-top: 1px solid var(--border-color);
| |
| }
| |
| | |
| .infobox-song .infobox-row,
| |
| .infobox-goods .infobox-row {
| |
| grid-template-columns: 125px auto;
| |
| }
| |
| | |
| .infobox-new .infobox-row.infobox-double-row {
| |
| --first-column-width: 120px;
| |
| 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 {
| |
| padding: 8px;
| |
| 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 {
| |
| padding: 8px;
| |
| display: flex;
| |
| align-items: center;
| |
| flex-wrap: wrap;
| |
| }
| |
| | |
| .infobox-new .infobox-row-content:nth-child(3) {
| |
| border-left: 1px solid var(--border-color);
| |
| }
| |
| | |
| .infobox-new .embedvideo {
| |
| width: 350px !important;
| |
| height: 197px;
| |
| }
| |
| | |
| .infobox-song .embedvideo {
| |
| margin: 0;
| |
| height: auto;
| |
| max-width: 100%;
| |
| }
| |
| | |
| .infobox-song .infobox-new-image {
| |
| height: 223px;
| |
| width: 397px;
| |
| }
| |
| | |
| .infobox-song {
| |
| max-width: 397px;
| |
| }
| |
| | |
| .infobox-new .infobox-row-content.infobox-video-row {
| |
| padding: 0;
| |
| }
| |
| | |
| .infobox-new .tabber-ul {
| |
| place-items: center;
| |
| 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 {
| |
| border: none;
| |
| margin-top: 0;
| |
| 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 {
| |
| border-bottom: 1px solid var(--border-color);
| |
| }
| |
| | |
| .infobox-new .tabber-tab:first-child {
| |
| border-left: 1px solid var(--border-color);
| |
| }
| |
| | |
| .infobox-new .infobox-row-content img[alt^="Mini Icon"] {
| |
| vertical-align: sub;
| |
| }
| |
| | |
| .infobox-new .infobox-row-content table {
| |
| margin: 5px 0;
| |
| } | | } |