3D-animation-arena's picture
Set up arena
6c9ff9d verified
.viewer-container {
display: flex;
gap: 20px;
justify-content: center;
}
model-viewer {
width: 50%;
height: 500px;
background-color: #eeeeee;
}
iframe {
width: 50%;
height: 500px;
background-color: #eeeeee;
border: none;
border-radius: 5px;
}
.js-plotly-plot {
width: 100%;
display: flex;
justify-content: center;
}
@font-face {
font-family: 'Glyphicons Halflings';
src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot');
src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff') format('woff'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
position: relative;
top: 2px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.glyphicon-question-sign:before {
content: "\e085";
}
.popup-btn {
position: relative;
display: inline-block;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: visible !important;
font-size: 20px;
border: none;
text-align: center;
text-decoration: none;
padding-left: 10px;
}
.popup-text {
visibility: hidden;
width: 300px;
background-color: #e4e4e7;
color: #000;
text-align: center;
border-radius: 10px;
padding: 20px 10px;
position: absolute;
z-index: 1;
bottom: 150%;
left: 50%;
margin-left: -145px;
overflow: visible !important;
font-size: 17px;
font-family: Arial, sans-serif;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: visibility 0.3s, opacity 0.3s ease-in-out;
opacity: 0;
}
.popup-text.dark {
background-color: #52525b;
color: #fff;
}
/* Popup arrow */
.popup-text::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #e4e4e7 transparent transparent transparent;
}
.popup-text.dark::after {
border-color: #52525b transparent transparent transparent;
}
.popup-text.show {
visibility: visible;
opacity: 1;
}
.thumbnail-btn {
height:75px;
width: auto;
overflow: hidden;
display: flex;
}
.thumbnail-btn:hover {
cursor: pointer;
transform: scale(1.05);
transition: transform 0.5s;
}
.thumbnail {
width: auto;
height: 100%;
object-fit: cover;
border-radius: 5px;
}
.gallery {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: flex-start;
align-items: flex-start;
}