Skip to content

Commit

Permalink
mobile optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisbrown committed Jun 26, 2024
1 parent f74bcf1 commit 6c1f957
Show file tree
Hide file tree
Showing 9 changed files with 179 additions and 128 deletions.
219 changes: 109 additions & 110 deletions index.html

Large diffs are not rendered by default.

88 changes: 70 additions & 18 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,6 @@ aside th:first-child, aside td:first-child {
border-right: 1px solid #dee2e6;
}

figcaption {
font-size: 1em;
}

figcaption .table-caption {
text-align: center;
Expand Down Expand Up @@ -1106,27 +1103,88 @@ h2.text {
display: none;
}


.figure-container {
display: flex;
flex-direction: column;
align-items: center;
}

.figure {
/* width: 150%; */
display: flex;
justify-content: center;
flex-direction: row;
}

figure {
width: 150%;
margin-left: -25%
margin-left: -20%;
}

#nav-bar-benchmark {
padding-bottom: 10px;
/* background-color: #d2e3c845; */
background-color: #ffc1c145;
#fig-vision_connector figure {
width: 120%;
margin-left: -10%;
}

#nav-bar-system {
/* background-color: #b4d5ff32; */
background-color: #ac87c52a;
#fig-dataengine figure {
width: 120%;
margin-left: -10%;
}

@media (max-width: 768px) {
#fig-filter_k figure {
width: 110%;
margin-left: -7.5%;
}

#fig-data_ratio figure {
width: 120%;
margin-left: 0%;
}

figcaption {
font-size: 1.125em;
margin-top: 0.25em;
text-align: center;
}

/* Default: show iframe, hide image */
.responsive-content iframe {
display: block;
justify-content: center;
width: 150%;
margin-left: -5%;
}

.responsive-content img {
display: none;
}

@media (max-width: 720px) {
.figure {
width: 100%;
margin-left: -1%;
}
figure {
width: 100% !important;
margin-left: 0% !important;
}
figure > iframe {
max-width: 100%;
}

/* For mobile devices: hide iframe, show image */
.responsive-content iframe {
display: none;
}

.responsive-content img {
display: block;
}

.responsive-content .click-hint {
display: none;
}
}

#nav-bar > div {
Expand Down Expand Up @@ -1289,12 +1347,6 @@ div.takeaway-tags img {
margin: 1em 0 1em 0;
}

.auto-video, .diego-revise-img,
#diego-plan-video, #diego-plan-video-cap {
width: 100%;
margin-left: 0%;
}

div.takeaway-tags img {
height: 22px;
margin-right: 2px;
Expand Down
Binary file modified static/img/Cumulative_Sum_of_Counts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/data_mixture_ratio_w_avg_score.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/mllm_as_interface.png
Binary file not shown.
Binary file removed static/img/mllm_interface.png
Binary file not shown.
Binary file added static/img/mllm_interface_shared.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/performance_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/sysprompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6c1f957

Please sign in to comment.