the info point groups large dont look good on mobile due… · The Chat Archive
Explore the info point groups large dont look good on mobile due to some items not fitting or… Save Share Download ▾ Reportthe info point groups large dont look good on mobile due to some items not fitting or moving correctly within them . fix it
:root {
/* Fonts */
--font-family: "Inter", sans-serif;
--font-weight-normal: 400;
--font-weight-medium: 500;
--font-weight-bold: 600;
code Copy code
/* Colors */
--color-white: #ffffff;
--color-light-gray: #eee;
--color-medium-gray: #8a8a8a;
--color-dark-gray: #777777;
--color-darker-gray: #b5b5b5;
--color-text-light: rgba(255, 255, 255, 0.642);
--color-border: rgba(255, 255, 255, 0.247);
--color-background: rgba(83, 83, 83, 0.226);
--color-background-light: rgba(83, 83, 83, 0.347);
--color-circle-bg: rgba(179, 179, 179, 0.763);
--color-shadow-dark: rgba(0, 0, 0, 0.333);
--color-shadow-medium: rgba(0, 0, 0, 0.167);
--color-shadow-light: rgba(0, 0, 0, 0.176);
--color-shadow-text: rgba(0, 0, 0, 0.174);
--color-highlight-shadow: rgba(255, 255, 255, 0.244);
--color-highlight-shadow-strong: rgba(255, 255, 255, 0.498);
--color-button-shadow: rgba(8, 8, 8, 0.308);
/* Sizes */
--border-radius-small: 15px;
--border-radius-medium: 9mm;
--border-radius-large: 50px;
--padding-small: 10px;
--padding-medium: 20px;
--padding-large: 30px;
--font-size-h1: 90px;
--font-size-h2: 30px;
--font-size-icon-large: 60px;
--font-size-icon-medium: 50px;
--font-size-button: 19px;
--font-size-button-icon: 30px;
--circle-size: 20px;
--width-container: 650px;
--width-info-point: 110px;
--height-info-point: 110px;
/* Shadows */
--box-shadow-dark: 0px 10px 10px var(--color-shadow-dark);
--box-shadow-medium: 0px 10px 10px var(--color-shadow-medium);
--box-shadow-light: 0px 1px 5px var(--color-shadow-light);
--text-shadow: 0px 10px 15px var(--color-shadow-text);
--text-shadow-highlight: 0px 0px 40px var(--color-highlight-shadow);
--text-shadow-strong: 0px 0px 40px var(--color-highlight-shadow-strong);
--box-shadow-button: 0px 5px 10px var(--color-button-shadow);
/* Gradients */
--gradient-light: linear-gradient(45deg, var(--color-light-gray), var(--color-medium-gray), var(--color-light-gray));
--gradient-dark: linear-gradient(45deg, var(--color-darker-gray), var(--color-dark-gray), var(--color-darker-gray));
/* Animations */
--animation-shine-duration: 5s;
--animation-shine: shine var(--animation-shine-duration) linear infinite;
--animation-background-size: 200% auto;
/* Transitions */
--transition-default: all 0.3s ease;
--transition-transform-fast: transform 0s cubic-bezier(0.02, 1.23, 0.79, 1.08);
Show full message · 697 lines Assistant2024-11-11 05:42 UTC Copy response
Copy first prompt
Details
Provider OpenAI
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language en
Conversation date Nov 11, 2024
Added to archive Nov 16, 2026
ID 01m7h427xw47r8hdxj0sg3c473Source & license Imported from WildChat-4.8M (AI2) (source ). Imported records earn no Research Points.
Upstream record: 360887b41b6977597ed37a77dc84950d
Zhao et al., WildChat: 1M ChatGPT Interaction Logs in the Wild (ICLR 2024). Contains information from WildChat-4.8M, made available under the ODC Attribution License.
License: ODC-BY-1.0
body {
margin: 0;
padding: 0;
font-family: var(--font-family);
font-style: normal;
color: var(--color-white);
overflow-x: hidden;
overflow-y: scroll;
}
body::-webkit-scrollbar {
display: none;
}
.circle {
position: fixed;
z-index: 10000;
width: var(--circle-size);
height: var(--circle-size);
background-color: var(--color-circle-bg);
border-radius: 50%;
box-shadow: var(--box-shadow-light);
pointer-events: none;
transition: var(--transition-transform-fast);
}
.ball {
position: absolute;
border-radius: 100%;
opacity: 0.7;
}
.twitter-selector {
position: absolute;
margin-left: 40px;
padding: var(--padding-small);
border: 1px solid var(--color-border);
border-radius: var(--border-radius-small);
backdrop-filter: blur(50px);
box-shadow: var(--box-shadow-dark);
opacity: 0;
pointer-events: none;
transition: var(--transition-default);
transform: translateY(0);
z-index: 1000;
}
.twitter-selector.show {
opacity: 1;
transform: translateY(-10px);
pointer-events: auto;
code Copy code
z-index: 100000;
.twitter-selector button {
display: block;
width: 100%;
padding: 5px 10px;
margin-bottom: 5px;
border: 1px solid var(--color-border);
border-radius: var(--border-radius-large);
background-color: var(--color-background);
color: var(--color-text-light);
cursor: pointer;
}
.context {
position: relative;
top: 120px;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
.context h1 {
margin: 0 0 -6px;
font-size: var(--font-size-h1);
font-weight: var(--font-weight-bold);
letter-spacing: -3px;
text-align: left;
color: white;
width: 100%;
margin-left: 20px;
text-shadow: var(--text-shadow);
animation: var(--animation-shine);
}
.context h2:not(.point-text) {
margin-top: 20px;
font-size: 20px;
font-weight: var(--font-weight-bold);
letter-spacing: -1px;
text-align: left;
code Copy code
color: rgba(255, 255, 255, 0.486);
border-radius: 23px;
box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.103);
padding: 20px;
background-color: rgba(0, 0, 0, 0.384);
width: calc(100% - 50px);
margin-bottom: 5px;
text-shadow: var(--text-shadow);
animation: var(--animation-shine);
.context-img {
width: 100px;
height: auto;
margin-bottom: 10px;
border-radius: var(--border-radius-medium);
box-shadow: var(--box-shadow-dark);
}
.context-buttons {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.context-buttons-hstack {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
z-index: 10001;
}
.context-button {
display: flex;
align-items: center;
justify-content: center;
width: 95px;
height: 18px;
padding: 15px 30px;
border-radius: var(--border-radius-large);
font-size: var(--font-size-button);
font-weight: var(--font-weight-medium);
text-align: center;
letter-spacing: -0.5px;
code Copy code
transition: var(--transition-default);
font-size: 18px;
color: rgba(255, 255, 255, 0.829);
font-weight: 400;
backdrop-filter: blur(30px) saturate(150%);
box-shadow: inset 0px -0.5px 1px rgba(94, 94, 94, 0.3), inset 0px -0.5px 1px rgba(255, 255, 255, 0.2), inset 0px 1.5px 4px rgba(0, 0, 0, 0.08), inset 0px 1.5px 4px rgba(0, 0, 0, 0.1), var(--box-shadow-medium);
background-color: rgba(128, 128, 128, 0.3);
.context-button-slim,
.context-download-button {
width: 30px;
height: 30px;
padding: 11px;
margin-left: 10px;
border-radius: var(--border-radius-medium);
background-color: transparent;
backdrop-filter: blur(50px);
font-size: var(--font-size-button-icon);
font-weight: var(--font-weight-medium);
text-align: center;
transition: var(--transition-default);
code Copy code
font-size: 18px;
color: rgba(255, 255, 255, 0.829);
font-weight: 400;
backdrop-filter: blur(30px) saturate(150%);
box-shadow: inset 0px -0.5px 1px rgba(94, 94, 94, 0.3), inset 0px -0.5px 1px rgba(255, 255, 255, 0.2), inset 0px 1.5px 4px rgba(0, 0, 0, 0.08), inset 0px 1.5px 4px rgba(0, 0, 0, 0.1), var(--box-shadow-medium);
background-color: rgba(128, 128, 128, 0.3);
.gradient-border-bg-button {
pointer-events: none;
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: var(--border-radius-medium);
border: 1px solid transparent;
background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.02) 41%, rgba(255, 255, 255, 0.02) 57%, rgba(255, 255, 255, 0.1) 100%) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
}
.context-button-slim:first-child {
margin-left: 0;
}
.info,
.info-points {
position: relative;
top: 230px;
width: var(--width-container);
margin-top: 50px;
padding: var(--padding-medium);
code Copy code
border-radius: var(--border-radius-medium);
backdrop-filter: blur(30px) saturate(150%);
box-shadow: inset 0px -0.5px 1px rgba(94, 94, 94, 0.3), inset 0px -0.5px 1px rgba(255, 255, 255, 0.2), inset 0px 1.5px 4px rgba(0, 0, 0, 0.08), inset 0px 1.5px 4px rgba(0, 0, 0, 0.1), var(--box-shadow-medium);
background-color: rgba(128, 128, 128, 0.3);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.gradient-border-bg {
pointer-events: none;
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: var(--border-radius-medium);
border: 1px solid transparent;
background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.02) 41%, rgba(255, 255, 255, 0.02) 57%, rgba(255, 255, 255, 0.1) 100%) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
}
.info h1,
.info-points h1 {
margin-bottom: 10px;
font-size: 35px;
letter-spacing: -1.5px;
}
.info h2,
.info-points h2 {
font-size: 20px;
}
.info-point-groups {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
max-width: 600px;
margin: 0 auto;
align-items: center;
justify-content: center;
}
code Copy code
width: var(--width-info-point);
height: var(--height-info-point);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: var(--transition-default);
text-align: center;
width: 150px;
height: 150px;
color: rgba(255, 255, 255, 0.486);
border-radius: 23px;
box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.103);
background-color: rgba(0, 0, 0, 0.384);
.info-point-group:hover {
transform: scale(1.05);
box-shadow: inset 0px 0px 10px var(--color-border);
}
.info-point-icon {
font-size: var(--font-size-icon-large);
background: var(--gradient-light);
background-size: var(--animation-background-size);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
text-shadow: var(--text-shadow-highlight);
}
.header {
text-align: center;
background: transparent;
margin-bottom: 0;
.header h3 {
font-weight: 600;
margin-top: 0;
}
.info-point-groups-large {
width: 100%;
margin-top: 20px;
display: flex;
flex-direction: column;
code Copy code
align-items: center;
justify-content: center;
.info-point-group-large {
overflow: hidden;
width: calc(100% - 15px);
padding-top: 20px;
padding-bottom: 20px;
margin-bottom: 15px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
text-align: left;
transition: all 0.3s ease;
code Copy code
color: rgba(255, 255, 255, 0.486);
border-radius: 23px;
box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.103);
background-color: rgba(0, 0, 0, 0.384);
.hstack {
display: flex;
flex-direction: row;
text-align: left;
justify-content: flex-start;
code Copy code
margin-left: 20px;
.vstack {
display: flex;
flex-direction: column;
text-align: left;
}
.point-text {
text-align: center;
background-color: transparent;
box-shadow: none;
letter-spacing: -0.2px;
margin: 0;
font-weight: 500;
font-size: 20px;
color: rgba(255, 255, 255, 0.486);
}
.info-point-group-large:hover {
transform: scale(1.03);
box-shadow: 0px 0px 10px var(--color-border);
}
.info-point-large-icon {
width: 70px;
height: 70px;
margin-right: 20px;
border-radius: 10px;
box-shadow: var(--box-shadow-dark);
background: var(--gradient-light);
background-size: var(--animation-background-size);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
text-shadow: var(--text-shadow-highlight);
}
.info-point-large h1 {
margin-bottom: 0;
font-size: 30px;
margin: 0;
.info-point-large h2 {
text-align: left;
.highlighted {
background: var(--gradient-dark);
background-size: var(--animation-background-size);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
text-shadow: var(--text-shadow-strong);
animation: var(--animation-shine);
}
.material-symbols-rounded {
font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
div {
transition: var(--transition-default);
}
@keyframes shine {
0% {
background-position: 200% center;
}
code Copy code
100% {
background-position: -200% center;
}
@keyframes animate {
0% {
transform: translateY(0) rotate(0deg);
opacity: 1;
border-radius: 0;
}
code Copy code
100% {
transform: translateY(-1000px) rotate(720deg);
opacity: 0;
border-radius: 50%;
}
@media screen and (max-width: 768px) {
.context {
top: 60px;
}
code Copy code
.context h1 {
font-size: 50px;
letter-spacing: -1.5px;
}
.context h2 {
font-size: 24px;
}
.info,
.info-points {
width: 85%;
top: 50px;
margin-top: 30px;
}
.info h1,
.info-points h1 {
font-size: 28px;
}
.info h2,
.info-points h2 {
font-size: 18px;
}
.info-point-groups {
grid-template-columns: repeat(2, minmax(140px, 1fr));
}
.info-point-group {
width: 200px;
height: 200px;
}
.context-button {
font-size: 18px;
padding: 12px 24px;
}
.context-button-slim,
.context-download-button {
font-size: 24px;
padding: 8px;
width: 30px;
height: 30px;
}
.context-buttons-hstack {
flex-wrap: wrap;
justify-content: center;
}
.context-buttons-hstack>* {
margin: 5px;
}
@media (hover: hover) and (pointer: fine) {
code Copy code
.info-point-group:hover,
.info-point-group-large:hover {
transform: scale(1.05);
box-shadow: 0px 0px 10px var(--color-border);
}
.context-button:hover,
.context-button-slim:hover,
.context-download-button:hover {
transform: scale(1.05);
box-shadow: inset 0px 0px 5px rgba(255, 255, 255, 0.26);
text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.991);
}
@supports (-webkit-touch-callout: none) {
code Copy code
.info-point-group,
.context-button,
.context-button-slim,
.context-download-button {
transition: transform 0.3s ease;
}
.info-point-group:active,
.context-button:active,
.context-button-slim:active,
.context-download-button:active {
transform: scale(0.95);
}
.more-info {
max-height: 0;
opacity: 0;
code Copy code
transition: max-height 0.5s ease, opacity 0.5s ease;
.more-info p {
width: calc(100% - 40px);
margin-top: 20px;
margin-bottom: 0;
margin-left: 23px;
}
.info-point-group-large.expanded .more-info {
max-height: 400px;
opacity: 1;
}
.info-point-group-large.expanded .info-point-large-chevron {
transform: rotate(90deg) translate(0, -130px);
}
.info-point-large-chevron {
transform: translate(130px, 23px);
font-size: 25px;
color: rgba(255, 255, 255, 0.555);
text-shadow: var(--text-shadow-highlight);
transition: all 0.3s ease;
position: fixed;
margin-left: 435px;
}
code Copy code
width: calc(100% - 37px);
margin-left: 18.5px;
height: 18px;
padding-top: 15px;
padding-bottom: 15px;
border-radius: var(--border-radius-large);
font-size: var(--font-size-button);
font-weight: var(--font-weight-medium);
text-align: center;
letter-spacing: -0.5px;
text-decoration: none;
transition: var(--transition-default);
font-size: 18px;
color: rgba(255, 255, 255, 0.829);
font-weight: 400;
backdrop-filter: blur(30px) saturate(150%);
box-shadow: inset 0px -0.5px 1px rgba(94, 94, 94, 0.3), inset 0px -0.5px 1px rgba(255, 255, 255, 0.2), inset 0px 1.5px 4px rgba(0, 0, 0, 0.08), inset 0px 1.5px 4px rgba(0, 0, 0, 0.1), var(--box-shadow-medium);
background-color: rgba(128, 128, 128, 0.3);
.github-link-button:hover {
transform: scale(1.05);
box-shadow: inset 0px 0px 5px rgba(255, 255, 255, 0.26);
text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.991);
}
.image-scroller {
display: flex;
margin-top: 15px;
margin-bottom: 15px;
width: 100%;
transform: translateX(23px);
.image-scroller img {
height: 160px;
width: 290px;
margin-right: 10px;
border-radius: var(--border-radius-small);
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.24);
}
::-webkit-scrollbar {
display: none;
}
You're right—the .info-point-group-large elements aren't adjusting correctly on mobile devices because their styles aren't tailored for smaller screens. The main issue is that they're using flex-direction: row, which doesn't adapt well on narrower screens.
To fix this, we need to modify the CSS within the media query for mobile devices (max-width: 768px). We'll change the flex direction to column and adjust other properties to ensure everything fits and aligns properly on mobile screens.
Here's the updated CSS code with the necessary changes:
css Copy code
@media screen and (max-width: 768px) {
.context {
top: 60px;
}
.context h1 {
font-size: 50px;
letter-spacing: -1.5px;
}
.context h2 {
font-size: 24px;
}
.info,
.info-points {
width: 85%;
top: 50px;
margin-top: 30px;
}
.info h1,
.info-points h1 {
font-size: 28px;
}
.info h2,
.info-points h2 {
font-size: 18px;
}
.info-point-groups {
grid-template-columns: repeat(2, minmax(140px, 1fr));
}
.info-point-group {
width: 200px;
height: 200px;
}
/* Adjust .info-point-group-large for mobile */
.info-point-group-large {
flex-direction: column;
align-items: center;
width: 95%;
padding-left: 10px;
padding-right: 10px;
}
.hstack {
flex-direction: column;
align-items: center;
margin-left: 0;
}
.hstack .info-point-large-icon {
margin-right: 0;
margin-bottom: 10px;
}
.vstack {
align-items: center;
text-align: center;
}
.more-info p {
margin-left: 0;
width: 100%;
}
.image-scroller {
transform: none;
overflow-x: scroll;
padding-left: 0;
margin-left: 0;
}
.github-link-button {
margin-left: 0;
width: 90%;
}
.info-point-large-chevron {
position: relative;
margin-left: 0;
transform: rotate(0deg) translate(0, 0);
}
/* Adjust the sizes of icons and text */
.info-point-large-icon {
width: 50px;
height: 50px;
}
.info-point-group-large.expanded .info-point-large-chevron {
transform: rotate(90deg) translate(0, 0);
}
.context-button {
font-size: 18px;
padding: 12px 24px;
}
.context-button-slim,
.context-download-button {
font-size: 24px;
padding: 8px;
width: 30px;
height: 30px;
}
.context-buttons-hstack {
flex-wrap: wrap;
justify-content: center;
}
.context-buttons-hstack > * {
margin: 5px;
}
}
Explanation of the Changes:
Flex Direction: Changed .info-point-group-large flex direction to column to stack elements vertically.
Alignment: Centered elements using align-items: center in .info-point-group-large, .hstack, and .vstack.
Margins and Widths: Adjusted margins and widths to ensure elements fit within the mobile screen without overflowing.
Icon and Text Sizes: Reduced the size of icons and adjusted text alignment for better readability on smaller screens.
Chevron Icon: Modified the position and transformation of .info-point-large-chevron to ensure it appears correctly.
Image Scroller: Adjusted .image-scroller to handle horizontal scrolling on mobile devices.
By applying these changes, the .info-point-group-large elements should display correctly on mobile devices, with items fitting and moving appropriately within them.
Copy first response
Not yet included in a published release.