Update education section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2023-08-06 23:36:18 +06:00
parent 81cdb970fc
commit a0a50736de

View file

@ -1,203 +1,176 @@
.education-section { .education-section {
h1 > span {
margin-top: -55px; /* Size of fixed header */
padding-bottom: 55px;
display: block;
}
.card {
&:hover,
&:focus {
border-left: 2px solid #248aaa;
}
}
.education-info-table { .education-info-table {
width: 100%; width: 100%;
border: none; border: none;
background: none; background: none;
}
.icon {
.education-info-table tr:hover { width: 2rem;
background: none; padding-left: 0;
} padding-right: 0;
position: relative;
.education-info-table tr,
.education-info-table th, .hline {
.education-info-table td { position: absolute;
border: none; left: 1rem;
padding: 0; top: 0;
background: none; background-color: #248aaa;
} height: 100%;
width: 2px;
.timeframe { }
color: #8392a5;
text-align: right; .icon-holder {
} background-color: #248aaa;
border-radius: 50%;
h1 > span{ height: 2rem;
margin-top: -55px; /* Size of fixed header */ width: 2rem;
padding-bottom:55px; padding: 0.2rem;
display: block; text-align: center;
} color: #e5e9f2;
position: relative;
.icon { }
width: 2rem; }
padding-left: 0;
padding-right: 0; tr,
position: relative; th,
} td {
border: none;
.icon .hline { padding: 0;
position: absolute; background: none;
left: 1rem; }
top: 0;
background-color: #248aaa; tr {
height: 100%; &:hover {
width: 2px; background: none;
} }
&:first-child {
.education-info-table tr:first-child .hline { .hline {
height: 65%; height: 65%;
top: auto; top: auto;
} }
}
.education-info-table tr:last-child .hline { &:last-child {
height: 50%; .hline {
} height: 50%;
}
.icon-holder { }
background-color: #248aaa;
border-radius: 50%; .line {
height: 2rem; width: 5%;
width: 2rem; padding-left: 0;
padding: 0.2rem; padding-right: 0;
text-align: center;
color: #e5e9f2; div {
position: relative; height: 2px;
} /* width: 100%; */
margin-right: -1px;
.line { background-color: #248aaa;
width: 5%; }
padding-left: 0; }
padding-right: 0;
} .details {
.degree-info {
.line div { padding: 1rem;
height: 2px; margin-top: 0.5rem;
/* width: 100%; */ margin-bottom: 0.5rem;
margin-right: -1px; border-left: 2px solid #248aaa;
background-color: #248aaa; border-top: 1px solid #c0ccda;
} border-bottom: 1px solid #c0ccda;
border-right: 1px solid #c0ccda;
.degree-info { border-radius: 5px;
padding: 1rem;
margin-top: 0.5rem; h5 {
margin-bottom: 0.5rem; margin-bottom: 0.3rem;
border-left: 2px solid #248aaa; }
border-top: 1px solid #c0ccda;
border-bottom: 1px solid #c0ccda; .timeframe {
border-right: 1px solid #c0ccda; color: #8392a5;
border-radius: 5px; text-align: right;
} }
.degree-info h5 { .taken-courses {
margin-bottom: 0.3rem; table {
} margin-left: 1rem;
width: 100%;
.taken-courses table { transition: all 0.3s ease-out;
margin-left: 1rem; background: none;
width: 100%; border: none;
transition: all 0.3s ease-out;
background: none; tr,
border: none; td,
} th {
background: none;
.taken-courses tr { border: none;
height: auto !important; color: #212529;
} }
.taken-courses tr, tr {
.taken-courses td, height: auto !important;
.taken-courses th { }
background: none; th {
border: none; .course-name-header {
color: #212529; width: 50%;
} }
.taken-courses th.course-name-header{ }
width: 50%; .hidden-course {
} display: none;
.taken-courses .hidden-course { transition: all 1s ease-out;
display: none; }
transition: all 1s ease-out; ul {
} margin-bottom: 0;
}
.taken-courses ul { }
margin-bottom: 0; }
}
}
}
} }
.hidden { .hidden {
display: none; display: none;
} }
/*============ Education Alter Template =============*/ @include media('<=large') {
.education-alt .degree-info {
border-right: 2px solid #248aaa;
}
/* ============= Device specific fixes ======= */
/* Large screens such as TV */
@media only screen and (min-width: 1824px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
/* IPad Pro */
@media (max-width: 1024px) {
.container { .container {
padding-left: 0; padding-left: 0;
} }
} }
/* Large devices (desktops, 992px and up) */ @include media('<=small') {
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
padding-left: 0.5rem; padding-left: 0.5rem;
padding-right: 0.5rem; padding-right: 0.5rem;
.container { .container {
padding-right: 0; padding-right: 0;
} }
.icon { .icon {
display: none; display: none;
} }
.line { .line {
display: none; display: none;
} }
.timeframe { .timeframe {
text-align: left; text-align: left;
} }
} }
}
/* iPhoneX, iPhone 6,7,8 */
.education-alt .degree-info {
@media only screen and (max-width: 375px) { border-right: 2px solid #248aaa;
} }
/* Galaxy S5, Moto G4 */
@media only screen and (max-width: 360px) {
}
/* iPhone 5 or before */
@media only screen and (max-width: 320px) {
}
}