2023-10-09 20:43:56 +02:00
|
|
|
/* Parameters light */
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
2023-10-13 12:52:20 +02:00
|
|
|
--name-color: #d30f39;
|
|
|
|
--pronouns-color: #6c6f85;
|
|
|
|
--font-color: #4c4f69;
|
2023-10-09 20:43:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Parameters dark */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
2023-10-13 12:52:20 +02:00
|
|
|
--name-color: #f38ba8;
|
|
|
|
--pronouns-color: #a6adc8;
|
|
|
|
--font-color: #c8d0ee;
|
2023-10-09 20:43:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-13 12:52:20 +02:00
|
|
|
:root {
|
|
|
|
--title-weight: 600;
|
|
|
|
}
|
|
|
|
|
2023-10-09 20:43:56 +02:00
|
|
|
/* Page theme */
|
|
|
|
main {
|
|
|
|
color: var(--font-color);
|
|
|
|
font-size: var(--font-size);
|
|
|
|
padding: 2em 1em;
|
2023-10-13 12:52:20 +02:00
|
|
|
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
color: var(--font-color);
|
2023-10-13 13:11:31 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 640px; /* breakpoint */
|
2023-10-09 20:43:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Name header */
|
|
|
|
.name {
|
2023-10-13 12:52:20 +02:00
|
|
|
font-size: calc(var(--font-size) * 2.5);
|
|
|
|
font-weight: var(--title-weight);
|
2023-10-09 20:43:56 +02:00
|
|
|
color: var(--name-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.subname {
|
|
|
|
margin-top: 0;
|
2023-10-13 12:52:20 +02:00
|
|
|
font-size: calc(var(--font-size) * 1.07);
|
2023-10-09 22:38:59 +02:00
|
|
|
margin-bottom: 1.5em;
|
2023-10-09 20:43:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pronouns {
|
2023-10-13 12:52:20 +02:00
|
|
|
font-size: calc(var(--font-size) * 0.8);
|
2023-10-09 20:43:56 +02:00
|
|
|
color: var(--pronouns-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2023-10-13 13:46:55 +02:00
|
|
|
width: calc(var(--font-size) * 5);
|
2023-10-09 20:43:56 +02:00
|
|
|
border-radius: 50%;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2023-10-13 13:11:31 +02:00
|
|
|
/* breakpoint */
|
2023-10-13 12:52:20 +02:00
|
|
|
@media only screen and (max-width: 640px) {
|
|
|
|
main {
|
|
|
|
margin-inline: 0;
|
|
|
|
}
|
2023-10-13 13:19:28 +02:00
|
|
|
|
2023-10-13 12:52:20 +02:00
|
|
|
.avatar {
|
2023-10-13 13:46:55 +02:00
|
|
|
position: absolute;
|
|
|
|
width: calc(var(--font-size) * 4);
|
2023-10-13 13:29:52 +02:00
|
|
|
transform: translate(
|
|
|
|
calc(var(--font-size) * -19),
|
2023-10-13 13:46:55 +02:00
|
|
|
calc(var(--font-size) * -3.7)
|
2023-10-13 13:29:52 +02:00
|
|
|
);
|
2023-10-13 12:52:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-09 20:43:56 +02:00
|
|
|
/* Description */
|
2023-10-13 12:52:20 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: var(--title-weight);
|
|
|
|
font-size: calc(var(--font-size) * 1.6);
|
2023-10-09 22:38:59 +02:00
|
|
|
margin-bottom: 0;
|
2023-10-09 20:43:56 +02:00
|
|
|
}
|