Fix table CSS in Education section (#269)

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
Emruz Hossain 2021-03-29 02:06:07 +06:00 committed by GitHub
parent 5637e4d139
commit a735dde38b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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