diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-05-06 00:13:26 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-05-06 00:13:26 +0200 |
| commit | 3cac6a33aad67bdad0a3b8129a3056263cd35bed (patch) | |
| tree | 4301e436fc86541d360290ecfe9d73fbd1b04c1a /app/base.styl | |
| parent | 618c3013df8d73a1dadc612b959b97bddf3c26ef (diff) | |
Style the skills section
Diffstat (limited to 'app/base.styl')
| -rw-r--r-- | app/base.styl | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/app/base.styl b/app/base.styl index 1dd9cd7..43be22d 100644 --- a/app/base.styl +++ b/app/base.styl @@ -1,3 +1,5 @@ +secondaryColor = #DB0A16 + @media (prefers-color-scheme: dark) { html { color: #FFFFFF @@ -30,7 +32,7 @@ main { a:link, a:visited, a:hover, a:active { text-decoration: none color: inherit - border-bottom: 1px solid #DB0A16 + border-bottom: 1px solid secondaryColor } // Header section styling @@ -89,3 +91,30 @@ article { margin-top: 2.5em } } + +.skills { + dl { + display: flex + flex-flow: row wrap + // justify-content: space-between; + } + + dt { + min-width: 15% + font-weight: 900 + text-align: right + @media screen and (max-width: 740px) { + text-align: left + } + } + + dd { + width: 80% + margin-left: 30px + margin-bottom: 0.1em + @media screen and (max-width: 740px) { + margin-bottom: 1em + width: 100% + } + } +} |
