cv.marc/style/light.css

163 lines
2.5 KiB
CSS
Raw Normal View History

2025-02-16 20:03:30 +01:00
:root {
2025-02-16 21:25:41 +01:00
--anchor-text: #f88;
2025-02-16 20:03:30 +01:00
--banner-background: #ccf;
--body-background: #fff;
--body-text: #000;
--header-background: #ccc;
}
2025-02-16 21:25:41 +01:00
@media screen {
2025-02-16 20:03:30 +01:00
.dark {
2025-02-16 21:25:41 +01:00
--anchor-text: #f88;
2025-02-16 20:03:30 +01:00
--banner-background: #669;
--body-background: #000;
--body-text: #aaa;
--header-background: #444;
}
2025-02-16 21:25:41 +01:00
}
2025-02-16 20:03:30 +01:00
2025-02-12 14:16:23 +01:00
@font-face {
2025-02-12 14:48:58 +01:00
font-display: swap;
2025-02-12 14:16:23 +01:00
font-family: "fa";
2025-02-12 14:48:58 +01:00
src: url("font/fa.woff2");
2025-02-12 14:16:23 +01:00
}
2025-02-11 14:05:05 +01:00
html {
2025-02-12 14:16:23 +01:00
font-family: "DejaVu Sans", sans-serif;
2025-02-12 21:08:20 +01:00
text-align: justify;
2025-02-11 14:05:05 +01:00
}
2025-02-15 17:00:02 +01:00
body {
2025-02-16 20:03:30 +01:00
background-color: var(--body-background);
color: var(--body-text);
2025-02-16 17:35:03 +01:00
margin-block-start: 1em;
2025-02-15 17:00:02 +01:00
margin-inline: auto;
2025-02-16 17:35:03 +01:00
max-inline-size: 99ch;
2025-02-15 20:49:23 +01:00
}
2025-02-16 18:24:07 +01:00
a {
2025-02-16 20:59:55 +01:00
color: inherit;
text-decoration: underline;
text-underline-offset: .25em;
2025-02-16 18:24:07 +01:00
}
a:hover {
2025-02-16 21:25:41 +01:00
color: var(--anchor-text);
2025-02-16 18:24:07 +01:00
}
2025-02-16 00:03:30 +01:00
article.org, header {
2025-02-16 00:16:11 +01:00
border-radius: .25em;
2025-02-16 00:03:30 +01:00
padding-block: .25em;
2025-02-16 17:02:16 +01:00
}
header {
2025-02-16 00:03:30 +01:00
padding-inline: .5em;
}
header.org {
2025-02-16 20:03:30 +01:00
background-color: var(--header-background);
2025-02-15 23:11:55 +01:00
}
2025-02-15 20:49:23 +01:00
article header {
display: flex;
justify-content: space-between;
}
div.org {
display: flex;
2025-02-15 17:00:02 +01:00
}
2025-02-16 14:43:11 +01:00
section.banner {
2025-02-16 17:02:16 +01:00
align-items: center;
2025-02-12 15:00:59 +01:00
display: flex;
2025-02-15 17:00:02 +01:00
justify-content: space-between;
2025-02-11 23:12:14 +01:00
}
2025-02-16 19:21:50 +01:00
.banner {
margin-block-start: .5em;
}
2025-02-11 23:12:14 +01:00
2025-02-15 23:11:55 +01:00
h1 { font-size: 1.15rem; }
h2 { font-size: 1.10rem; }
h3 { font-size: 1.05rem; }
2025-02-16 17:02:16 +01:00
h1, h2, h3 {
2025-02-16 00:16:11 +01:00
border-radius: .25em;
2025-02-11 23:12:14 +01:00
}
2025-02-12 21:08:20 +01:00
h2 {
2025-02-16 20:03:30 +01:00
background-color: var(--banner-background);
2025-02-16 17:02:16 +01:00
margin-block: .25em;
2025-02-16 00:16:11 +01:00
padding-block: .5em;
2025-02-12 21:08:20 +01:00
text-align: center;
}
2025-02-16 02:21:19 +01:00
h3 {
2025-02-16 20:59:55 +01:00
background-color: var(--header-background);
2025-02-16 02:21:19 +01:00
padding: .125em .25em;
}
2025-02-11 23:12:14 +01:00
2025-02-16 19:21:50 +01:00
hr {
border: .1em dashed #888;
margin-block: .25em;
}
2025-02-11 23:12:14 +01:00
img.big {
2025-02-16 17:02:16 +01:00
block-size: 5em;
2025-02-11 23:12:14 +01:00
}
2025-02-11 17:10:11 +01:00
img.inline {
block-size: 1.5em;
vertical-align: middle;
}
2025-02-16 02:21:19 +01:00
img.logo {
block-size: 1.5em;
margin-inline: .25em;
}
2025-02-15 20:47:57 +01:00
img.org {
2025-02-15 22:03:08 +01:00
block-size: 2.5em;
2025-02-15 23:11:55 +01:00
margin-inline-end: .5em;
2025-02-15 20:47:57 +01:00
}
2025-02-11 17:10:11 +01:00
2025-02-14 22:17:20 +01:00
table {
margin-inline: auto;
}
2025-02-15 15:47:34 +01:00
table h3 {
text-align: center;
}
2025-02-12 18:00:26 +01:00
td.logo {
text-align: center;
}
2025-02-12 15:39:12 +01:00
th {
text-align: end;
}
2025-02-12 06:57:59 +01:00
ul {
2025-02-12 15:00:59 +01:00
padding-inline-start: 1.25em;
2025-02-12 06:57:59 +01:00
}
2025-02-11 14:05:05 +01:00
.columns {
display: grid;
2025-02-15 23:11:55 +01:00
gap: 1em;
2025-02-11 14:05:05 +01:00
grid-template-columns: 1fr;
}
2025-02-16 14:43:11 +01:00
.banner div {
2025-02-16 13:40:52 +01:00
text-align: center;
}
.title, .duration.org {
2025-02-15 20:47:38 +01:00
font-weight: bold;
}
2025-02-15 21:41:53 +01:00
.sub, .period {
2025-02-15 22:11:17 +01:00
font-size: .75em;
2025-02-15 20:47:38 +01:00
}
.time {
text-align: end;
}
2025-02-15 17:00:02 +01:00
@media (width > 66ch) {
2025-02-11 17:10:11 +01:00
.columns { grid-template-columns: 2fr 1fr; }
aside { order: 2; }
main { order: 1; }
2025-02-11 14:05:05 +01:00
}
@media print {
2025-02-11 17:10:11 +01:00
@page { size: A4; }
2025-02-12 22:48:46 +01:00
html { font-size: 3.2mm; }
2025-02-11 17:10:11 +01:00
.columns { grid-template-columns: 2fr 1fr; }
aside { order: 2; }
main { order: 1; }
2025-02-11 14:05:05 +01:00
}