1
0
mirror of https://github.com/Mikaela/cv.git synced 2024-12-01 13:19:24 +01:00
cv/assets/main.scss

120 lines
2.4 KiB
SCSS
Raw Normal View History

2024-05-27 12:40:56 +02:00
---
# front-matter
---
@charset "utf-8";
2024-06-08 08:41:10 +02:00
// Our variables
$serif-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman",
serif, emoji;
$sans-serif-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial",
sans-serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine,
2024-06-02 06:10:09 +02:00
"Courier New", monospace, emoji;
2024-06-08 08:41:10 +02:00
// Must be in the end or undefined error.
$base-font-family: $serif-font-family;
2024-05-27 12:40:56 +02:00
@import "{{ site.theme }}";
:root {
color-scheme: dark light !important;
}
* {
// box-sizing: border-box !important;
color: revert !important;
background-color: revert !important;
//margin: auto !important;
// line-height: 1.2 !important;
// A4 paper
2024-05-30 09:46:44 +02:00
//max-width: 210mm !important;
2024-05-27 12:40:56 +02:00
font-size: revert;
//padding: auto !important;
2024-05-29 08:30:45 +02:00
overflow-wrap: break-word !important;
hyphens: auto !important;
// Experimental trick to make all emojis text if supported.
font-variant-emoji: text;
2024-06-12 09:41:50 +02:00
/* WCAG minimum suggestions */
margin-bottom: 2 !important;
line-height: 1.5 !important;
letter-spacing: 0.12 !important;
word-spacing: 0.16 !important;
2024-05-27 12:40:56 +02:00
}
a {
text-decoration: underline !important;
}
2024-06-08 08:41:10 +02:00
a.site-title {
font-family: $serif-font-family;
}
// Monospace preferred for code
code,
pre {
font-family: $monospace-font-family !important;
}
// So it will not look bigger than normal text
2024-05-27 12:40:56 +02:00
code {
font-size: 0.8em !important;
}
2024-06-08 08:41:10 +02:00
// Sans-Serif for headings to constrast with aminda.eu
h2,
h3,
h4,
h5,
h6 {
font-family: $sans-serif-font-family !important;
}
h2.footer-heading {
font-family: $serif-font-family !important;
}
2024-06-08 08:41:10 +02:00
// The introduction on top
#bio {
text-align: center;
font-style: italic;
font-family: ui-cursive, $serif-font-family;
}
2024-05-27 12:40:56 +02:00
img {
border-radius: 50% !important;
2024-05-27 19:53:56 +02:00
display: block;
margin-left: auto !important;
margin-right: auto !important;
2024-05-27 13:12:49 +02:00
@media (min-width: 395px) {
2024-05-27 19:53:56 +02:00
display: float !important;
2024-05-27 13:12:49 +02:00
float: right !important;
}
2024-05-27 12:40:56 +02:00
}
2024-06-02 06:10:09 +02:00
ul.linklist {
list-style: none inside;
font-family: $monospace-font-family;
//font-variant: small-caps;
}
// Customize the dark theme to be more me
@media (prefers-color-scheme: dark) {
* {
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
}
.site-nav {
color-scheme: only dark !important;
color: #ffb700 !important;
background-color: #000000 !important;
color: #ffb700 !important;
}
// I don't want links to be restored to amber'
a {
color: revert !important;
}
}