final website done

This commit is contained in:
2026-05-23 14:58:08 +05:30
parent 81f0befcc0
commit 03bcb0661c
2 changed files with 197 additions and 32 deletions
+196 -32
View File
@@ -53,18 +53,20 @@ h1 {
}
.transparentbox {
color:#FFF;
background-color: rgba(143, 136, 136, 0.831);
opacity: .15;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";
filter: alpha(opacity=15);
position: absolute;
inset: 0;
width: 100%;
height: 65%;
z-index: -1;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
height: 100%;
background-color: rgba(143, 136, 136, 0.831);
opacity: .15;
border-radius: 15px;
z-index: -1;
}
.contents {
@@ -210,10 +212,22 @@ h1 {
.Info {
position: absolute;
top: 20px;
left: 20px;
right: 30%;
height: 100vh;
right: 30px;
height: calc(100vh - 40px);
overflow: hidden;
box-sizing: border-box;
}
.Info > .pure-g:first-child {
width: 68%;
height: 100%;
overflow: hidden;
}
@@ -253,61 +267,85 @@ h1 {
}
#scrollTextBox {
width: 30%;
left: 70%;
padding-left: 20px;
position: absolute;
top: 0;
right: 0;
width: 28%;
height: 100%;
position: fixed;
float: right;
z-index: -997;
padding-left: 20px;
box-sizing: border-box;
overflow: hidden;
}
#careerContainer {
position: relative;
height: calc(100vh - 90px);
height: calc(100vh - 120px);
overflow-y: auto;
overflow-x: hidden;
white-space: normal;
scrollbar-width: thin;
background: rgba(20, 20, 20, 0.72);
border-radius: 10px;
border: 1px solid rgba(255,255,255,0.12);
box-shadow: 0 6px 24px rgba(0,0,0,0.24);
padding-bottom: 24px;
opacity: 1;
z-index: 2;
}
#innerScrollbox {
max-height: 250px; /* adjust height as needed */
overflow-y: auto;
padding-right: 10px; /* prevents text from touching scrollbar */
}
position: relative;
z-index: 1;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
padding-right: 10px;
box-sizing: border-box;
scrollbar-width: thin;
}
/* Optional: nicer scrollbar */
#innerScrollbox::-webkit-scrollbar {
/* #innerScrollbox::-webkit-scrollbar {
width: 8px;
}
#innerScrollbox::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.3);
border-radius: 10px;
}
} */
#innerScrollbox {
max-height: 60vh;
overflow-y: auto;
}
#careerContainer::-webkit-scrollbar {
/* #careerContainer::-webkit-scrollbar {
width: 10px;
}
#careerContainer::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.25);
border-radius: 999px;
}
} */
.career-progress-wrapper {
position: sticky;
@@ -434,11 +472,14 @@ a:hover {
/* Main content box */
.content-card {
position: relative;
border-radius: 10px;
overflow: hidden;
height: 70vh; /* bigger vertical size */
padding: 10px 0; /* spacing inside */
height: calc(100vh - 260px);
min-height: 250px;
}
/* background layer */
@@ -487,8 +528,131 @@ a:hover {
color: #fff;
}
@media (max-width: 900px) {
body {
overflow: auto;
@media screen and (max-width: 1200px) {
.Info {
left: 12px;
right: 12px;
top: 12px;
height: calc(100vh - 24px);
}
#scrollTextBox {
width: 32%;
padding-left: 12px;
}
.Info > .pure-g:first-child {
width: 66%;
}
.title {
font-size: 13pt;
}
.career-stage h3 {
font-size: 1rem;
}
.career-stage p {
font-size: 0.9rem;
}
.timeline {
padding: 40px 20px 20px 20px;
}
}
@media screen and (max-width: 900px) {
#scrollTextBox {
width: 35%;
}
.Info > .pure-g:first-child {
width: 63%;
}
.title {
font-size: 11pt;
}
.contact {
font-size: 11px;
}
.pure-menu-link {
font-size: 11px;
padding: 0.4em 0.5em;
}
.career-stage {
padding: 14px;
}
.career-stage h3 {
font-size: 0.9rem;
}
.career-stage p {
font-size: 0.78rem;
line-height: 1.35;
}
.timeline {
padding: 30px 12px;
gap: 28px;
}
.logo {
width: 26px;
}
}
@media screen and (max-width: 700px) {
body {
min-width: 700px;
overflow-x: auto;
overflow-y: hidden;
}
.Info {
min-width: 700px;
}
}
/* Global scrollbar styling */
* {
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.18) rgba(255,255,255,0.04);
}
/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-track {
background: rgba(255,255,255,0.03);
border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.18);
border-radius: 10px;
transition: background 0.2s ease;
}
*::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,0.28);
}
/* Corner where vertical + horizontal scrollbars meet */
*::-webkit-scrollbar-corner {
background: transparent;
}