diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-16 22:08:29 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-16 22:11:47 +0200 |
commit | 05b1d20b5ae8c69b7c42afaa8f7a52496bcb47a3 (patch) | |
tree | e91102969cb17c39059c0c5c28d31134fcfaf118 /src/styles | |
parent | 8f2eef6c2a94faaed2f93fee6d6e974753dc071a (diff) | |
download | rgoncalves.se-05b1d20b5ae8c69b7c42afaa8f7a52496bcb47a3.tar.gz |
feat(about): update resume with achievements
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/main.css | 15 | ||||
-rw-r--r-- | src/styles/resume.css | 31 |
2 files changed, 42 insertions, 4 deletions
diff --git a/src/styles/main.css b/src/styles/main.css index 1c47ae6..5886f3c 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -32,7 +32,9 @@ footer { /* link */ -a, a:hover, a:visited { +a, +a:hover, +a:visited { color: blue; } @@ -69,7 +71,8 @@ table { border-collapse: collapse; } -table th, table td { +table th, +table td { padding: .4em 1em .4em 1em; margin: 0; overflow: hidden; @@ -77,15 +80,19 @@ table th, table td { /* code */ -pre, p code, li code { +pre, +p code, +li code { background-color: #eeeeee; overflow: auto; } /* media file */ -img, video { +img, +video { max-width: 100%; + cursor: crosshair; } /* screen size */ diff --git a/src/styles/resume.css b/src/styles/resume.css new file mode 100644 index 0000000..c54af72 --- /dev/null +++ b/src/styles/resume.css @@ -0,0 +1,31 @@ +/* mainly for pdf */ + +@media print { + html { + max-width: 85%; + } + + h1, + h2, + h3, + h4 { + page-break-after:avoid; + break-after: avoid; + } + +} + +@page { + size: A3 portrait; + +} + +body > ul > li, +ul > ul, +ul > ul > li { + break-inside: avoid; +} + +ul:nth-child(1) { + margin-bottom: 1em; +} |