diff options
author | Mark Powers <markppowers0@gmail.com> | 2019-01-26 21:07:03 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2019-01-26 21:07:03 -0500 |
commit | 6825b445ad975d603b4c212aed85f86559642e0f (patch) | |
tree | 58ae35f58fd7636c2ac2b6a470f80943c4985643 /src/css | |
parent | edc7c8a3abacd7bc5aee50ffda3697333f91905a (diff) |
Add flexbox styling to bread.html
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/styles.css | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/src/css/styles.css b/src/css/styles.css index b8bc0aa..4ac97ca 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -25,19 +25,38 @@ img { .card { margin: 3em; - border: 1px solid #777777; + padding: 2%; + border: 1px solid #aaaaaa; + /* width: 400px; */ + display: inline; + /* flex-direction: column; */ } .card img { - width: 43%; - display: inline; - margin-left: auto; - margin-right: 3em; + width: 100%; + padding: 2%; + /* display: inline; */ + /* margin-left: auto; + margin-right: 3em; */ } .feed { - width: 80%; + width: 90%; + display: flex; + flex-direction: column; +} + +@media screen and (min-width: 900px) { + .card-img { + display: flex; + flex-flow: row wrap; + align-content: flex-start; + } + .card img { + width: 400px; + } } + .sidebar { height: 100vh; |