add: card style
This commit is contained in:
parent
e22ce50d40
commit
c9e7a81509
4 changed files with 32 additions and 10 deletions
|
@ -198,7 +198,7 @@ hr {
|
|||
|
||||
.common-header {
|
||||
padding-bottom: 1.5em;
|
||||
border-bottom: thin solid var(--hr-color);
|
||||
/* border-bottom: thin solid var(--hr-color); */
|
||||
}
|
||||
|
||||
header a {
|
||||
|
@ -236,6 +236,7 @@ header nav:not(:empty){
|
|||
max-width: 100%;
|
||||
text-align: center;
|
||||
padding: 0.5em 0;
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: var(--nav-border-radius);
|
||||
}
|
||||
|
||||
|
@ -286,6 +287,17 @@ main h1 {
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
border: 1px solid var(--card-border-color) !important;
|
||||
border-radius: 0.5em;
|
||||
padding: 0em 1em 1em 1em;
|
||||
background: var(--card-color);
|
||||
}
|
||||
|
||||
article:not(:last-of-type) {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.post-short-list:first-of-type {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
@ -339,6 +351,10 @@ main h1 {
|
|||
color: var(--link-state-color);
|
||||
}
|
||||
|
||||
.post-list {
|
||||
border: #777;
|
||||
}
|
||||
|
||||
.post-short-list .post-title {
|
||||
display: inline;
|
||||
}
|
||||
|
@ -361,10 +377,10 @@ main h1 {
|
|||
margin-left: 0.2em;
|
||||
}
|
||||
|
||||
article:not(:last-of-type) {
|
||||
/* article:not(:last-of-type) {
|
||||
border-bottom: thin solid var(--hr-color);
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
} */
|
||||
|
||||
article header h1 {
|
||||
font-size: 1.35em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue