Seperate out title into seperate visual block
This commit is contained in:
parent
e833e18748
commit
e7fdf59618
3 changed files with 37 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
font-family: "Open Sans", sans-serif, serif;
|
||||
}
|
||||
|
||||
body {
|
||||
body, .post {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
@ -26,7 +26,7 @@ body {
|
|||
|
||||
.site-logo {
|
||||
color: light-dark(#d6000c, #ed4a46);
|
||||
font-size: 2rem;
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
@ -36,21 +36,35 @@ body {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.post-body {
|
||||
.post-body, .post-header {
|
||||
width: 66%;
|
||||
display: block;
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-radius: 1rem;
|
||||
background-color: light-dark(#ffffff, #181818);
|
||||
/* text-align: justify; */
|
||||
}
|
||||
|
||||
.post-body > h1 {
|
||||
.post-header {
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
text-align: center;
|
||||
color: light-dark(#dd0f9d, #eb6eb7);
|
||||
}
|
||||
|
||||
.post-title > h1 {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.post-body > h2 {
|
||||
text-align: center;
|
||||
color: light-dark(#282828, #dedede);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue