diff --git a/research/DSG/index.html b/research/DSG/index.html index 37aa417ab..29af5386a 100644 --- a/research/DSG/index.html +++ b/research/DSG/index.html @@ -132,12 +132,27 @@ display: flex; justify-content: center; /* Center buttons horizontally */ + flex-wrap: wrap; + /* Allow wrapping on smaller widths */ gap: 18px; /* Increased space between buttons */ margin-top: 20px; /* Space above the buttons */ } + @media (max-width: 640px) { + .button-container { + flex-direction: column; + align-items: center; + } + + .button-container .custom-button { + width: 100%; + max-width: 280px; + text-align: center; + } + } + .panel-style { background-color: #fafafa; padding: 20px; @@ -145,6 +160,59 @@ border: 1px solid #ccc; border-radius: 8px; } + + .media-single { + text-align: center; + margin: 20px auto; + --media-landscape-width: 60%; + } + + .media-single img { + display: block; + margin: 0 auto; + width: 100%; + max-width: 100%; + } + + .media-pair { + text-align: center; + margin: 20px auto; + } + + .media-pair img + img { + margin-left: 30px; + } + + @media (max-width: 768px) { + .media-pair { + display: flex; + flex-direction: column; + align-items: center; + gap: 18px; + } + + .media-pair img { + width: 90% !important; + max-width: 360px; + margin: 0 auto !important; + } + + .media-pair img + img { + margin-left: 0; + } + } + + @media (orientation: landscape) { + .media-single img { + width: var(--media-landscape-width); + } + } + + @media (orientation: portrait) { + .media-single img { + width: 100%; + } + }