From a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 3 Sep 2024 00:08:53 +0300 Subject: refactor: port to typescript --- frontend/src/components/pages/profile.css | 239 ------------------------------ 1 file changed, 239 deletions(-) delete mode 100644 frontend/src/components/pages/profile.css (limited to 'frontend/src/components/pages/profile.css') diff --git a/frontend/src/components/pages/profile.css b/frontend/src/components/pages/profile.css deleted file mode 100644 index 4944ade..0000000 --- a/frontend/src/components/pages/profile.css +++ /dev/null @@ -1,239 +0,0 @@ -#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>span>button{ - background-color: #0000; - border: 0; - cursor: pointer; -} -- cgit v1.2.3