Update dependencies and add blog
This commit is contained in:
parent
477b6e4dc7
commit
7a8fb3449d
22 changed files with 948 additions and 332 deletions
81
src/blog_entry.scss
Normal file
81
src/blog_entry.scss
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
.blog-entry
|
||||
{
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
max-width: 1200px;
|
||||
line-height: 1.8rem;
|
||||
font-family: "open sans", sans;
|
||||
|
||||
h1, h2, h3
|
||||
{
|
||||
font-weight: lighter;
|
||||
margin: 8px 0;
|
||||
color: var(--highlight-fg-color);
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
padding: 1rem 0 1.2rem 0;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
padding: 0.5rem 0 1rem 0;
|
||||
border-bottom: 1px solid var(--dim-bg-color);
|
||||
}
|
||||
|
||||
code, pre
|
||||
{
|
||||
background-color: var(--lighter-bg-color);
|
||||
color: var(--lighter-fg-color);
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
em
|
||||
{
|
||||
color: var(--lighter-fg-color);
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
min-height: 160px;
|
||||
max-height: 50vh;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
strong
|
||||
{
|
||||
color: var(--lighter-fg-color);
|
||||
}
|
||||
|
||||
.image-row
|
||||
{
|
||||
h3
|
||||
{
|
||||
font-size: 0.9rem;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
margin: 0 10px;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue