mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
eae27cb10e
* wip: blog post on open source * wip: initial draft of the blog post * chore: remove sharing a blog post * fix: broken style from previous commit * chore: improve handling keywords
55 lines
825 B
CSS
55 lines
825 B
CSS
main #container {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(15rem, 20rem);
|
|
column-gap: 2rem;
|
|
}
|
|
|
|
main #metadata {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
main #metadata div {
|
|
min-width: 100%;
|
|
display: flex;
|
|
column-gap: 2rem;
|
|
}
|
|
|
|
main #metadata div span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
column-gap: 0.25rem;
|
|
}
|
|
|
|
main #content ul,
|
|
main #content ol,
|
|
main #content .highlight {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
main #content .highlight pre,
|
|
main #content .highlight div {
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
main #content .highlight div {
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
main #content .highlight pre {
|
|
padding: 0rem;
|
|
}
|
|
|
|
@media only screen and (max-width: 1024px) {
|
|
main #container {
|
|
display: block;
|
|
}
|
|
|
|
main #container #table-of-contents {
|
|
display: none;
|
|
}
|
|
|
|
main #metadata div {
|
|
column-gap: 0.75rem;
|
|
}
|
|
}
|