/* Color */ /* Font Properties */ /* Spacing */ /* Borders */ /* Shadows */ /* $context: "../../../../../.."; $white: #FEFEFE; $shady-white: rgb(240, 240, 240); $gray: #CCC; $dark: #333; $black: #222; $small-edge-radius: 3px; $big-edge-radius: 10px; $small-pad: 16px; $big-pad: 32px; $tuebingen-red: #e73230; $increased-letter-spacing: 0.1em; $font-color: $black; $text-font-size: 26px; $medium-font-size: 28px; $large-font-size: 32px; $regular-font-size: 1.451rem; $subtitle-font-size: $medium-font-size; $title-font-size: $subtitle-font-size * 1.641; /* Font Weights */ /* $strong-font-weight: 700; $medium-font-weight: 500; $light-font-weight: 300; */ /** The essential.scss defines proerties that are essential for the basic features of an info card and are completely */ .unselectable { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .info-card { position: absolute; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .zoomable-wrapper { display: inline-block; -ms-flex-item-align: center; -ms-grid-row-align: center; align-self: center; font-size: 0; } .zoomable-wrapper figure { display: inline-block; } .zoomable-wrapper figcaption { font-size: initial; } .zoomable-wrapper > figure > div { height: 100%; } .zoomable-wrapper svg { overflow: visible; width: 100%; height: 100%; } div { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } /* If any default style by the browser or certain plugins (e.g. Bulma) needs to be overwritten, this can be done in this file. */ /* Remove the negative margin from Bulma's columns. */ .columns { margin: 0 !important; -webkit-box-sizing: border-box; box-sizing: border-box; } .content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { color: unset; } .content:not(:last-child) { margin-bottom: 0; } .button { border-color: unset; border: unset; border-radius: unset; } .button:active, .button:hover { border-color: unset; } .icon { width: unset; height: unset; } /* Color */ /* Font Properties */ /* Spacing */ /* Borders */ /* Shadows */ /* $context: "../../../../../.."; $white: #FEFEFE; $shady-white: rgb(240, 240, 240); $gray: #CCC; $dark: #333; $black: #222; $small-edge-radius: 3px; $big-edge-radius: 10px; $small-pad: 16px; $big-pad: 32px; $tuebingen-red: #e73230; $increased-letter-spacing: 0.1em; $font-color: $black; $text-font-size: 26px; $medium-font-size: 28px; $large-font-size: 32px; $regular-font-size: 1.451rem; $subtitle-font-size: $medium-font-size; $title-font-size: $subtitle-font-size * 1.641; /* Font Weights */ /* $strong-font-weight: 700; $medium-font-weight: 500; $light-font-weight: 300; */ @font-face { font-family: "Material Icons"; font-style: normal; font-weight: 400; src: url(../fonts/material-icon-font/MaterialIcons-Regular.eot); /* For IE6-8 */ src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/material-icon-font/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/material-icon-font/MaterialIcons-Regular.woff) format("woff"), url(../fonts/material-icon-font/MaterialIcons-Regular.ttf) format("truetype"); } .material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 24px; /* Preferred icon size */ display: inline-block; line-height: 1; text-transform: none; letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr; /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; /* Support for Safari and Chrome. */ text-rendering: optimizeLegibility; /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; /* Support for IE. */ -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; } /** * The card.scss is responsible for styling the top level of the card. * * + Info-Card * ++ Header * +++ Thubnail * +++ Overview * ++ Subcards-Container * +++ n * Subcards */ .info-card { font-family: "Calibri", sans-serif; color: white; background-color: #333; -webkit-box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5); box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5); border-radius: 3px; /* This mixin selects the elements of $selector and adjust the style it there are n children of this selector inside the parent. */ } .info-card .ui { width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; padding: 10px; z-index: 11; position: absolute; top: 0; } .info-card .speech { width: 52px; height: 52px; } .info-card:before { content: ''; display: block; content: ''; position: absolute; z-index: -1; border-radius: 3px; top: -8px; left: -8px; width: calc(100% + 16px); height: calc(100% + 16px); -webkit-box-shadow: 0 0 15px #008bd2; box-shadow: 0 0 15px #008bd2; background: repeating-linear-gradient(-45deg, #008bd2, #008bd2 20px, #33a2db 20px, #33a2db 40px); background-size: 56px 56px; /* This is unique for this background, need to find a pattern and develop a formula */ background-position-x: 0%; -webkit-animation: 'slide' 20s infinite linear forwards; opacity: 0; -webkit-transition: opacity 1s; transition: opacity 1s; } .info-card.speech-plugin-is-reading .speech.button:before { content: 'stop'; } .info-card.speech-plugin-is-reading:before { opacity: 1; } @-webkit-keyframes 'slide' { 0% { background-position-x: 0%; } 100% { background-position-x: 100%; } } .info-card .img-overlay { position: absolute; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: 200; display: none; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .info-card .img-overlay img { width: 100%; height: 100%; -o-object-fit: contain; object-fit: contain; } @-webkit-keyframes pulse {} @keyframes pulse {}.info-card nav { z-index: 200; position: absolute; top: 20px; right: 20px; } .info-card nav > * { margin-right: 6.66667px; } .info-card a { color: #008bd2; } .info-card a:hover { color: #008bd2; } .info-card .mainview { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 100%; border-radius: inherit; } .info-card p { font-size: 26px; } .info-card header { height: 35%; color: #f2f2f2; background: -webkit-gradient(linear, left bottom, left top, from(#333333), color-stop(200%, #6f6f6e)); background: linear-gradient(to top, #333333, #6f6f6e 200%); padding: 60px; padding-bottom: 20px; border-radius: inherit; display: -ms-grid; display: grid; -ms-grid-columns: 1fr 2fr; grid-template-columns: 1fr 2fr; grid-gap: 20px; z-index: 1; } .info-card header h1 { -webkit-margin-before: 0; font-size: 52px; font-weight: 500; margin-bottom: -2px; } .info-card header .overview { padding: 0 20px; margin-top: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-grid-column: 2; grid-column-start: 2; } .info-card header p { font-weight: 400; } .info-card header p.misc { font-size: 26px; font-style: italic; font-weight: 300; opacity: 0.5; margin-bottom: 0.641em; } .info-card .thumbnail-wrapper { overflow: hidden; border-radius: 3px; } .info-card .thumbnail-wrapper:before { content: ' '; position: absolute; width: 100%; height: 100%; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8); } .info-card .thumbnail-wrapper .button { position: absolute; bottom: 0; right: 0; } .info-card .thumbnail { height: 100%; min-width: 100%; -o-object-fit: cover; object-fit: cover; overflow: hidden; } .info-card .subcards-container { background-color: #333333; height: 65%; display: -ms-grid; display: grid; grid-auto-rows: 1fr; grid-gap: 20px; padding: 60px; padding-top: 20px; -ms-grid-columns: (1fr)[9]; grid-template-columns: repeat(9, 1fr); grid-template-areas: '. tl tl tl . tr tr tr .' '. bl bl bl . br br br .'; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(5):nth-child(4), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(5) ~ .subcard-wrapper:nth-child(4) { -ms-grid-row: 2; -ms-grid-column: 2; -ms-grid-column-span: 3; grid-area: bl; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(5):nth-child(5), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(5) ~ .subcard-wrapper:nth-child(5) { -ms-grid-row: 2; -ms-grid-column: 6; -ms-grid-column-span: 3; grid-area: br; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4):first-child, .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4) ~ .subcard-wrapper:first-child { -ms-grid-row: 1; -ms-grid-column: 2; -ms-grid-column-span: 3; grid-area: tl; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4):nth-child(2), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4) ~ .subcard-wrapper:nth-child(2) { -ms-grid-row: 1; -ms-grid-column: 6; -ms-grid-column-span: 3; grid-area: tr; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4):nth-child(3), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4) ~ .subcard-wrapper:nth-child(3) { -ms-grid-row: 2; -ms-grid-column: 2; -ms-grid-column-span: 3; grid-area: bl; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4):nth-child(4), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(4) ~ .subcard-wrapper:nth-child(4) { -ms-grid-row: 2; -ms-grid-column: 6; -ms-grid-column-span: 3; grid-area: br; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3):first-child, .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3) ~ .subcard-wrapper:first-child { -ms-grid-row: 1; -ms-grid-column: 2; -ms-grid-column-span: 3; grid-area: tl; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3):nth-child(2), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3) ~ .subcard-wrapper:nth-child(2) { -ms-grid-row: 1; -ms-grid-column: 6; -ms-grid-column-span: 3; grid-area: tr; } .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3):nth-child(3), .info-card .subcards-container .subcard-wrapper:first-child:nth-last-child(3) ~ .subcard-wrapper:nth-child(3) { -ms-grid-row: 2; grid-row: 2; -ms-grid-column: 4; -ms-grid-column-span: 3; grid-column: 4 / 7; } .info-card .subcards-container .subcard-wrapper { padding: 0; } .info-card .subcards-container > div { width: auto; grid-column: span 3; } .card-icon, .zoomable-icon { position: absolute; bottom: 0; right: 0; } .speech-only-text { opacity: 0; position: absolute; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; z-index: -1; } figure { position: relative; border: 3px solid #f2f2f2; -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); -webkit-margin-before: 0; -webkit-margin-after: 0; -webkit-margin-start: 0; -webkit-margin-end: 0; } figure .icon { position: absolute; bottom: 0; right: 0; border-radius: 3px 0 0 0; } .view-button.icon { position: absolute; bottom: 0; right: 0; padding: 26px 26px; margin: -23px -13px; } .view-button.icon.inverted:before { color: #f2f2f2; } .view-button.icon:before { color: #333333; font-size: 36px; text-shadow: 0 0 3px rgba(0, 0, 0, 0.2); } .icon { min-width: 44px; min-height: 44px; color: #191919; background-color: #f2f2f2; pointer-events: none; } .icon.button { pointer-events: all; border-radius: 3px; } .icon.button.corner-button { border-radius: 0; } .icon.button.corner-button.bottom-right { border-top-left-radius: 3px; } .icon.inverted { color: #f2f2f2; background-color: #191919; } .icon.transparent-background { background-color: transparent; } .icon.active { color: #f2f2f2; background-color: #008bd2; } .icon:before { font-family: "Material Icons"; font-size: 36px; } .icon.info:before { content: 'info_outline'; } .icon.close:before { content: 'close'; } .icon.zoom:before { content: 'search'; } .icon.speech:before { content: 'record_voice_over'; } .icon.language:before { content: 'language'; } .info-card.debug .view-button { background-color: rgba(255, 0, 0, 0.5) !important; } .info-card.debug .view-button.disabled { -webkit-filter: grayscale(1); filter: grayscale(1); } /* Color */ /* Font Properties */ /* Spacing */ /* Borders */ /* Shadows */ /* $context: "../../../../../.."; $white: #FEFEFE; $shady-white: rgb(240, 240, 240); $gray: #CCC; $dark: #333; $black: #222; $small-edge-radius: 3px; $big-edge-radius: 10px; $small-pad: 16px; $big-pad: 32px; $tuebingen-red: #e73230; $increased-letter-spacing: 0.1em; $font-color: $black; $text-font-size: 26px; $medium-font-size: 28px; $large-font-size: 32px; $regular-font-size: 1.451rem; $subtitle-font-size: $medium-font-size; $title-font-size: $subtitle-font-size * 1.641; /* Font Weights */ /* $strong-font-weight: 700; $medium-font-weight: 500; $light-font-weight: 300; */ /** The subcards.scss is responsible for all css of the subcards. Historically, it was always used for the preview-cards on the info-card and the article page of the corresponding subcard. Discuss: Personally I would prefer a strict separation from front page and article page. But there may be advantages, when the unit 'subcard' has a stylesheet on it's own. - SO Structure: 1. Shared (Preview and Expanded) 2. Preview Subcards 3. Expanded Subcards */ .info-card { /* 1. Shared Properties */ /* 2. Preview Properties */ /* 3. Article Properties */ /* Colors for the card topics. */ /* Remap the colors to the 'bundled' groups. */ } .info-card .subcard { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; color: #191919; position: relative; border-radius: 3px; } .info-card .subcard-content { position: relative; } .info-card .titlebar { min-height: 84px; background: -webkit-gradient(linear, left bottom, left top, color-stop(-100%, #333333), color-stop(200%, #6f6f6e)); background: linear-gradient(to top, #333333 -100%, #6f6f6e 200%); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; border-radius: inherit; } .info-card .titlebar h2 { color: #f2f2f2; font-size: 26px; text-transform: uppercase; letter-spacing: 2px; line-height: 1.3em; text-align: center; margin: 0; padding: 10px; } .info-card .subcards-container .subcard-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; } .info-card .subcards-container .subcard { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; z-index: 1; -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); overflow: hidden; } .info-card .subcards-container .titlebar { min-height: 27%; } .info-card .subcards-container .subcard-content { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; overflow: hidden; } .info-card .subcards-container .wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; overflow: hidden; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .info-card .subcards-container .wrapper .preview { display: -webkit-box; display: -ms-flexbox; display: flex; background-color: #f2f2f2; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; width: 100%; height: 100%; } .info-card .subcards-container .wrapper .preview p { font-style: italic; color: #6f6f6e; font-weight: 500; text-align: center; padding: 40px; } .info-card .subcards-container .wrapper .preview img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .info-card .subcards-container .icon { border-radius: 3px 0 0 0; } .info-card .subcards-container .subcard.visited .icon.info:before { content: "check"; } .info-card .subcards-container figure { width: 100%; height: 100%; padding: 0; margin: 0; border: none; } .info-card .mainview > .subcard { background-color: rgba(25, 25, 25, 0.8); -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .info-card .mainview > .subcard .column.content { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .info-card .mainview > .subcard .column.content.wide { -webkit-box-flex: 1; -ms-flex: 1 0 55%; flex: 1 0 55%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .info-card .mainview > .subcard .column.content.narrow { -webkit-box-flex: 1; -ms-flex: 1 0 35%; flex: 1 0 35%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .info-card .mainview > .subcard article { background-color: #f2f2f2; max-height: 100%; } .info-card .mainview > .subcard article p { line-height: 1.4em; } .info-card .mainview > .subcard article p:last-child { margin-bottom: 0; } .info-card .mainview > .subcard article p:not(:last-child) { margin-bottom: 0.5em; } .info-card .mainview > .subcard article h2 { font-size: 36px; } .info-card .mainview > .subcard article h2:not(:first-child) { margin-top: 0.5em; } .info-card .mainview > .subcard article .column:not(.zoomable-wrapper) { margin: 30px; } .info-card .mainview > .subcard article a { margin: -0px -5px -20px -5px; padding: 0px 5px 10px 5px; } .info-card .mainview > .subcard .subcard-content { overflow: hidden; background-color: #f2f2f2; -webkit-box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5); box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5); } .info-card .mainview > .subcard .subcard-content.dynamic-height { overflow: visible; } .info-card .mainview > .subcard .subcard-content:not(.dynamic-height) { height: 100%; } .info-card .mainview > .subcard .zoomable-wrapper { padding: 0; margin: 0; padding-top: 30px; padding-bottom: 60px; -ms-flex-item-align: center; -ms-grid-row-align: center; align-self: center; -webkit-box-flex: 0; -ms-flex: 0; flex: 0; } .info-card .mainview > .subcard .imggroup { padding: 0; margin: 0; padding-top: 30px; padding-bottom: 60px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly; } .info-card > .zoomable-wrapper figcaption, .info-card .mainview > .subcard figcaption { width: 100%; position: absolute; text-align: center; } .info-card > .zoomable-wrapper figcaption.zoomcap, .info-card .mainview > .subcard figcaption.zoomcap { font-size: 8px; display: none; top: calc(100% + 10px); padding: 10px; background-color: #f2f2f2; -webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5); color: #191919; z-index: -1; } .info-card > .zoomable-wrapper figcaption.cap, .info-card .mainview > .subcard figcaption.cap { bottom: -40px; } .info-card .subcard.leben_des_kunstwerks .titlebar { border-bottom: 10px solid #80b1d3; z-index: 10; position: relative; } .info-card .subcard.licht_und_farbe .titlebar { border-bottom: 10px solid #80b1d3; z-index: 10; position: relative; } .info-card .subcard.extra_info .titlebar { border-bottom: 10px solid #80b1d3; z-index: 10; position: relative; } .info-card .subcard.artist .titlebar { border-bottom: 10px solid #fdb462; z-index: 10; position: relative; } .info-card .subcard.komposition .titlebar { border-bottom: 10px solid #80b1d3; z-index: 10; position: relative; } .info-card .subcard.details .titlebar { border-bottom: 10px solid #bc80bd; z-index: 10; position: relative; } .info-card .subcard.thema .titlebar { border-bottom: 10px solid #fb8072; z-index: 10; position: relative; } .info-card.debug .mainview > .subcard a { background-color: rgba(102, 51, 153, 0.239); } .info-card.debug article { background-color: rgba(0, 255, 0, 0.5); } .info-card.debug .subcard .view-button { background-color: rgba(0, 255, 0, 0.5) !important; } circle { stroke-width: 1; stroke: white; fill: transparent; } mask circle { stroke-width: 0; fill: white; } /* Color */ /* Font Properties */ /* Spacing */ /* Borders */ /* Shadows */ /* $context: "../../../../../.."; $white: #FEFEFE; $shady-white: rgb(240, 240, 240); $gray: #CCC; $dark: #333; $black: #222; $small-edge-radius: 3px; $big-edge-radius: 10px; $small-pad: 16px; $big-pad: 32px; $tuebingen-red: #e73230; $increased-letter-spacing: 0.1em; $font-color: $black; $text-font-size: 26px; $medium-font-size: 28px; $large-font-size: 32px; $regular-font-size: 1.451rem; $subtitle-font-size: $medium-font-size; $title-font-size: $subtitle-font-size * 1.641; /* Font Weights */ /* $strong-font-weight: 700; $medium-font-weight: 500; $light-font-weight: 300; */ /* Color */ /* Font Properties */ /* Spacing */ /* Borders */ /* Shadows */ /* $context: "../../../../../.."; $white: #FEFEFE; $shady-white: rgb(240, 240, 240); $gray: #CCC; $dark: #333; $black: #222; $small-edge-radius: 3px; $big-edge-radius: 10px; $small-pad: 16px; $big-pad: 32px; $tuebingen-red: #e73230; $increased-letter-spacing: 0.1em; $font-color: $black; $text-font-size: 26px; $medium-font-size: 28px; $large-font-size: 32px; $regular-font-size: 1.451rem; $subtitle-font-size: $medium-font-size; $title-font-size: $subtitle-font-size * 1.641; /* Font Weights */ /* $strong-font-weight: 700; $medium-font-weight: 500; $light-font-weight: 300; */ @font-face { font-family: "Material Icons"; font-style: normal; font-weight: 400; src: url(../fonts/material-icon-font/MaterialIcons-Regular.eot); /* For IE6-8 */ src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/material-icon-font/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/material-icon-font/MaterialIcons-Regular.woff) format("woff"), url(../fonts/material-icon-font/MaterialIcons-Regular.ttf) format("truetype"); } .material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 24px; /* Preferred icon size */ display: inline-block; line-height: 1; text-transform: none; letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr; /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; /* Support for Safari and Chrome. */ text-rendering: optimizeLegibility; /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; /* Support for IE. */ -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; } .popup { width: 800px; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; min-width: 400px; color: #191919; background-color: #f2f2f2; border-radius: 3px; -webkit-box-shadow: 0 0 100px rgba(0, 0, 0, 0.3), 2px 3px 25px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.8); box-shadow: 0 0 100px rgba(0, 0, 0, 0.3), 2px 3px 25px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0.8); padding: 25.64px 40px; } .popup img { display: block; margin: auto; } .popup img:not(:first-child) { margin-top: 20px; } .popup img:not(:last-child) { margin-bottom: 20px; } .popup .notch { width: 20px; height: 20px; border-color: #f2f2f2; } .PopupContent p:not(:last-child) { margin-bottom: 30px; }