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,173 +1,155 @@
.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;
}
.education-info-table tr:hover { .icon {
background: none; width: 2rem;
} padding-left: 0;
padding-right: 0;
position: relative;
.education-info-table tr, .hline {
.education-info-table th, position: absolute;
.education-info-table td { left: 1rem;
border: none; top: 0;
padding: 0; background-color: #248aaa;
background: none; height: 100%;
} width: 2px;
}
.timeframe { .icon-holder {
color: #8392a5; background-color: #248aaa;
text-align: right; border-radius: 50%;
} height: 2rem;
width: 2rem;
padding: 0.2rem;
text-align: center;
color: #e5e9f2;
position: relative;
}
}
h1 > span{ tr,
margin-top: -55px; /* Size of fixed header */ th,
padding-bottom:55px; td {
display: block; border: none;
} padding: 0;
background: none;
}
.icon { tr {
width: 2rem; &:hover {
padding-left: 0; background: none;
padding-right: 0; }
position: relative; &:first-child {
} .hline {
height: 65%;
top: auto;
}
}
&:last-child {
.hline {
height: 50%;
}
}
.icon .hline { .line {
position: absolute; width: 5%;
left: 1rem; padding-left: 0;
top: 0; padding-right: 0;
background-color: #248aaa;
height: 100%;
width: 2px;
}
.education-info-table tr:first-child .hline { div {
height: 65%; height: 2px;
top: auto; /* width: 100%; */
} margin-right: -1px;
background-color: #248aaa;
}
}
.education-info-table tr:last-child .hline { .details {
height: 50%; .degree-info {
} padding: 1rem;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
border-left: 2px solid #248aaa;
border-top: 1px solid #c0ccda;
border-bottom: 1px solid #c0ccda;
border-right: 1px solid #c0ccda;
border-radius: 5px;
.icon-holder { h5 {
background-color: #248aaa; margin-bottom: 0.3rem;
border-radius: 50%; }
height: 2rem;
width: 2rem;
padding: 0.2rem;
text-align: center;
color: #e5e9f2;
position: relative;
}
.line { .timeframe {
width: 5%; color: #8392a5;
padding-left: 0; text-align: right;
padding-right: 0; }
}
.line div { .taken-courses {
height: 2px; table {
/* width: 100%; */ margin-left: 1rem;
margin-right: -1px; width: 100%;
background-color: #248aaa; transition: all 0.3s ease-out;
} background: none;
border: none;
.degree-info { tr,
padding: 1rem; td,
margin-top: 0.5rem; th {
margin-bottom: 0.5rem; background: none;
border-left: 2px solid #248aaa; border: none;
border-top: 1px solid #c0ccda; color: #212529;
border-bottom: 1px solid #c0ccda; }
border-right: 1px solid #c0ccda;
border-radius: 5px;
}
.degree-info h5 { tr {
margin-bottom: 0.3rem; height: auto !important;
} }
th {
.taken-courses table { .course-name-header {
margin-left: 1rem; width: 50%;
width: 100%; }
transition: all 0.3s ease-out; }
background: none; .hidden-course {
border: none; display: none;
} transition: all 1s ease-out;
}
.taken-courses tr { ul {
height: auto !important; margin-bottom: 0;
} }
}
.taken-courses tr, }
.taken-courses td, }
.taken-courses th { }
background: none; }
border: none;
color: #212529;
}
.taken-courses th.course-name-header{
width: 50%;
}
.taken-courses .hidden-course {
display: none;
transition: all 1s ease-out;
}
.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;
@ -178,26 +160,17 @@
.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) {
}
} }