fixed layout
This commit is contained in:
parent
1302098199
commit
88ded772fd
12 changed files with 263 additions and 151 deletions
41
public/css/post.css
Normal file
41
public/css/post.css
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
.post main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 786px;
|
||||
}
|
||||
|
||||
.post main * {
|
||||
max-width: 786px;
|
||||
}
|
||||
|
||||
.post nav a {
|
||||
background-color: var(--background-color-strong);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
font-weight: bold;
|
||||
margin-block: 0px 8px;
|
||||
}
|
||||
|
||||
.post #post-info {
|
||||
display: flex;
|
||||
max-width: 786px;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding-block-end: 0px;
|
||||
}
|
||||
|
||||
.post h2 {
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.post p ~ h2 {
|
||||
margin-block: 2em 0.5em;
|
||||
}
|
||||
|
||||
.post p ~ h3 {
|
||||
margin-block: 1.5em 0.5em;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue