gaussian-splatting/docs/resources/css/style.css
2024-06-17 12:14:33 -07:00

365 lines
5.9 KiB
CSS

body {
margin: 0 auto;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 18px;
}
.tbl_video {
width: 80%;
margin: 0 auto;
text-align: center;
}
.container {
margin: 0 auto;
width: 100%;
max-width: 1200px;
text-align: center;
display: block;
}
#visualization {
margin-top: -3em;
}
#canvas {
border-style: solid;
border-width: 2px;
border-color: #1f1f1f;
}
#load-warning {
position: relative;
color: red;
font-weight: bold;
font-size: 2em;
font-family: monospace;
}
.lil-gui {
--width: 1000px;
}
.lil-gui>.title {
font-size: 1em;
}
.title {
font-size: 36px;
margin-top: 20px;
width: 90%;
}
.venue {
font-size: 22px;
margin-top: 20px;
width: 90%;
}
.author {
width: 95%;
max-width: 300px;
font-size: 20px;
}
.affiliation {
font-size: 20px;
width: 95%;
max-width: 450px;
}
.points-label {
margin-top: 2px;
margin-bottom: 0px;
margin-left: -2px;
margin-right: 5px;
min-width: 10px;
min-height: 10px;
border-radius: 50%;
display: inline-block;
border: 0px solid black;
}
.lines-label {
margin-top: 0px;
margin-bottom: 3px;
margin-left: -2px;
margin-right: 2px;
min-width: 15px;
min-height: 5px;
border-radius: 0%;
display: inline-block;
border: 0px solid black;
}
.line {
margin-top: 2px;
margin-bottom: 3px;
margin-left: -2px;
margin-right: 5px;
min-width: 70px;
min-height: 2px;
border-radius: 0%;
display: inline-block;
border: 0px solid black;
}
.justified {
text-align: justify;
}
.links {
font-size: 22px;
width: 95%;
max-width: 150px;
}
.video-container {
position: relative;
overflow: hidden;
width: 80%;
padding-top: 45%;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
.paper-thumbnail {
margin: 0 auto;
width: 40%;
max-width: 250px;
display: inline-block;
vertical-align: top;
padding: 2% 10% 4% 0;
}
.paper-info {
width: 45%;
display: inline-block;
vertical-align: top;
}
@media (max-width: 999px) {
.paper-thumbnail {
width: 60%;
}
.paper-info {
width: 80%;
}
}
p {
text-align: left;
margin: 0 auto;
margin-bottom: 10px;
}
h1 {
font-weight: 700;
text-align: center;
font-size: 1.5em;
margin-bottom: 20px;
}
h2 {
text-align: center;
}
h3 {
text-align: left;
}
h4 {
text-align: left;
}
h5 {
text-align: left;
}
div {
display: inline-block;
}
hr {
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
width: 90%;
}
pre {
overflow-x: auto;
text-align: left;
border: 1px solid grey;
border-radius: 3px;
background: #eeeeee;
padding: 5px 5px 5px 10px;
line-height: 1.2;
white-space: pre-wrap;
}
pre code {
text-align: left;
word-wrap: normal;
white-space: pre-wrap;
font-size: 14px;
}
a:link,
a:visited {
color: #1367a7;
text-decoration: none;
}
a:hover {
color: #208799;
}
.layered-paper-big {
box-shadow:
0px 0px 1px 1px rgba(0, 0, 0, 0.35),
/* The top layer shadow */
5px 5px 0 0px #fff,
/* The second layer */
5px 5px 1px 1px rgba(0, 0, 0, 0.35),
/* The second layer shadow */
10px 10px 0 0px #fff,
/* The third layer */
10px 10px 1px 1px rgba(0, 0, 0, 0.35),
/* The third layer shadow */
15px 15px 0 0px #fff,
/* The fourth layer */
15px 15px 1px 1px rgba(0, 0, 0, 0.35),
/* The fourth layer shadow */
20px 20px 0 0px #fff,
/* The fifth layer */
20px 20px 1px 1px rgba(0, 0, 0, 0.35),
/* The fifth layer shadow */
25px 25px 0 0px #fff,
/* The fifth layer */
25px 25px 1px 1px rgba(0, 0, 0, 0.35);
/* The fifth layer shadow */
margin-left: 10px;
margin-right: 45px;
}
* {box-sizing: border-box;}
.img-comp-container {
position: relative;
height: 200px; /*should be the same height as the images*/
}
.img-comp-img {
position: absolute;
width: auto;
height: auto;
overflow:hidden;
}
.img-comp-img img {
display:block;
}
.img-comp-slider {
position: absolute;
z-index:9;
cursor: ew-resize;
/*set the appearance of the slider:*/
width: 40px;
height: 40px;
background-color: #2196F3;
opacity: 0.7;
border-radius: 50%;
}
.tbl_comparison {
width: 40%;
text-align: center;
}
.parent-container {
display: flex;
justify-content: center;
align-items: center;
width: 40%;
text-align: center;
}
.parent-video-compare-container {
width: 80%;
justify-content: center;
}
.double-arrow {
font-size: 24px;
display: inline-block;
white-space: nowrap; /* Prevent line break */
}
.left-arrow {
margin-right: -4px; /* Adjusted margin to remove space */
}
.right-arrow {
margin-left: -4px; /* Adjusted margin to remove space */
}
.video-compare-container {
width: 100%;
margin: 0 auto;
position: relative;
display: block;
line-height: 0;
}
.video {
width: 100%;
height: auto;
position: relative;
top: 0;
left: 0;
}
.videoMerge {
position: relative;
top: 0;
left: 0;
z-index: 10;
width: 100%;
display: block;
margin: 0 auto;
background-size: cover;
}
.cropped-video {
width: 100%;
overflow: hidden;
display: block;
}
.compare-image-container img {
display: block;
max-width: 100%;
height: auto;
}
.compare-image-container .alt-text {
position: absolute;
top: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.8);
padding: 5px;
}
.b-dics__slider {
color: #1e4beb;
}
.b-dics__slider:after {
width: 2px;
}