diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-01-05 13:29:48 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-01-05 13:29:48 +0100 |
commit | 8bb2119be1935c4d2d943dc76a05782e58dc1983 (patch) | |
tree | fc7d4c99c7758e2deaf852dae9be975bda62b94d /style/main.scss | |
parent | 7cc88043d132c0f6b2022e7dae9304b6f8b610c6 (diff) |
improved projects page
Diffstat (limited to 'style/main.scss')
-rw-r--r-- | style/main.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/style/main.scss b/style/main.scss index 5afd75a..95883ed 100644 --- a/style/main.scss +++ b/style/main.scss @@ -3,6 +3,10 @@ @import 'normalize'; +* { + box-sizing: border-box; +} + body { background-color: #31363b; font-family: 'Roboto Mono', monospace; @@ -96,4 +100,36 @@ main ul { left: 0; } } +} + +.projects { + display: flex; + + .project { + padding: 8px; + color: black; + text-decoration: none; + background-color: #93a1a1; + margin: 8px; + outline: none; + + &:hover, &:focus { + background-color: #b8c5c5; + } + + img { + width: 100%; + } + + header { + padding: 8px; + font-style: italic; + } + } +} + +@media screen and (max-width: 425px) { + .projects { + flex-wrap: wrap; + } }
\ No newline at end of file |