102 lines
2.3 KiB
CSS
102 lines
2.3 KiB
CSS
@charset "utf-8";
|
|
|
|
|
|
/* Some variables */
|
|
:root {
|
|
--spacing: 0.25rem;
|
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
/* Colors in light & dark mode */
|
|
:root {
|
|
--color-bg: olkch(1 1 1);
|
|
--color-fg: rgb(0,0,0);
|
|
--color-decoration: oklch(0.555 0.163 48.998);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--color-bg: oklch(0.205 0 0);
|
|
--color-fg: rgb(255 255 255);
|
|
--color-decoration: oklch(0.828 0.189 84.429);
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: var(--color-bg);
|
|
color: var(--color-fg);
|
|
font-family: var(--font-sans);
|
|
text-decoration-color: var(--color-decoration);
|
|
max-width: 90%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
div {
|
|
text-decoration-color: inherit;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: max-content;
|
|
max-height: max-content;
|
|
}
|
|
|
|
h1 {
|
|
text-decoration-thickness: 2px;
|
|
text-decoration-color: inherit;
|
|
text-decoration-line: underline;
|
|
font-weight: bold;
|
|
font-size: 3rem;
|
|
padding: calc(var(--spacing)*2);
|
|
margin-top: calc(var(--spacing)*10);
|
|
text-align: center;
|
|
}
|
|
|
|
p {
|
|
font-size: 1.125rem;
|
|
padding: calc(var(--spacing)*2);
|
|
text-align: center;
|
|
}
|
|
|
|
.headline {
|
|
margin-bottom: calc(var(--spacing)*10);
|
|
}
|
|
|
|
.main-services {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, 1fr);
|
|
grid-gap: 1rem;
|
|
}
|
|
|
|
.badge {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: calc(var(--spacing)*1);
|
|
/*max-width: max-content;*/
|
|
max-height: max-content;
|
|
min-width: fit-content;
|
|
display: block;
|
|
border-radius: 16px;
|
|
user-select: none; -ms-user-select: none; -moz-user-select: none; -ms-touch-select: none; -webkit-user-select: none;
|
|
background-color: var(--color-fg);
|
|
color: var(--color-bg);
|
|
}
|
|
|
|
.badge div {
|
|
background-color: var(--color-bg);
|
|
color: var(--color-fg);
|
|
border-radius: 12px;
|
|
padding: calc(var(--spacing)*2) calc(var(--spacing)*3);
|
|
display: flex;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.badge div * {
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
font-size: 1.15rem;
|
|
}
|
|
|