summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorj-james2021-05-25 00:20:54 +0000
committerj-james2021-05-25 00:20:54 +0000
commit2f4fc94af0a2742a49979a4199457f62b37fc5ac (patch)
tree185e00e9c518fe8231cd7d9233a15cd57fb78411 /css
parentbed81a6502eb3c2e019bacabd819bd54812ea354 (diff)
Create bookshelf
Diffstat (limited to 'css')
-rw-r--r--css/bookshelf.css53
1 files changed, 53 insertions, 0 deletions
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;
+ }
+}