Camp Half-Blood Role Playing Wiki
Camp Half-Blood Role Playing Wiki
No edit summary
Tag: Source edit
No edit summary
Line 165: Line 165:
   
 
.eden-ui .main-content-slide {
 
.eden-ui .main-content-slide {
  +
content-visibility: auto;
  +
contain-intrinsic-size: 450px;
 
position: relative;
 
position: relative;
 
width: 100%;
 
width: 100%;

Revision as of 17:15, 9 October 2020

.eden-ui {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 450px;
    color: #222222;
    font-family: "Darker Grotesque", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
    border-radius: 2px;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.eden-ui a:focus,
.eden-ui a > span:focus {
    outline: none;
}

.eden-ui div::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
 
.eden-ui div::-webkit-scrollbar-track {
    background-color: transparent;
}
 
.eden-ui div::-webkit-scrollbar-thumb {
    background-color: #ffffff;
}
 
.eden-ui .polaroid-caption > div::-webkit-scrollbar-thumb {
    background-color: #222222;
}
 
.eden-ui div::-webkit-scrollbar-corner {
    background: transparent;
}

.eden-ui div {
    scrollbar-width: thin;
    scrollbar-color: #ffffff transparent;
}

.eden-ui img {
    pointer-events: none;
}

.eden-ui .polaroid-caption > div {
    scrollbar-width: thin;
    scrollbar-color: #222222 transparent;
}

.eden-ui div:focus {
    outline: none;
}

.eden-ui div:not(.history-text):not(.personality-text) > p {
    margin: 0;
    height: 0;
}

.eden-ui .navigation {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 75px;
    height: 100%;
    background-color: #0f0e1c;
    color: #1e2238;
}

.eden-ui .misc-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    width: 125px;
    height: 35px;
    background-color: #0f0e1c;
    color: #1e2238;
    font-size: 16px;
    border-bottom-left-radius: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.eden-ui .misc-links > div:first-child {
    margin-left: 30px;
}

.eden-ui .misc-links > div:last-child {
    margin-right: 15px;
}


.eden-ui .misc-links > div:first-child {
    margin-left: 30px;
}

.eden-ui .misc-links > div:last-child {
    margin-right: 15px;
}

.eden-ui .misc-links a:hover {
    text-decoration: none;
}

.eden-ui .misc-links a > span:before {
    color: #1e2238;
    transition: color 0.25s ease;
}

.eden-ui .misc-links a > span:hover:before {
    color: #272c49;
    transition: color 0.25s ease;
}

.eden-ui .navigation-block {
    position: relative;
    width: 100%;
    height: 75px;
    font-size: 24px;
    line-height: 75px;
    text-align: center;
    box-sizing: border-box;
}

.eden-ui .navigation-block:not(.navigation-home):hover {
    border-left: 5px solid #1e2238;
    background-color: #111020;
}

.eden-ui .navigation-block:not(.navigation-home):hover > div {
    position: relative;
    left: -2.5px;
}

.eden-ui .navigation-home {
    background-color: #1e2238;
    transition: color 0.15s linear;
}

.eden-ui .navigation-home:hover {
    color: #0f0e1c;
    transition: color 0.15s linear;
}

.eden-ui .main-content {
    flex-grow: 1;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1500882644194-b83ebad474e9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2036&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    scroll-behavior: smooth;
}

.eden-ui .main-content-slide {
	content-visibility: auto;
	contain-intrinsic-size: 450px;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.eden-ui .first-name,
.eden-ui .last-name {
    position: absolute;
    width: 250px;
    height: 250px;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.65);
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
    line-height: 105px;
    text-transform: uppercase;
    word-break: break-all;
    letter-spacing: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.eden-ui .first-name {
    bottom: calc(50% - 65px);
    right: calc(50% - 20px);
    background-color: #ffffff;
    font-size: 55px;
    font-weight: 800;
    padding: 20px;
}

.eden-ui .last-name {
    top: calc(50% - 65px);
    left: calc(50% - 20px);
    border: 10px solid #ffffff;
    background-image: url('https://images.unsplash.com/photo-1497294815431-9365093b7331?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    font-size: 40px;
    font-weight: 900;
    padding: 10px 20px;
}

.eden-ui .first-name > div,
.eden-ui .last-name > div {
    width: 100%;
    height: 100%;
    text-overflow: clip;
}

.eden-ui .first-name > div {
    background-image: url('https://images.unsplash.com/photo-1497294815431-9365093b7331?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eden-ui .last-name > div:not(:only-child):first-child {
    position: absolute;
    top: 0;
    left: 0;
}

.eden-ui .last-name > div:not(:only-child):first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.eden-ui .last-name > div:only-child,
.eden-ui .last-name > div:nth-child(2) {
    position: relative;
    z-index: 2;
    color: #ffffff;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #ffffff;
}

.eden-ui .history,
.eden-ui .personality,
.eden-ui .polaroid {
    position: absolute;
    left: calc(50% - 175px);
    width: 350px;
    height: 350px;
    border: 10px solid #ffffff;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
}

.eden-ui .history,
.eden-ui .personality {
    background-color: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.eden-ui .polaroid,
.eden-ui .info-block:not(:only-child):not(.active) {
    top: calc(100% + 20px);
    transition: top 0.5s ease;
}

.eden-ui .info-block:not(:only-child):not(.active) {
    opacity: 0;
    transition: top 0.5s ease, opacity 0s 0.5s;
}

.eden-ui .history,
.eden-ui .personality,
.eden-ui .polaroid.active {
    top: calc(50% - 175px);
}

.eden-ui .polaroid.active {
    transition: top 0.5s 0.65s ease;
}

.eden-ui .history > .header,
.eden-ui .personality > .header,
.eden-ui .polaroid > .polaroid-caption {
    margin: 0;
    height: 100px;
    background-color: #ffffff;
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
    line-height: 90px;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
}

.eden-ui .history > .header,
.eden-ui .personality > .header {
    font-weight: 700;
}

.eden-ui .history > .header {
    font-size: 45px;
}

.eden-ui .personality > .header {
    font-size: 35px;
}

.eden-ui .polaroid > .polaroid-caption {
    height: 75px;
    line-height: 28px;
    padding: 10px 0 5px 0;
    box-sizing: border-box;
}

.polaroid > .polaroid-caption > div {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: auto;
}

.eden-ui .history > .header > div,
.eden-ui .personality > .header > div,
.eden-ui .polaroid > .polaroid-caption > div > div > div {
    background-image: url('https://images.unsplash.com/photo-1497294815431-9365093b7331?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eden-ui .polaroid > .polaroid-caption > div > div:not(:only-child) {
    width: 50%;
}

.eden-ui .polaroid > .polaroid-caption > div > div:only-child {
    width: 100%;
}

.eden-ui .polaroid > .polaroid-caption > div > div > div {
    display: inline;
}

.eden-ui .polaroid > .polaroid-caption > div > div > div:first-child {
    font-size: 13px;
    font-weight: 900;
}

.eden-ui .polaroid > .polaroid-caption > div > div > div:nth-child(3) {
    font-size: 10px;
    font-weight: 600;
}

.eden-ui .history-text,
.eden-ui .personality-text,
.eden-ui .polaroid-image {
    width: 100%;
    height: calc(100% - 140px);
    color: #ffffff;
}

.eden-ui .history-text,
.eden-ui .personality-text {
    margin-top: 20px;
    font-size: 18px;
    line-height: 24px;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: auto;
}

.eden-ui .history-text::first-letter,
.eden-ui .personality-text::first-letter {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
}

.eden-ui .history-text > p:first-child,
.eden-ui .personality-text > p:first-child {
    margin-top: 0;
}

.eden-ui .history-text > p:last-child,
.eden-ui .personality-text > p:last-child {
    margin-bottom: 0;
}

.eden-ui .polaroid-image {
    height: calc(100% - 70px);
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-image {
    padding: 5px;
    box-sizing: border-box;
    overflow: auto;
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-image > .wikia-gallery {
    margin: 0;
    height: auto;
    line-height: initial;
} 

.eden-ui .polaroid:nth-of-type(5) > .polaroid-image .accent {
    border: none;
    background-color: transparent;
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-image > .wikia-gallery img {
    margin: 0 !important;
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-caption {
    line-height: 55px;
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-image a {
    color: #ffffff;
}

.eden-ui .polaroid:nth-of-type(5) > .polaroid-caption > div > div > div {
    font-size: 36px;
    font-weight: 600;
    vertical-align: middle;
}

.eden-ui .polaroid:nth-of-type(6) > .polaroid-image {
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

.eden-ui .polaroid-image > div:not(.blank-polaroid),
.eden-ui .polaroid-image img {
    width: 100%;
    height: 100%;
}

.eden-ui .polaroid-image > div:not(.blank-polaroid) {
    line-height: 255px;
    text-align: center;
}

.eden-ui .polaroid-image > div:not(.blank-polaroid) > a {
    color: #ffffff;
}

.eden-ui .polaroid-image img {
    object-fit: cover;
    object-position: top;
    pointer-events: none;
}

.eden-ui .blank-polaroid {
    margin: 20px 0;
    width: 100%;
    height: calc(100% - 40px);
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: auto;
}

.eden-ui .blank-polaroid > div:not(:last-child) {
    margin-bottom: 10px;
}

.eden-ui .blank-polaroid > div > div:first-child {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
}

.eden-ui .blank-polaroid > div > div:last-child {  
    margin-left: 60px;
    font-variant: small-caps;
    font-size: 16px;
    line-height: 24px;
    font-weight: 200;
}

.eden-ui .previous,
.eden-ui .next {
    display: block;
    position: absolute;
    top: calc(50% - 20px);
    height: 40px;
    color: #ffffff;
    font-size: 40px;
    line-height: 40px;
}

.eden-ui .previous-polaroid {
    right: calc(50% + 195px);
}

.eden-ui .next-polaroid {
    left: calc(50% + 195px);
}

.eden-ui .previous.hidden,
.eden-ui .next.hidden {
    display: none;
}

.eden-ui .info-block {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: calc(50% - 250px);
    z-index: 1;
    width: 500px;
    height: 300px;
    background-color: #ffffff;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.65);
}

.eden-ui .info-block:only-child,
.eden-ui .info-block.active {
    top: calc(50% - 150px);
    transition: top 0.5s 0.65s ease;
}

.eden-ui .header-vertical {
    width: 50px;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497294815431-9365093b7331?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    writing-mode: vertical-rl;
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 36px;
    line-height: 60px;
    transform: rotate(180deg);
    text-align: center;
}

.eden-ui .inner-container {
    position: relative;
    border: 10px solid #ffffff;
    flex-grow: 1;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.eden-ui .background-upper-left,
.eden-ui .background-lower-right {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.eden-ui .background-upper-left {
    background-image: url('https://images.unsplash.com/photo-1468276311594-df7cb65d8df6?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    -webkit-clip-path: polygon(0 0, calc(100% + 2px) 0, 0 calc(100% + 2px), 0 calc(100% + 2px));
    clip-path: polygon(0 0, calc(100% + 2px) 0, 0 calc(100% + 2px), 0 calc(100% + 2px));
    background-position: center left;
}

.eden-ui .background-lower-right {
    z-index: 2; /* Fallback to showing only one background image if the browser doesn't support the clip-path property (e.g. Internet Explorer) */
    background-image: url('https://images.unsplash.com/photo-1497294815431-9365093b7331?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80');
    -webkit-clip-path: polygon(0 100%, 100% 0, 100% 100%, 100% 100%);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 100% 100%);
    background-position: center right;
}

.eden-ui .inner-content-container {
    position: relative;
    z-index: 3;
    margin: 10px 0 10px 10px;
    width: calc(100% - 10px);
    height: calc(100% - 20px);
    font-size: 18px;
    font-weight: 400;
    overflow: auto;
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

.eden-ui .info-label-row {
    width: 100%;
    height: auto;
}

.eden-ui .info-label-row:not(:last-child) {
    margin-bottom: 20px;
}

.eden-ui .info-label-left,
.eden-ui .info-label-right {
    display: inline-block;
    height: auto;
}

.eden-ui .info-label-left {
    width: calc(50% - 10px);
}

.eden-ui .info-label-right {
    width: 50%;
}

.eden-ui .info-label {
    display: inline-block;
    position: relative;
    width: auto;
    min-width: 40px;
    max-width: 100%;
    height: auto;
    min-height: 26px;
    background-color: #ffffff;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.15);
    line-height: 22px;
    text-align: center;
    padding: 0 10px 4px 10px;
    vertical-align: top;
    box-sizing: border-box;
}

.eden-ui .info-label > a {
    color: #000000;
}

.eden-ui .info-block:nth-of-type(3) {
    color: #ffffff;
}

.eden-ui .info-block:nth-of-type(3) .mw-editsection {
    display: none;
}

.eden-ui .info-block:nth-of-type(3) .inner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.eden-ui .info-block:nth-of-type(3) h3,
.eden-ui .info-block:nth-of-type(3) h4,
.eden-ui .info-block:nth-of-type(3) h5 {
    margin: 20px 0 5px;
    border-left: 4px solid #ffffff;
    height: auto;
    font-size: 24px;
    padding-left: 8px;
}

.eden-ui .info-block:nth-of-type(3) h3:first-of-type,
.eden-ui .info-block:nth-of-type(3) h4:first-of-type,
.eden-ui .info-block:nth-of-type(3) h5:first-of-type {
    margin: 9px 0 5px;
}

.eden-ui .info-block:nth-of-type(3) h3 > span,
.eden-ui .info-block:nth-of-type(3) h4 > span,
.eden-ui .info-block:nth-of-type(3) h5 > span {
    position: relative;
    top: -2px;
}

.eden-ui .previous-info-block {
    right: calc(50% + 260px);
}

.eden-ui .next-info-block {
    left: calc(50% + 260px);
}

/* Dark Mode */
.eden-ui.dark-mode {
    color: #ffffff;
}

.eden-ui.dark-mode div::-webkit-scrollbar {
    width: 5px;
}
 
.eden-ui.dark-mode div::-webkit-scrollbar-track {
    background-color: transparent;
}
 
.eden-ui.dark-mode div::-webkit-scrollbar-thumb {
    background-color: #222222;
}
 
.eden-ui.dark-mode .polaroid-caption > div::-webkit-scrollbar-thumb {
    background-color: #ffffff;
}
 
.eden-ui.dark-mode div::-webkit-scrollbar-corner {
    background: transparent;
}

.eden-ui.dark-mode div {
    scrollbar-width: thin;
    scrollbar-color: #222222 transparent;
}
 
.eden-ui.dark-mode .polaroid-caption > div {
    scrollbar-width: thin;
    scrollbar-color: #ffffff transparent;
}

.eden-ui.dark-mode .first-name,
.eden-ui.dark-mode .info-block,
.eden-ui.dark-mode .info-label,
.eden-ui.dark-mode .header,
.eden-ui.dark-mode .polaroid-caption {
    background-color: #222222;
}

.eden-ui.dark-mode .info-label > a {
    color: #ffffff;
}

.eden-ui.dark-mode .last-name,
.eden-ui.dark-mode .inner-container,
.eden-ui.dark-mode .history,
.eden-ui.dark-mode .personality,
.eden-ui.dark-mode .polaroid {
    border-color: #222222;
}

.eden-ui.dark-mode .last-name > div {
    -webkit-text-stroke: 2px #222222;
}

.eden-ui.dark-mode .previous,
.eden-ui.dark-mode .next {
    color: #222222;
}

/* High Contrast Mode */
.eden-ui.high-contrast-mode .first-name > div,
.eden-ui.high-contrast-mode .header-vertical,
.eden-ui.high-contrast-mode .history > .header > div,
.eden-ui.high-contrast-mode .personality > .header > div,
.eden-ui.high-contrast-mode .polaroid > .polaroid-caption > div > div > div {
    background-image: none !important;
    -webkit-text-fill-color: initial;
}

/* High Contrast Mode - Light Mode */
.eden-ui.high-contrast-mode .last-name > div {
    -webkit-text-stroke: 2px #222222;
}

.eden-ui.high-contrast-mode .previous,
.eden-ui.high-contrast-mode .next {
    -webkit-text-stroke: 1px #222222;
}

/* High Contrast Mode - Dark Mode */
.eden-ui.dark-mode.high-contrast-mode .last-name > div {
    -webkit-text-stroke: 2px #ffffff;
}

.eden-ui.dark-mode.high-contrast-mode .previous,
.eden-ui.dark-mode.high-contrast-mode .next {
    -webkit-text-stroke: 1px #ffffff;
}