hscc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator.
Log | Files | Refs

commit 5fb4c9f8482ccf614599bae3737dd2eab4b218ab
parent 92b3afd6cc69ec3350b84d4e3789fdd4294a2d62
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri, 13 Nov 2020 21:24:31 -0500

Style the resume

Diffstat:
Msrc/scss/modules/_hresume.scss | 44++++++++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 10 deletions(-)

diff --git a/src/scss/modules/_hresume.scss b/src/scss/modules/_hresume.scss @@ -1,26 +1,50 @@ // H-RESUME ĀµFORMAT -.h-resume { +.hresume { & > * + *:not(.h-card) { border-top: 1px solid var(--base-br); padding-bottom: calc(var(--base-space) * 10); padding-top: calc(var(--base-space) * 10); - } - section, - section > .p-summary { - & > * + * { - margin-top: calc(var(--base-space) * 6); + :last-child { + margin-bottom: 0; } } .h-card { margin-bottom: calc(var(--base-space) * 10); - } - .p-experience { - & + & { + & > h2 { + @extend .title-h3; + } + + & > dl { + display: table; margin-top: calc(var(--base-space) * 6); + + div { + display: table-row; + } + } + + dt, + dd { + display: table-cell; + padding-top: calc(var(--base-space) * 2); + } + + dt { + &::after { + content: ':\00A0'; + display: inline; + } + } + } + + .h-event { + margin-top: calc(var(--base-space) * 6); + + dd { + margin-left: 0; } } } -//