mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 10:17:23 -05:00
* Apply prettier to css, js, html, md, ts, and yml As a followup I will add prettier to the .pre-commit config. This patch is 100% generated by prettier. I used a forked version of prettier that understands the py-script tag. See https://github.com/hoodmane/pyscript-prettier-precommit for more info. * Apply old pre-commit * Revert some problems * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Revert some changes * More changes * Fix pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
75 lines
1.1 KiB
CSS
75 lines
1.1 KiB
CSS
.example {
|
|
margin-bottom: 5rem;
|
|
}
|
|
|
|
.example h2 {
|
|
/* color: #000000; */
|
|
font-family: "Inconsolata", monospace;
|
|
font-size: 2.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card {
|
|
height: 15rem;
|
|
background-color: var(--color-secondary);
|
|
padding: 1rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.card:hover,
|
|
.card:hover a,
|
|
.card:hover a:visited,
|
|
.card:hover h2 {
|
|
background-color: var(--color-primary);
|
|
color: #1d1d22;
|
|
}
|
|
|
|
.card a h2 {
|
|
color: var(--color-primary);
|
|
margin: 0;
|
|
font-family: "Inconsolata", monospace;
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.card a p {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a .card {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-content {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-content a,
|
|
.card-content a:visited {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.container-card {
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
.container-card {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 900px) {
|
|
.container-card {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|