#section1.profile { margin: 20px; background: linear-gradient(0deg, #202232 50%, #2b2e46 50%); border-radius: 24px; height: 200px; display: grid; grid-template-columns: 250px 1fr; } #section1.profile>div:first-child { overflow: hidden; border-radius: 100%; display: grid; place-items: center; margin: 8px 33px 8px 33px; scale: 0.9; grid-row: 1 / 3; } #profile-image>img { border-radius: 100%; transition: filter 0.3s; cursor: pointer; } #profile-image>span { z-index: 1; position: absolute; opacity: 0; color: white; transition: opacity 0.3s; cursor: pointer; } #profile-image:hover>img { filter: blur(5px) brightness(60%); z-index: 1; } #profile-image:hover>span { opacity: 1; } #profile-top { height: 100px; display: grid; grid-template-columns: 80% 20%; } #profile-top>div:nth-child(1)>div>img { margin: 12px; border-radius: 10px; } #profile-top>div:nth-child(1) { display: flex; place-items: center; font-size: 50px; font-weight: bold; color: white; } #profile-top>div:nth-child(1)>div { display: flex; height: 60px; } span.titles { margin: 12px 12px 12px 0; font-size: 18px; font-weight: 100; padding: 6px 20px 0px 20px; border-radius: 10px; } #profile-top>div:nth-child(2) { display: flex; flex-direction: row-reverse; align-items: center; padding-right: 10px; } #profile-top>div:nth-child(2)>a>img { height: 50px; padding: 0 5px 0 5px; scale: 0.9; filter: brightness(200%); } #profile-bottom { height: 100px; display: grid; grid-template-columns: 1fr 1fr 1fr; } #profile-bottom>div { margin: 12px; background-color: #2b2e46; border-radius: 20px; display: grid; place-items: center; grid-template-rows: 40% 50%; } #profile-bottom>div>span:nth-child(1) { color: inherit; font-size: 18px; } #profile-bottom>div>span:nth-child(2) { color: white; font-size: 40px; } #profile-bottom>div>span:nth-child(2)>span { color: white; font-size: 20px; } /* #section1.profile>div>div{outline: red 1px dashed;} */ #section2.profile { margin: 20px; height: 60px; display: grid; grid-template-columns: 1fr 1fr; } #section2.profile>button { display: flex; justify-content: center; align-items: center; background-color: #2b2e46; border: 0; color: inherit; font-family: inherit; font-size: 24px; cursor: pointer; transition: background-color .1s; } #section2.profile>button:nth-child(1) { border-radius: 24px 0 0 24px; } #section2.profile>button:nth-child(2) { border-radius: 0 24px 24px 0; } #section3.profile1>hr { border: 1px solid #2b2e46; margin: 8px 20px 0px 20px; } #section3.profile1 { margin: 20px; display: block; background-color: #202232; border-radius: 24px; } #profileboard-nav { display: grid; grid-template-columns: 1fr 1fr; } #profileboard-nav>select { /* appearance: none; */ margin: 10px 20px 20px 20px; height: 50px; border-radius: 24px; text-align: center; color: inherit; font-family: inherit; font-size: 24px; border: 0; background-color: #2b2e46; } #profileboard-top>span>img { height: 20px; scale: .8; } #profileboard-top>span>img, #profileboard-top>span>span { cursor: pointer; } #profileboard-top { height: 34px; display: grid; font-size: 20px; padding-left: 40px; margin: 0 20px; grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%; } #profileboard-top>span { display: flex; place-items: flex-end; } #profileboard-records { padding-bottom: 10px; } .profileboard-record { width: calc(100% - 40px); margin: 10px 20px 0px 20px; height: 44px; border-radius: 20px; padding: 0 0 0 40px; font-size: 20px; color: inherit; font-family: inherit; border: 0; transition: background-color .1s; background-color: #2b2e46; display: grid; grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%; overflow: hidden; white-space: nowrap; transition: height .2s } /* this right here should be illegal */ .profileboard-record>span:nth-child(-n+8) { filter: brightness(100%); } .profileboard-record>span { display: flex; place-items: flex-end; filter: brightness(65%); } .profileboard-record>hr { margin: 0 0 0 -60px; border: 0; height: 2px; background-color: #202232; } .profileboard-record>span:nth-child(4) { display: grid; } .profileboard-record>span { display: flex; place-items: center; height: 44px; } .profileboard-record>a>span { display: flex; place-items: center; height: 44px; } .profileboard-record>span>button { background-color: #0000; border: 0; cursor: pointer; } @media screen and (min-width: 769px) and (max-width: 1024px) { #section1.profile { margin: 18px; grid-template-columns: 220px 1fr; height: 180px; } #section1.profile>div:first-child { margin: 6px 28px 6px 28px; scale: 0.85; } #profile-top { height: 90px; grid-template-columns: 75% 25%; } #profile-top>div:nth-child(1) { font-size: 44px; } #profile-top>div:nth-child(1)>div>img { margin: 10px; } span.titles { margin: 10px 10px 10px 0; font-size: 16px; padding: 5px 16px 0px 16px; } #profile-top>div:nth-child(2)>a>img { height: 44px; } #profile-bottom { height: 90px; } #profile-bottom>div>span:nth-child(1) { font-size: 16px; } #profile-bottom>div>span:nth-child(2) { font-size: 24px; } #profile-bottom>div>span:nth-child(2)>span { font-size: 12px; } #section2.profile { margin: 18px; height: 55px; } #section2.profile>button { font-size: 22px; } #section3.profile1 { margin: 18px; } #profileboard-nav>select { margin: 10px 18px 18px 18px; height: 48px; font-size: 22px; } #profileboard-top { font-size: 18px; padding-left: 35px; margin: 0 18px; grid-template-columns: 16% 16% 5% 16% 5% 14% 14% 14%; } .profileboard-record { margin: 10px 18px 0px 18px; width: calc(100% - 36px); padding: 0 0 0 35px; font-size: 18px; grid-template-columns: 16% 16% 5% 16% 5% 14% 14% 14%; } } @media screen and (max-width: 768px) { * { box-sizing: border-box; } #section1.profile { margin: 20px; grid-template-columns: 1fr; height: auto; min-height: 300px; background: linear-gradient(0deg, #202232 60%, #2b2e46 40%); width: calc(100% - 40px); max-width: 100%; box-sizing: border-box; } #section1.profile>div:first-child { margin: 15px auto; grid-row: 1; } #profile-top { grid-template-columns: 1fr; height: auto; text-align: center; width: 100%; box-sizing: border-box; } #profile-top>div:nth-child(1) { justify-content: center; font-size: 32px; word-wrap: break-word; overflow-wrap: break-word; flex-wrap: wrap; } #profile-top>div:nth-child(1)>div { flex-direction: column; height: auto; max-width: 100%; } #profile-top>div:nth-child(2) { justify-content: center; padding: 10px 0; } #profile-bottom { grid-template-columns: 1fr; height: auto; width: 100%; } #profile-bottom>div { margin: 8px 12px; box-sizing: border-box; } #section2.profile { margin: 20px; height: 50px; width: calc(100% - 40px); max-width: 100%; box-sizing: border-box; } #section2.profile>button { font-size: 18px; } #section3.profile1 { margin: 20px; width: calc(100% - 40px); max-width: 100%; box-sizing: border-box; overflow-x: auto; } #profileboard-nav { grid-template-columns: 1fr; width: 100%; } #profileboard-nav>select { margin: 20px; height: 45px; font-size: 18px; width: calc(100% - 40px); box-sizing: border-box; } #profileboard-top { font-size: 12px; padding-left: 10px; padding-right: 10px; margin: 0 10px; display: flex; justify-content: flex-end; } #profileboard-top>span { display: none; } #profileboard-top>div#page-number { display: block; } #section3.profile1>hr { display: none; } .profileboard-record { font-size: 12px; padding-left: 10px; padding-right: 10px; margin: 10px; width: calc(100% - 20px); box-sizing: border-box; grid-template-columns: 28% 14% 9% 24% 5% 18% 0%; } .profileboard-record>span:nth-child(7), .profileboard-record>span:nth-child(16), .profileboard-record>span:nth-child(25), .profileboard-record>span:nth-child(34), .profileboard-record>span:nth-child(43) { display: none; } .profileboard-record>span>button:has(img[alt="download"]), .profileboard-record>span>button:has(img[alt="demo_id"]) { display: none; } span.titles { font-size: 14px; padding: 4px 12px 0px 12px; } }