color tweak, modularizing css, redone index, rewritten stuff
This commit is contained in:
parent
c6bac45ecf
commit
ee8bce1bd3
18 changed files with 614 additions and 664 deletions
|
@ -9,10 +9,6 @@ article {
|
|||
& section:not(section:has(p)) {
|
||||
display: flex;
|
||||
gap: var(--pad-l);
|
||||
& figure {
|
||||
height: max-content;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
& aside {
|
||||
float: right;
|
||||
|
@ -62,7 +58,6 @@ article > [aria-label="Postscript"] {
|
|||
width: 64px;
|
||||
height: 64px;
|
||||
mask-image: var(--paw);
|
||||
mask-position-x: center;
|
||||
mask-size: 100%;
|
||||
mask-repeat: no-repeat;
|
||||
transform: rotate(15deg);
|
||||
|
@ -117,8 +112,7 @@ article > [aria-label="Postscript"] {
|
|||
}
|
||||
|
||||
#posts {
|
||||
max-width: 75ch;
|
||||
|
||||
max-width: var(--post);
|
||||
& ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -136,7 +130,6 @@ article > [aria-label="Postscript"] {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: scroll;
|
||||
transition: border-color var(--trans);
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-radius: var(--round);
|
||||
|
@ -145,11 +138,6 @@ article > [aria-label="Postscript"] {
|
|||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
word-break: break-word;
|
||||
|
||||
&:is(:hover, :focus) {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
& time,
|
||||
p {
|
||||
display: flex;
|
||||
|
@ -158,25 +146,3 @@ article > [aria-label="Postscript"] {
|
|||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 920px) {
|
||||
article aside {
|
||||
float: none !important;
|
||||
width: fit-content !important;
|
||||
}
|
||||
article section {
|
||||
flex-direction: column;
|
||||
}
|
||||
#posts {
|
||||
max-width: unset;
|
||||
width: auto;
|
||||
}
|
||||
[aria-label="Postscript"] {
|
||||
& p {
|
||||
margin-right: unset;
|
||||
& > img {
|
||||
height: auto;
|
||||
max-height: var(--view);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue