8,290
edits
mNo edit summary |
(general infobox adjustments) |
||
Line 1,773: | Line 1,773: | ||
--qud-font-collapser-arrows: 'Source Code Pro, Lucida Console, Consolas'; | --qud-font-collapser-arrows: 'Source Code Pro, Lucida Console, Consolas'; | ||
--qud-bg-color-ultralight: rgba(6,28,23,0.2); | |||
--qud-bg-color-semidark: rgba(6,28,23,0.7); | --qud-bg-color-semidark: rgba(6,28,23,0.7); | ||
--qud-bg-color-dark: rgba(6,28,23,0.8); | --qud-bg-color-dark: rgba(6,28,23,0.8); | ||
Line 1,788: | Line 1,789: | ||
* =================================== | * =================================== | ||
*/ | */ | ||
.qud- | .moduleinfobox { | ||
overflow: hidden; /* | font-family: var(--qud-font-infobox-content); | ||
overflow: hidden; /* prevents horizontal scrollbar from appearing */ | |||
} | } | ||
.moduleinfobox :focus { | |||
outline: 0px solid #000; /* remove focus outline on selected collapsible */ | outline: 0px solid #000; /* remove focus outline on selected collapsible */ | ||
} | } | ||
. | .moduleinfobox > .infobox-title { | ||
background: var(--qud-bg-color-darker); | background: var(--qud-bg-color-darker); | ||
color: var(--qud-color-y); | color: var(--qud-color-y); | ||
Line 1,803: | Line 1,802: | ||
font-size: 1.5em; | font-size: 1.5em; | ||
line-height: 1.35em; | line-height: 1.35em; | ||
padding: 0. | padding: 0.1em 8px 0.3em 8px; | ||
} | } | ||
. | .moduleinfobox > .infobox-title, | ||
. | .moduleinfobox > .infobox-imagearea { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.moduleinfobox > .infobox-rows > tbody > tr > th { | |||
. | white-space: normal; /* allow <th> infobox titles to wrap */ | ||
font-weight: 700; | |||
color: var(--qud-color-y-dark); | |||
} | |||
.moduleinfobox > .infobox-rows > tbody > tr > th, | |||
.moduleinfobox > .infobox-rows > tbody > tr > th + td { | |||
background: var(--qud-bg-color-ultralight); | |||
} | } | ||
. | .moduleinfobox > .infobox-rows > tbody > tr > th + td { | ||
font-size: 1.12em; | font-size: 1.12em; | ||
word-break: break-word; | word-break: break-word; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
} | |||
.moduleinfobox > .infobox-rows > tbody > tr > th > div { | |||
max-width: 130px; /* limit width of <th> infobox titles */ | |||
text-align: left; | |||
} | |||
/* hover effect for infobox rows */ | |||
.moduleinfobox > .infobox-rows > tbody > tr:hover > th, | |||
.moduleinfobox > .infobox-rows > tbody > tr:hover > th + td { | |||
background-color: var(--qud-bg-color-darker); | |||
color: var(--qud-color-y); | |||
} | |||
.moduleinfobox > .infobox-rows > tbody > tr > th, | |||
.moduleinfobox > .infobox-rows > tbody > tr > th + td { | |||
transition: background-color 0.5s, color 0.5s; | |||
} | |||
.moduleinfobox > .infobox-rows { | |||
border-spacing: 0 1px !important; | |||
} | |||
/* Desktop/fullscreen only styles */ | |||
.qud-character-infobox .mobileonly { | |||
display: none !important; | |||
} | |||
@media (min-width: 512px) /* Only for use with desktop/fullscreen */ | |||
{ | |||
.qud-character-infobox.moduleinfobox { | |||
margin-top: 1em; /* aligns the character infobox with the Qud Look description */ | |||
} | |||
} | } | ||
/* | /* |