diff options
Diffstat (limited to 'app/base.styl')
| -rw-r--r-- | app/base.styl | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/base.styl b/app/base.styl index a85c430..a633bbb 100644 --- a/app/base.styl +++ b/app/base.styl @@ -192,3 +192,44 @@ article { } } } + +.education { + article { + display: flex + flex-flow: row wrap + justify-content: space-between; + // add empty space to the end of page (as big as the header) + margin-bottom: 160px + + @media screen and (max-width: 740px) { + flex-flow: column wrap + } + + // title + h2 { + margin: 0 + min-width: 100% + font-size: 1.2em + align-self: center + } + + // university + p:nth-of-type(1) { + min-width: 50% + margin: 0 + text-align: left + } + + // grade + p:nth-of-type(2) { + min-width: 50% + margin: 0 + text-align: right + + @media screen and (max-width: 740px) { + text-align: left + align-self: flex-start + } + } + } +} |
