2024-03-11 02:05:55 +00:00
|
|
|
main.index {
|
2024-05-26 06:02:46 +00:00
|
|
|
|
|
|
|
text-transform: lowercase;
|
|
|
|
|
|
|
|
--padding-inline: 1rem;
|
|
|
|
--gap: 2rem;
|
|
|
|
--border-radius: 0.5rem;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
gap: var(--gap, 1rem);
|
|
|
|
|
|
|
|
padding-inline: 0;
|
|
|
|
|
|
|
|
#hcard {
|
|
|
|
background: var(--color-card-background);
|
|
|
|
color: var(--color-card-text);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
--avatar-size: 7.5rem;
|
|
|
|
|
|
|
|
> .section-title {
|
|
|
|
margin-block: 0;
|
|
|
|
padding-block: 1rem;
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
|
|
|
|
> header {
|
|
|
|
background-image: url("/images/sunset.jpg");
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-height: 20rem;
|
|
|
|
aspect-ratio: 2;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
.u-photo {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(100% - var(--avatar-size) / 2);
|
|
|
|
left: var(--padding-inline, 1rem);
|
|
|
|
width: var(--avatar-size, 7.5rem);
|
|
|
|
height: var(--avatar-size, 7.5rem);
|
|
|
|
aspect-ratio: 1;
|
|
|
|
background: #ddd;
|
|
|
|
border: 0.5rem solid #ddd;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 1rem;
|
|
|
|
}
|
|
|
|
margin-block-end: calc(var(--avatar-size) / 2);
|
|
|
|
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.info {
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
}
|
2024-03-13 06:54:20 +00:00
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.p-name {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-block-start: calc(var(--avatar-size) / 2 + 0.5rem);
|
|
|
|
margin-block-end: 0;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.u-uid {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 1rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.p-note {
|
|
|
|
margin-block: 1rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
|
|
|
|
#contact {
|
|
|
|
|
|
|
|
margin-block: 3rem;
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
> .section-title {
|
|
|
|
margin-block-start: 2rem;
|
|
|
|
margin-block-end: 1rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
|
|
|
|
#links {
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
padding-block-end: 3rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
#quotes {
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
padding-block: 1rem;
|
|
|
|
margin-block-start: var(--gap, 1rem);
|
|
|
|
background: var(--color-card-background);
|
|
|
|
color: var(--color-card-text);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
> .section-title {
|
|
|
|
margin-block-start: 0;
|
|
|
|
margin-block-end: 2rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
}
|
2024-03-11 02:05:55 +00:00
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.metadata {
|
|
|
|
dt {
|
|
|
|
font-variant: small-caps;
|
|
|
|
font-weight: bold;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
dd {
|
|
|
|
margin-inline-start: 0;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
gap: 1rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
.quote {
|
|
|
|
margin-inline: 0;
|
2024-02-26 11:41:39 +00:00
|
|
|
blockquote {
|
2024-05-26 06:02:46 +00:00
|
|
|
margin: 0;
|
|
|
|
border-inline-start: 4px solid var(--color-primary-highlight);
|
|
|
|
padding-inline-start: 0.5rem;
|
|
|
|
}
|
|
|
|
cite {
|
|
|
|
padding-inline-start: calc(0.5rem + 4px);
|
2024-03-11 02:05:55 +00:00
|
|
|
&:before {
|
2024-05-26 06:02:46 +00:00
|
|
|
content: '— ';
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-02-26 11:41:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
#deeds {
|
|
|
|
background: var(--color-card-background);
|
|
|
|
color: var(--color-card-text);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
padding-block: 1rem;
|
2024-02-26 11:41:39 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
#done {
|
|
|
|
> .section-title {
|
|
|
|
margin-block-start: 0;
|
|
|
|
margin-block-end: 1rem;
|
|
|
|
}
|
|
|
|
#mastodon {
|
2024-03-11 02:05:55 +00:00
|
|
|
img {
|
2024-05-26 06:02:46 +00:00
|
|
|
max-width: 100%;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#updates {
|
|
|
|
background: var(--color-card-background);
|
|
|
|
color: var(--color-card-text);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding-inline: var(--padding-inline, 1rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 60rem) {
|
|
|
|
--gap: 1rem;
|
|
|
|
padding-inline: 2rem;
|
|
|
|
grid-template-areas:
|
|
|
|
"info deeds"
|
|
|
|
"updates updates";
|
|
|
|
grid-template-columns: 20rem 1fr;
|
|
|
|
#info {
|
|
|
|
grid-area: info;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
#deeds {
|
|
|
|
grid-area: deeds;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
2024-05-26 06:02:46 +00:00
|
|
|
#updates {
|
|
|
|
grid-area: updates;
|
|
|
|
}
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|
|
|
|
|
2024-05-26 06:02:46 +00:00
|
|
|
@media (min-width: 1200px) {
|
|
|
|
padding-inline: 3rem;
|
|
|
|
grid-template-areas:
|
|
|
|
"info deeds updates";
|
|
|
|
grid-template-columns: 20rem 1fr 20rem;
|
|
|
|
}
|
2024-02-26 11:41:39 +00:00
|
|
|
}
|