A site that displays information about books I've read for a class assignment
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
:root { --main-bg-color: #568ea3; --main-card-bg-color: #E96400; --main-highlight-color: #a40e4c;}
::selection { background: var(--main-highlight-color); /* WebKit/Blink Browsers */} ::-moz-selection { background: var(--main-highlight-color); /* Gecko Browsers */}
* { box-sizing: border-box;}
html { height: 100%; scroll-behavior: smooth;}
body { margin: 0; font-family: 'Roboto', sans-serif; height: 100%; background-color: var(--main-bg-color);}
h1 { all: initial;}
h1 { font-family: 'Roboto', sans-serif; color: white; padding-right: 8px; font-size: 23.5px;}
a { color: white;}
a:hover { color: var(--main-highlight-color);}
.go-down { color: white; background-color: var(--main-card-bg-color); font-family: 'Roboto', sans-serif; font-size: 1.75em; cursor: pointer; border: 0; transition-duration: 0.3s; padding: 0.5em; border-radius: 0.5em; border: 0.1em solid var(--main-highlight-color);}
.go-down:hover { transition: ease-in-out; -webkit-transition: ease-in-out; -moz-transition: ease-in-out; -o-transition: ease-in-out; background-color: var(--main-highlight-color); border: 0.1em solid var(--main-card-bg-color); color: black;}
.go-down:active { outline: 0 !important;}
.go-down:focus { outline: 0 !important;}
.go-down-container { text-align: center;}
.page-container { position: relative; min-height: 100vh;}
.content-wrap { padding-bottom: 8.5rem;}
.Navbar { background-color: var(--main-card-bg-color); display: flex; padding: 16px; font-family: 'Roboto', sans-serif; color: white;}
.Navbar__Link { padding-right: 8px; font-size: 18.5px;}
.Navbar__Link-brand { padding-right: 8px; font-size: 18.5px;}
.Navbar__Link a,h1 { color: white;}
.Navbar__Link a:link { text-decoration: none;}
.Navbar__Link a:visited { text-decoration: none;}
.Navbar__Link a:hover { text-decoration: underline;}
.Navbar__Link a:active { text-decoration: underline;}
.Navbar__Items { display: flex;}
.Navbar__Items--right { margin-left: auto;}
.Navbar__Link-toggle { display: none;}
.banner { width: 100%; height: fit-content; padding: 10px;}
.column { float: left; width: 33.33%; width: calc(100% / 3); padding: 15px; height: 200px; padding-bottom: 20px;}
.row:after { content: ""; display: table; clear: both;}
.row { margin-left: 0px; margin-right: 0px; height: auto; padding-bottom: 20px;}
.card { height: 100%; width: 100%; background-color: var(--main-card-bg-color); box-shadow: 5px 10px var(--main-highlight-color); cursor: pointer; position: relative;}
.card:hover { box-shadow: 10px 20px var(--main-highlight-color); transition: box-shadow 0.25s ease-in-out; -webkit-transition: box-shadow 0.25s ease-in-out; -o-transition: box-shadow 0.25s ease-in-out; -moz-transition: box-shadow 0.25s ease-in-out;}
.card-top-banner { height: 100%; width: 100%;}
.top-banner-text { color: white; text-align: center; font-size: 3em; padding: 0; margin-bottom: 0.5em; margin-top: 0.5em;}
.top-banner-text-medium { color: white; text-align: center; font-size: 2em; padding: 0; margin-bottom: 0em; margin-top: 0em;}
.top-banner-text-smaller { color: white; text-align: center; font-size: 1.5em; padding: 0; margin-bottom: 25px;}
.card-header { color: white; font-family: 'Roboto', sans-serif; text-align: center; font-size: 1.75em; padding: 10px; margin: 0; width: 100%; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.footer { background-color: var(--main-card-bg-color); color: white; text-align: center; position: absolute; bottom: 0; width: 100%; height: 5rem;}
.footer-links { padding-top: 10px; padding-bottom: 10px; width: 100%; height: 100%; line-height: 1em;}
.footer a { background-color: transparent; font-size: 1.1em;}
.footer p { background-color: transparent; font-size: 1.1em;}
.main-box { color: white; padding-top: 0; padding-bottom: 0; margin-left: 400px; margin-right: 400px; height: 600px; line-height: 1em; background-color: var(--main-card-bg-color); box-shadow: 10px 15px var(--main-highlight-color); position: relative; align-items: center; justify-content: center;}
.main-box:hover { box-shadow: 20px 30px var(--main-highlight-color); transition: box-shadow 0.25s ease-in-out; -webkit-transition: box-shadow 0.25s ease-in-out; -o-transition: box-shadow 0.25s ease-in-out; -moz-transition: box-shadow 0.25s ease-in-out;}
.main-box-text { padding: 10px; font-size: 1.5em; line-height: 1.25em; text-align: center; position: absolute; width: 100%; height: 100%; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
@media only screen and (max-width: 1366px) { .main-box { margin-left: 200px; margin-right: 200px; height: 800px; }}
@media only screen and (max-width: 1024px) { .Navbar__Items, .Navbar { flex-direction: column; } .Navbar__Items { display: none; } .Navbar__Items--right { margin-left: 0; } .Navbar__ToggleShow { display: flex; } .Navbar__Link-toggle { align-self: flex-end; display: initial; position: absolute; cursor: pointer; } .column { width: 100%; } .main-box { margin-left: 50px; margin-right: 50px; height: 800px; }}
@media only screen and (max-width: 500px) { .column { height: 400px; } .main-box { margin-left: 20px; margin-right: 20px; height: 800px; }}
@media only screen and (max-width: 400px) { .main-box { margin-left: 20px; margin-right: 20px; height: 1200px; }}
|