From 2f4fc94af0a2742a49979a4199457f62b37fc5ac Mon Sep 17 00:00:00 2001 From: j-james Date: Mon, 24 May 2021 17:20:54 -0700 Subject: Create bookshelf --- css/bookshelf.css | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 css/bookshelf.css (limited to 'css') diff --git a/css/bookshelf.css b/css/bookshelf.css new file mode 100644 index 0000000..b8795fa --- /dev/null +++ b/css/bookshelf.css @@ -0,0 +1,53 @@ +a { + color: inherit; +} + +h2 { + margin-bottom: 4px; +} + +hr { + background: black; + height: 6px; + margin-bottom: 20px; +} + +.cover, .poster, .icon { + max-height: 250px; + /* max-width: 165px; */ + max-width: 200px; + border-radius: 10px; +} + +.cover { + border: 2px solid black; + box-shadow: 8px 8px grey; +} + +.icon { + filter: drop-shadow(0px 0px 2px black); +} + +.shelf { + display: flex; + flex-direction: row; + justify-content: space-around; + text-align: center; + align-items: flex-end; + flex-wrap: wrap; +} + +.shelf div { + margin-right: 1em; + margin-top: 20px; +} + +.shelf h3 { + margin-bottom: 0px; +} + +@media screen and (max-width: 700px) { + h2 { + text-align: center; + } +} -- cgit v1.2.3-70-g09d2