hugo-toha/static/css/sections/accomplishments.css
Aaron Qian 02db3d3044
Bundling JS with ESBuild (#702)
* add npm dependencies used in this theme

* implement helper to configure JS and ESBuild

* migrate jquery popper.js bootstrap fontawesome to js bundle

* refactor main.js into smaller pieces, and moved navbar.js to assets

* remove list.js. It adjusts post card height to be the same, but is actually not needed.

* refactored notes.js, search.js, single.js into application.js

* move ityped to js asset, implement experiences horizontal vertical line in css

* align recent post height via css

* migrated home.js and refactored into various sections

* migrated darkMode feature to js bundle

* moved mermaid feature to js bundle

* migrate syntax highlight to js bundle

* migrate katex ( js portion ) to js bundle

* migrate pdf-js to js bundle by delegating to cdn

* set explicit comparisions for feature envvars so js can properly optimize

* removed goat-counter

* more fixes for broken achievements and small bugs

* more bug fixes

* allow configuration of hightlight.js, fix video-player shortcode

* remove jquery all together

* add null handling and fix merge conflicts

Co-authored-by: Aaron Qian <aaron@yeet.io>
2023-01-06 00:42:54 +06:00

104 lines
1.9 KiB
CSS

.accomplishments-section h1 > span{
margin-top: -55px; /* Size of fixed header */
padding-bottom:55px;
display: block;
}
.accomplishments-section .card {
background: #fff;
border-top: 2px solid #248aaa;
height: 100%;
}
.accomplishments-section .card .card-header {
background: none;
border: none;
}
.accomplishments-section .card .card-header .sub-title {
color: #8392a5;
margin-top: 0.4rem;
}
.accomplishments-section .card .sub-title :nth-child(2) {
float: none !important;
}
.accomplishments-section .card .card-body {
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
}
.accomplishments-section .card .card-footer {
background: #fff;
border: none;
padding: 0;
padding-left: 0.7rem;
padding-bottom: 0.3rem;
}
/* ============= 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) {
.accomplishments-section {
padding-left: 0;
padding-right: 0;
width: 100%;
}
.accomplishments-section .container {
max-width: 100%;
}
.accomplishments-section {
padding: 0;
}
.accomplishments-section {
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) {
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
.accomplishments-section {
flex: 100%;
max-width: 100%;
margin-top: 2rem;
}
}
/* 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) {
}