add image support. styling tweaks
This commit is contained in:
parent
04794e0842
commit
363014ae07
11 changed files with 826 additions and 50 deletions
|
@ -27,6 +27,7 @@ body {
|
|||
max-width: 900px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: block;
|
||||
|
||||
.blog {
|
||||
max-width: 700px;
|
||||
|
@ -65,12 +66,26 @@ body {
|
|||
padding-bottom: 0.9em;
|
||||
margin-bottom: 0.6em;
|
||||
border-bottom: 1px $grey-dark solid;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
a.main-logo {
|
||||
font-weight: 700;
|
||||
font-size: 1.2em;
|
||||
text-decoration: none;
|
||||
color: $text-default !important;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
margin-right: 1rem;
|
||||
|
||||
img {
|
||||
height: 20px;
|
||||
width: auto;
|
||||
margin-right: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
a,
|
||||
|
@ -92,19 +107,20 @@ body {
|
|||
h3,
|
||||
h4 {
|
||||
font-weight: 700;
|
||||
line-height: 1.6rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
margin-bottom: 0.4rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0.2rem;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
h3,
|
||||
h4,
|
||||
h5 {
|
||||
margin-bottom: 0rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -122,4 +138,13 @@ body {
|
|||
|
||||
.d-inline-block {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
|
||||
|
||||
&[width][height] {
|
||||
height: auto;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue