Be more consistent in section styling
This commit is contained in:
parent
dceb7f141b
commit
973004f1dd
2 changed files with 13 additions and 13 deletions
|
|
@ -88,46 +88,46 @@
|
|||
max-width: 480px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
section.posts .controls {
|
||||
padding: 0 0 36px;
|
||||
}
|
||||
|
||||
ul.results {
|
||||
section.posts ul.results {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.results li.result {
|
||||
section.posts ul.results li.result {
|
||||
padding: 36px 0;
|
||||
border-top: 2px dotted #dccb8b;
|
||||
}
|
||||
|
||||
.post .metadata {
|
||||
section.posts .post .metadata {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.post .metadata .post-info {
|
||||
section.posts .post .metadata .post-info {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.post .metadata .mentions,
|
||||
.post .metadata .date {
|
||||
section.posts .post .metadata .mentions,
|
||||
section.posts .post .metadata .date {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.post .content p:last-child {
|
||||
section.posts .post .content p:last-child {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.post .controls {
|
||||
section.posts .post .controls {
|
||||
margin: 24px 0 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.post .controls .control-element a {
|
||||
section.posts .post .controls .control-element a {
|
||||
padding: 6px;
|
||||
margin: 0 0 6px 6px;
|
||||
background: #f5e6ab;
|
||||
|
|
@ -139,12 +139,12 @@
|
|||
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
.post .controls {
|
||||
section.posts .post .controls {
|
||||
display: flex;
|
||||
justify-content: end
|
||||
}
|
||||
|
||||
.post .controls .control-element a {
|
||||
section.posts .post .controls .control-element a {
|
||||
margin: 0 0 0 12px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue