* migrate bootstrap and flags to bundle * migrated main.css * migrate navbar.css and plyr * migrated mulish font and darkreader * migrated static/css/sections stylesheets * migrated list page and sidebar styles * migrated search.html ( nothing to add ) * migration single page styles * remove duplicated style tags * migrate notes. Deleted unused css in static * migrate 404 css to bundle * migrate katex styles * migrate embedpdf styles * migrated katex css --------- Co-authored-by: Aaron Qian <aaron@yeet.io>
134 lines
No EOL
2.3 KiB
SCSS
134 lines
No EOL
2.3 KiB
SCSS
.projects-section {
|
|
.card .card-header {
|
|
background-color: #f9fafc;
|
|
padding: 0.7rem;
|
|
padding-bottom: 0rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.card .card-img-xs {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.card .card-header .sub-title span:nth-child(1) {
|
|
float: left;
|
|
}
|
|
.card .card-header .sub-title span:nth-child(2) {
|
|
float: right;
|
|
}
|
|
|
|
.card .card-body {
|
|
padding: 0.7rem;
|
|
}
|
|
|
|
.card .card-header .sub-title {
|
|
color: #8392a5;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.filtr-projects {
|
|
padding: 1rem !important;
|
|
}
|
|
|
|
.project-card-footer {
|
|
display: flex;
|
|
}
|
|
|
|
.project-tags-holder {
|
|
width: 70%;
|
|
}
|
|
|
|
.project-btn-holder {
|
|
width: 30%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.project-btn-holder span {
|
|
justify-content: flex-end;
|
|
display: flex;
|
|
}
|
|
|
|
/* ============= 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) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
width: 100%;
|
|
|
|
.container {
|
|
max-width: 100%;
|
|
}
|
|
.filtr-projects {
|
|
padding: 0;
|
|
}
|
|
.filtr-item {
|
|
padding-left: 0.2rem;
|
|
padding-right: 0.2rem;
|
|
}
|
|
}
|
|
|
|
/* Large devices (desktops, 992px and up) */
|
|
|
|
@media (max-width: 992px) {
|
|
}
|
|
|
|
/* Medium devices (tablets, 768px and up) */
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
width: 100%;
|
|
|
|
.container {
|
|
max-width: 100%;
|
|
}
|
|
.filtr-projects {
|
|
padding: 0;
|
|
}
|
|
.filtr-item {
|
|
padding-left: 0.2rem;
|
|
padding-right: 0.2rem;
|
|
flex: 50%;
|
|
max-width: calc(100% / 2 - 0.2rem);
|
|
}
|
|
}
|
|
|
|
/* Small devices (landscape phones, 576px and up) */
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
.btn {
|
|
margin-top: 0.3125rem;
|
|
}
|
|
.filtr-item {
|
|
flex: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
/* iPhoneX, iPhone 6,7,8 */
|
|
@media only screen and (max-width: 375px) {
|
|
}
|
|
|
|
/* Galaxy S5, Moto G4 */
|
|
@media only screen and (max-width: 360px) {
|
|
}
|
|
|
|
/* iPhone 5 or before */
|
|
@media only screen and (max-width: 320px) {
|
|
}
|
|
} |