@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'; } html { width: 100%; height: 100%; background-color: lightgray; } header { color: white; min-height: 33%; } main { min-height: 67%; } article { margin: 0px; padding: 32px; padding-right: 64px; position: absolute; overflow: hidden; top: 66px; } .preview img { max-height: 120px; width: 80%; height: 100%; object-fit: cover; } .preview p { margin-top: 44px; } .preview { text-align: center; display: inline; } .thumbnail { position: relative; box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.1); border: 2px solid lightgrey; float: left; margin: 12px; max-height: 300px; max-width: 480px; height: auto; width: auto; } .mainview { background-color: #444; color: white; padding: 32px; position: absolute; overflow: hidden; width: 1400px; height: 1200px; font-size: 1.5rem; } .subcard { position: relative; background-color: white; height: 300px; max-width: 400px; } .svg-wrapper { text-align: center; } .subcard h3 { color: black; margin-left: auto; margin-right: auto; } .card-icon { width: 44px; height: 44px; } .zoom-icon { position: absolute; right: 0px; bottom: 0px; width: 44px; height: 44px; } .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%; } /* ------------ zoomables and zoomed items below ------------ */ .imggroupcontainer { margin-top: 10px; text-align: justify; } .imggroupcontainer:after { content: ''; display: inline-block; width: 100%; } .imggroupcontainer:before { content: ''; display: block; margin-top: -1.25em; } .imgcontainer { text-align: center; } figure { position: relative; display: inline-block; margin-left: auto; margin-right: auto; } .singlefig { max-width: 50%; margin-top: 10px; } .videofig { max-width: 100%; margin-top: 10px; } .groupfig { max-width: 100%; margin-top: 10px; } figure img { object-fit: cover; } figure svg { object-fit: cover; } figure video { object-fit: cover; /*box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5); border: 10px solid rgba(122, 0, 0, 0.05);*/ } figure .mainimg { display: block; overflow: hidden; /*box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5); border: 10px solid rgba(122, 0, 0, 0.05);*/ } figure .groupmainimg { display: block; overflow: hidden; /*box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5); border: 10px solid rgba(122, 0, 0, 0.05);*/ } figcaption { /* position: absolute; */ text-align: center; padding-top: 6px; padding-left: 0px; padding-right: 0px; padding-bottom: 6px; font-size: 12px; } .zoomcap { /*position: absolute;*/ display: none; overflow: hidden; background: white; box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5); width: 100%; padding: 10px; } .cap { width: 100%; } .zoomed-figure { position: absolute; font-family: 'MyriadRegular', sans-serif; background: white; box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.5); display: flex; margin-top: 0px; margin-bottom: 0px; } .zoomed-figure img { top: 0px; /*box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5); border: 10px solid rgba(122, 0, 0, 0.05);*/ } .zoomed-figure figure { margin-top: 0px; margin-bottom: 0px; box-shadow: none; } .zoomed-figure figcaption { color: black; } .ZoomedIcon { top: 0px; left: 0px; } .subcard-content { padding: 25px; display: flex; flex-direction: column; overflow: hidden; height: 100%; -webkit-hyphens: auto; } /* ------------ bulma overwrites below ------------ */ .content h1 { min-height: 70px; color: white; } .content figure { background: transparent; display: block; margin-left: 0em; margin-right: 0em; } .card-content { padding: 25px; display: flex; flex-direction: column; overflow: hidden; height: 100%; -webkit-hyphens: auto; } .content:not(:last-child) { text-align: center; } .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 .icon { position: absolute; bottom: 0; right: 0; } .button { border: 0px solid transparent; border-radius: 0px; } .button:hover { color: #f2f2f2; } .view-button.icon { background-color: #6699FF; color: white; position: absolute; bottom: 0; right: 0; } .view-button.icon.inverted:before { color: #f2f2f2; } .view-button.icon:before { font-size: 36px; } .view-button.icon:hover { color: #f2f2f2; } .icon { min-width: 44px; min-height: 44px; color: white; background-color: #6699FF; pointer-events: none; } .icon.button { pointer-events: all; } .icon.button.corner-button { border-radius: 0; } .icon.button.corner-button.bottom-right {} .icon.inverted { color: #f2f2f2; background-color: #6699FF; } .icon.transparent-background { background-color: #6699FF; } .icon.active { color: #f2f2f2; background-color: #6699FF; } .icon:before { font-family: "Material Icons"; font-size: 36px; } .icon.info { background-color: transparent; font-size: 10px; } .icon.info:before { font-size: 44px; content: url("../assets/images/info.svg") "w"; } .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); }