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 { .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; position: absolute;
inset: 0;
width: 100%; width: 100%;
height: 65%; height: 100%;
z-index: -1;
-moz-border-radius: 10px; background-color: rgba(143, 136, 136, 0.831);
-webkit-border-radius: 10px;
opacity: .15;
border-radius: 15px; border-radius: 15px;
z-index: -1;
} }
.contents { .contents {
@@ -210,10 +212,22 @@ h1 {
.Info { .Info {
position: absolute; position: absolute;
top: 20px; top: 20px;
left: 20px; left: 20px;
right: 30%; right: 30px;
height: 100vh;
height: calc(100vh - 40px);
overflow: hidden;
box-sizing: border-box;
}
.Info > .pure-g:first-child {
width: 68%;
height: 100%;
overflow: hidden; overflow: hidden;
} }
@@ -253,61 +267,85 @@ h1 {
} }
#scrollTextBox { #scrollTextBox {
width: 30%; position: absolute;
left: 70%;
padding-left: 20px; top: 0;
right: 0;
width: 28%;
height: 100%; height: 100%;
position: fixed;
float: right; padding-left: 20px;
z-index: -997;
box-sizing: border-box;
overflow: hidden; overflow: hidden;
} }
#careerContainer { #careerContainer {
position: relative; position: relative;
height: calc(100vh - 90px);
height: calc(100vh - 120px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
white-space: normal; white-space: normal;
scrollbar-width: thin; scrollbar-width: thin;
background: rgba(20, 20, 20, 0.72); background: rgba(20, 20, 20, 0.72);
border-radius: 10px; border-radius: 10px;
border: 1px solid rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12);
box-shadow: 0 6px 24px rgba(0,0,0,0.24); box-shadow: 0 6px 24px rgba(0,0,0,0.24);
padding-bottom: 24px; padding-bottom: 24px;
opacity: 1;
z-index: 2; z-index: 2;
} }
#innerScrollbox { #innerScrollbox {
max-height: 250px; /* adjust height as needed */ position: relative;
overflow-y: auto;
padding-right: 10px; /* prevents text from touching scrollbar */
}
z-index: 1;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
padding-right: 10px;
box-sizing: border-box;
scrollbar-width: thin;
}
/* Optional: nicer scrollbar */ /* Optional: nicer scrollbar */
#innerScrollbox::-webkit-scrollbar { /* #innerScrollbox::-webkit-scrollbar {
width: 8px; width: 8px;
} }
#innerScrollbox::-webkit-scrollbar-thumb { #innerScrollbox::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.3); background: rgba(255,255,255,0.3);
border-radius: 10px; border-radius: 10px;
} } */
#innerScrollbox { #innerScrollbox {
max-height: 60vh; max-height: 60vh;
overflow-y: auto; overflow-y: auto;
} }
#careerContainer::-webkit-scrollbar { /* #careerContainer::-webkit-scrollbar {
width: 10px; width: 10px;
} }
#careerContainer::-webkit-scrollbar-thumb { #careerContainer::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.25); background: rgba(255,255,255,0.25);
border-radius: 999px; border-radius: 999px;
} } */
.career-progress-wrapper { .career-progress-wrapper {
position: sticky; position: sticky;
@@ -434,11 +472,14 @@ a:hover {
/* Main content box */ /* Main content box */
.content-card { .content-card {
position: relative; position: relative;
border-radius: 10px; border-radius: 10px;
overflow: hidden; overflow: hidden;
height: 70vh; /* bigger vertical size */ height: calc(100vh - 260px);
padding: 10px 0; /* spacing inside */
min-height: 250px;
} }
/* background layer */ /* background layer */
@@ -487,8 +528,131 @@ a:hover {
color: #fff; color: #fff;
} }
@media (max-width: 900px) { @media screen and (max-width: 1200px) {
body {
overflow: auto; .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;
} }
+1
View File
@@ -17,6 +17,7 @@
<body> <body>
<div id="background"></div> <div id="background"></div>
<div class="Info"> <div class="Info">
<div class="pure-g"> <div class="pure-g">
<div class="pure-u-1"> <div class="pure-u-1">
<div class="pure-g title"> <div class="pure-g title">