diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2017-12-05 12:10:24 +0300 |
---|---|---|
committer | Justin Berthault <justin.berthault@zaclys.net> | 2017-12-05 12:10:24 +0300 |
commit | 8049bfc1368eb8ab355d826c4bf8db5fd8589a1a (patch) | |
tree | c2a940290faa30b41c2cb19cb17fa072cc00c65b | |
parent | 10063523f572b589a8873cbfa437d2e089d9bbbf (diff) |
Gallery stuff again
-rw-r--r-- | static/css/style.css | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/static/css/style.css b/static/css/style.css index a0ac0b3..a127d65 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -180,20 +180,30 @@ img { .gallery-item .thumbnail { max-width: 80%; } + @media only screen and (min-width: 900px) { aside { float: left; width: 160px; position: fixed; + background: #E6E6E6; border-radius: 2%; border-width: 1px; padding: 2rem 0.5rem; - text-align: center; } - main { + .content { float: right; width: 640px; } + #TableOfContents { + max-width: 50%; + } + .gallery-item { + width: 20%; + } + .thumbnail { + max-width: 30%; + } } @media only screen and (max-width: 767px) { body { @@ -223,4 +233,10 @@ img { clean: both; padding-top: 1rem;; } + .gallery-item { + width: 33.3%; + } + .thumbnail { + max-width: 80%; +} } |