Continues the Bookshelf history. The three plugins tracked there are consolidated into umbra-bookshelf/ and this repository becomes the canonical home for the plugin and the theme. bd-bookshelf/ -> theme/ separate artifact, name unchanged (root specs) -> umbra-bookshelf/spec/ aligned to Umbra Bookshelf old plugin zips -> archive/pre-umbra-releases/ Adds a repository README and drops the Bookshelf closure notice.
1886 lines
32 KiB
CSS
1886 lines
32 KiB
CSS
/**
|
|
* BDMurphy Bookshelf Styles
|
|
*
|
|
* @package BD_Murphy
|
|
*/
|
|
|
|
:root {
|
|
--bdm-navy: #1B3A6B;
|
|
--bdm-slate: #2E6DA4;
|
|
--bdm-sky: #4A90D9;
|
|
--bdm-gold: #C8A96E;
|
|
--bdm-cream: #F5F0E8;
|
|
--bdm-parchment: #EDE4D0;
|
|
--bdm-body-text: #2C2C2C;
|
|
--bdm-mid-grey: #555555;
|
|
--bdm-light-grey: #888888;
|
|
--bdm-active-green: #2D6A4F;
|
|
--bdm-heading-font: 'Playfair Display', Georgia, serif;
|
|
--bdm-body-font: 'Lato', Calibri, sans-serif;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: var(--bdm-body-font);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--bdm-body-text);
|
|
background-color: var(--bdm-cream);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--bdm-heading-font);
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
margin: 0 0 0.5em;
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
h1 { font-size: 2.5rem; }
|
|
h2 { font-size: 2rem; }
|
|
h3 { font-size: 1.5rem; }
|
|
h4 { font-size: 1.25rem; }
|
|
|
|
a {
|
|
color: var(--bdm-slate);
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
a:focus {
|
|
outline: 2px solid var(--bdm-gold);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.skip-link {
|
|
position: absolute;
|
|
top: -40px;
|
|
left: 0;
|
|
background: var(--bdm-navy);
|
|
color: #fff;
|
|
padding: 8px 16px;
|
|
z-index: 1000;
|
|
transition: top 0.3s ease;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
top: 0;
|
|
}
|
|
|
|
.site-header {
|
|
position: relative;
|
|
}
|
|
|
|
.header-banner {
|
|
width: 100vw;
|
|
max-height: 250px;
|
|
overflow: hidden;
|
|
margin-left: calc(-50vw + 50%);
|
|
}
|
|
|
|
.header-banner img {
|
|
width: 100%;
|
|
height: 250px;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.site-nav {
|
|
background-color: var(--bdm-navy);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.has-sticky-nav .site-nav {
|
|
border-top: none;
|
|
}
|
|
|
|
.site-nav.scrolled {
|
|
border-top: 2px solid var(--bdm-gold);
|
|
}
|
|
|
|
.nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-menu {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nav-menu li {
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-menu a {
|
|
display: block;
|
|
padding: 15px 20px;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.nav-menu a:hover,
|
|
.nav-menu .current-menu-item > a {
|
|
color: var(--bdm-gold);
|
|
border-bottom: 2px solid var(--bdm-gold);
|
|
}
|
|
|
|
/* Submenu styles */
|
|
.nav-menu li.menu-item-has-children {
|
|
position: relative;
|
|
}
|
|
|
|
.nav-menu li.menu-item-has-children > a::after {
|
|
content: '';
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
border: 4px solid transparent;
|
|
border-top-color: currentColor;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.nav-menu .sub-menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
background: var(--bdm-navy);
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-width: 200px;
|
|
z-index: 1000;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.nav-menu li.menu-item-has-children:hover > .sub-menu,
|
|
.nav-menu li.menu-item-has-children:focus-within > .sub-menu {
|
|
display: block;
|
|
}
|
|
|
|
.nav-menu .sub-menu li {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.nav-menu .sub-menu a {
|
|
padding: 12px 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-menu .sub-menu a:hover {
|
|
background: var(--bdm-slate);
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
color: #fff;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.hamburger {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: #fff;
|
|
position: relative;
|
|
}
|
|
|
|
.hamburger::before,
|
|
.hamburger::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: #fff;
|
|
left: 0;
|
|
}
|
|
|
|
.hamburger::before { top: -8px; }
|
|
.hamburger::after { top: 8px; }
|
|
|
|
.site-main {
|
|
min-height: 60vh;
|
|
}
|
|
|
|
.site-footer {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.footer-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 30px;
|
|
}
|
|
|
|
.footer-zone h4 {
|
|
color: var(--bdm-gold);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.social-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
border-radius: 50%;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.social-link:hover {
|
|
background-color: var(--bdm-gold);
|
|
}
|
|
|
|
.social-link svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.social-link:hover svg {
|
|
fill: var(--bdm-navy);
|
|
}
|
|
|
|
.donate-btn {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
border-radius: 4px;
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.donate-btn:hover {
|
|
background-color: #fff;
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.donate-venmo {
|
|
background-color: #3D95CE;
|
|
color: #fff;
|
|
}
|
|
|
|
.donate-venmo:hover {
|
|
background-color: #287AA8;
|
|
color: #fff;
|
|
}
|
|
|
|
.donate-paypal {
|
|
background-color: #003087;
|
|
color: #fff;
|
|
}
|
|
|
|
.donate-paypal:hover {
|
|
background-color: #00458A;
|
|
color: #fff;
|
|
}
|
|
|
|
.donate-buymeacoffee {
|
|
background-color: #28a745;
|
|
color: #fff;
|
|
}
|
|
|
|
.donate-buymeacoffee:hover {
|
|
background-color: #218838;
|
|
color: #fff;
|
|
}
|
|
|
|
.footer-links ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: #fff;
|
|
display: block;
|
|
padding: 5px 0;
|
|
word-spacing: normal;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
.footer-menu {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-menu li {
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-menu a {
|
|
display: block;
|
|
padding: 5px 0;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-menu a:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
.footer-signup-prompt {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.footer-signup-prompt a {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
.footer-widgets {
|
|
max-width: 1200px;
|
|
margin: 30px auto 0;
|
|
}
|
|
|
|
.footer-widgets-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 30px;
|
|
}
|
|
|
|
.footer-bottom {
|
|
max-width: 1200px;
|
|
margin: 30px auto 0;
|
|
padding-top: 20px;
|
|
border-top: 1px solid rgba(255,255,255,0.2);
|
|
text-align: center;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Home Page */
|
|
.home-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
display: grid;
|
|
grid-template-columns: 66% 34%;
|
|
gap: 30px;
|
|
}
|
|
|
|
.home-left-column .home-content {
|
|
background-color: #fff;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.home-right-column {
|
|
padding-top: 0;
|
|
}
|
|
|
|
/* Page with Sidebar (Book Detail) */
|
|
.page-container.with-sidebar {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
gap: 30px;
|
|
}
|
|
|
|
.page-container.with-sidebar .page-content {
|
|
background-color: #fff;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.page-container.with-sidebar .page-sidebar {
|
|
padding-top: 0;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.page-container.with-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.book-shelf-widget {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.book-shelf-item {
|
|
display: flex;
|
|
gap: 15px;
|
|
padding: 15px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
/* Book Detail Page Sidebar */
|
|
.book-detail-sidebar {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.book-detail-cover img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Book Detail Page - New Layout */
|
|
.book-detail-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 30px;
|
|
gap: 20px;
|
|
}
|
|
|
|
.book-title-section {
|
|
flex: 1;
|
|
}
|
|
|
|
.book-detail-header .language-selector-wrapper {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.book-detail-header .language-dropdown {
|
|
padding: 8px 12px;
|
|
border: 2px solid var(--bdm-navy);
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
color: var(--bdm-navy);
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.book-detail-main {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.book-cover-section {
|
|
flex: 0 0 280px;
|
|
}
|
|
|
|
.book-cover-image {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.book-purchase-section {
|
|
background-color: #fff;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.book-purchase-section .book-format-toggle {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.book-purchase-section .format-btn {
|
|
flex: 1;
|
|
padding: 10px 6px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
border: 2px solid var(--bdm-navy);
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
color: var(--bdm-navy);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.book-purchase-section .format-btn.active {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
}
|
|
|
|
.book-purchase-section .format-btn:hover:not(.active) {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
}
|
|
|
|
.book-purchase-section .book-retailer-links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.book-purchase-section .retailer-link {
|
|
display: inline-block;
|
|
padding: 8px 12px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
border: 2px solid var(--bdm-navy);
|
|
border-radius: 4px;
|
|
color: var(--bdm-navy);
|
|
text-decoration: none;
|
|
background-color: #fff;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.book-purchase-section .retailer-link:hover {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
}
|
|
|
|
.book-purchase-section .retailer-link.retailer-unavailable {
|
|
border-color: var(--bdm-light-grey);
|
|
color: var(--bdm-light-grey);
|
|
background-color: #f5f5f5;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.book-info-section {
|
|
flex: 1;
|
|
}
|
|
|
|
.book-info-section .book-blurb h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 10px;
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.book-info-section .blurb-content {
|
|
line-height: 1.7;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.book-info-section .pull-quote {
|
|
font-style: italic;
|
|
border-left: 4px solid var(--bdm-gold);
|
|
padding-left: 15px;
|
|
margin: 15px 0;
|
|
color: var(--bdm-mid-grey);
|
|
}
|
|
|
|
.book-preview {
|
|
margin-bottom: 30px;
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.book-preview h3 {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 10px;
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.book-reviews {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.book-reviews h3 {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 15px;
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.review-card {
|
|
background-color: #fff;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.review-text {
|
|
font-style: italic;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.review-source {
|
|
font-size: 0.9rem;
|
|
color: var(--bdm-mid-grey);
|
|
}
|
|
|
|
.book-share-section {
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.book-detail-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.book-detail-header .language-selector-wrapper {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.book-detail-main {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.book-cover-section {
|
|
flex: 0 0 auto;
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
.book-shelf-cover {
|
|
width: 44px;
|
|
height: 62px;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.book-shelf-title {
|
|
font-size: 1rem;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.book-shelf-title a {
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.book-shelf-ratings {
|
|
font-size: 0.8rem;
|
|
color: var(--bdm-mid-grey);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.book-shelf-purchase {
|
|
display: flex !important;
|
|
flex-wrap: wrap !important;
|
|
gap: 6px !important;
|
|
margin-top: 5px !important;
|
|
}
|
|
|
|
.purchase-link {
|
|
display: inline-block !important;
|
|
padding: 4px 8px !important;
|
|
font-size: 0.7rem !important;
|
|
font-weight: bold !important;
|
|
border: 2px solid var(--bdm-navy) !important;
|
|
border-radius: 4px !important;
|
|
color: var(--bdm-navy) !important;
|
|
text-decoration: none !important;
|
|
background-color: #fff !important;
|
|
transition: background-color 0.2s ease, color 0.2s ease !important;
|
|
}
|
|
|
|
.purchase-link:hover {
|
|
background-color: var(--bdm-navy) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.purchase-link.purchase-unavailable {
|
|
border-color: var(--bdm-light-grey) !important;
|
|
color: var(--bdm-light-grey) !important;
|
|
background-color: #f5f5f5 !important;
|
|
cursor: default !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Blog Page */
|
|
.blog-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.page-header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.blog-filter {
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.blog-filter select {
|
|
padding: 10px 20px;
|
|
border: 1px solid var(--bdm-navy);
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: var(--bdm-body-text);
|
|
font-size: 1rem;
|
|
min-width: 200px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.blog-filter select:focus {
|
|
outline: none;
|
|
border-color: var(--bdm-sky);
|
|
}
|
|
|
|
.blog-entry {
|
|
background-color: #fff;
|
|
margin-bottom: 30px;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.blog-entry-header {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.blog-entry-title {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.blog-entry-title a {
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.blog-entry-meta {
|
|
font-size: 0.875rem;
|
|
color: var(--bdm-mid-grey);
|
|
}
|
|
|
|
.blog-entry-meta span {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.blog-entry-tags {
|
|
font-size: 0.8rem;
|
|
color: var(--bdm-light-grey);
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.blog-entry-tags .tags-label {
|
|
font-weight: 600;
|
|
color: var(--bdm-mid-grey);
|
|
}
|
|
|
|
.blog-entry-tags a {
|
|
color: var(--bdm-slate);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.blog-entry-tags a:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
/* Books Page */
|
|
.books-container,
|
|
.series-container,
|
|
.reviews-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.book-entry {
|
|
display: grid;
|
|
grid-template-columns: 130px 1fr;
|
|
gap: 30px;
|
|
background-color: #fff;
|
|
margin-bottom: 30px;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.book-entry-cover img {
|
|
width: 130px;
|
|
height: 185px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.book-series-label {
|
|
display: inline-block;
|
|
font-size: 0.875rem;
|
|
color: var(--bdm-slate);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.book-title {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.book-author {
|
|
color: var(--bdm-mid-grey);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.book-format-toggle {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.format-btn {
|
|
padding: 8px 16px;
|
|
background: var(--bdm-parchment);
|
|
border: 1px solid var(--bdm-light-grey);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.format-btn.active,
|
|
.format-btn:hover {
|
|
background: var(--bdm-active-green);
|
|
color: #fff;
|
|
border-color: var(--bdm-active-green);
|
|
}
|
|
|
|
.book-retailer-links {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.retailer-link {
|
|
padding: 8px 16px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
font-size: 0.875rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.retailer-link:hover {
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
/* Individual Book Page */
|
|
.book-page-container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.language-selector {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 30px;
|
|
border-bottom: 2px solid var(--bdm-navy);
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.lang-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid var(--bdm-light-grey);
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.lang-btn.active {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
}
|
|
|
|
.book-page-content {
|
|
display: grid;
|
|
grid-template-columns: 220px 1fr;
|
|
gap: 40px;
|
|
}
|
|
|
|
.book-page-cover img {
|
|
width: 220px;
|
|
height: 310px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.book-preview {
|
|
margin-top: 25px;
|
|
padding: 20px;
|
|
background-color: var(--bdm-parchment);
|
|
border-left: 4px solid var(--bdm-gold);
|
|
}
|
|
|
|
.pull-quote {
|
|
font-family: var(--bdm-heading-font);
|
|
font-style: italic;
|
|
font-size: 1.125rem;
|
|
color: var(--bdm-navy);
|
|
margin: 20px 0;
|
|
padding-left: 20px;
|
|
border-left: 3px solid var(--bdm-gold);
|
|
}
|
|
|
|
.review-card {
|
|
background-color: var(--bdm-parchment);
|
|
padding: 20px;
|
|
margin-bottom: 15px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.review-source {
|
|
display: block;
|
|
margin-top: 10px;
|
|
font-weight: 600;
|
|
color: var(--bdm-slate);
|
|
text-transform: uppercase;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.share-btn {
|
|
padding: 12px 24px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.share-btn:hover {
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.social-share-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
align-items: center;
|
|
}
|
|
|
|
.share-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.social-share-buttons .share-btn:not(.share-copy) {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
padding: 8px;
|
|
border-radius: 50%;
|
|
background: var(--bdm-navy);
|
|
}
|
|
|
|
.social-share-buttons .share-btn:not(.share-copy) svg {
|
|
fill: #fff;
|
|
}
|
|
|
|
.social-share-buttons .share-btn:not(.share-copy):hover {
|
|
background: var(--bdm-gold);
|
|
}
|
|
|
|
/* Series */
|
|
.series-card {
|
|
background-color: #fff;
|
|
padding: 25px;
|
|
margin-bottom: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
text-align: center;
|
|
}
|
|
|
|
.series-card img {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
height: 280px;
|
|
object-fit: cover;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.single-series-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.series-header img {
|
|
width: 100%;
|
|
height: 300px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.series-header {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.series-books {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 30px;
|
|
}
|
|
|
|
.series-book-entry {
|
|
display: flex;
|
|
background-color: #fff;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.series-book-cover {
|
|
flex-shrink: 0;
|
|
width: 120px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.series-book-cover img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.series-book-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.volume-label {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
border-radius: 4px;
|
|
font-size: 0.875rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.series-book-title a {
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.series-book-title a:hover {
|
|
color: var(--bdm-slate);
|
|
}
|
|
|
|
.series-book-author {
|
|
color: var(--bdm-light-grey);
|
|
font-style: italic;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.series-book-blurb {
|
|
color: var(--bdm-body-text);
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
.breadcrumb {
|
|
padding: 15px 0;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid var(--bdm-parchment);
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: var(--bdm-slate);
|
|
}
|
|
|
|
/* Reviews */
|
|
.reviews-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 30px;
|
|
}
|
|
|
|
.review-card {
|
|
background-color: #fff;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.review-card-cover img {
|
|
width: 52px;
|
|
height: 74px;
|
|
object-fit: cover;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.review-entry {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.review-source {
|
|
display: block;
|
|
color: var(--bdm-slate);
|
|
font-weight: 600;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* About Page */
|
|
.about-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
display: grid;
|
|
grid-template-columns: 66% 34%;
|
|
gap: 30px;
|
|
}
|
|
|
|
.about-left-column {
|
|
background-color: #fff;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.about-sidebar {
|
|
position: sticky;
|
|
top: 80px;
|
|
}
|
|
|
|
.author-photo-container {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.author-photo {
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.signup-section,
|
|
.signup-card {
|
|
margin-top: 30px;
|
|
padding: 20px;
|
|
background-color: var(--bdm-parchment);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.signup-btn {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.signup-btn:hover {
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.awards-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.award-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.award-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--bdm-gold);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Form Pages */
|
|
.signup-container,
|
|
.unsubscribe-container,
|
|
.contact-container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 60px 20px;
|
|
}
|
|
|
|
.signup-content,
|
|
.unsubscribe-content,
|
|
.contact-content {
|
|
background-color: #fff;
|
|
padding: 40px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.signup-form,
|
|
.unsubscribe-form,
|
|
.contact-form {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.form-field {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-field label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-field input[type="email"],
|
|
.form-field input[type="text"],
|
|
.form-field textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid var(--bdm-light-grey);
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.form-field textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.checkbox-field {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.checkbox-field input {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.honeypot {
|
|
position: absolute;
|
|
left: -9999px;
|
|
}
|
|
|
|
.submit-btn {
|
|
padding: 14px 28px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.form-response {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.form-response .success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.form-response .error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
/* 404 Page */
|
|
.error-container {
|
|
max-width: 600px;
|
|
margin: 100px auto;
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 6rem;
|
|
color: var(--bdm-gold);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.btn-home {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Share Toast */
|
|
.share-toast {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(100px);
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
padding: 12px 24px;
|
|
border-radius: 4px;
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.share-toast.show {
|
|
transform: translateX(-50%) translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1199px) {
|
|
.home-container,
|
|
.about-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.footer-container {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.menu-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bdm-navy);
|
|
padding: 10px 0;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.nav-menu.toggled {
|
|
display: flex;
|
|
}
|
|
|
|
/* Show sub-menus on mobile tap */
|
|
.nav-menu .menu-item-has-children > .sub-menu {
|
|
display: none;
|
|
position: static;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.nav-menu .menu-item-has-children:hover > .sub-menu,
|
|
.nav-menu .menu-item-has-children:focus-within > .sub-menu {
|
|
display: block;
|
|
}
|
|
|
|
/* Book detail mobile */
|
|
.book-detail-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.book-detail-header .language-selector-wrapper {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.book-detail-main {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.book-cover-section {
|
|
flex: 0 0 auto;
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.book-info-section {
|
|
width: 100%;
|
|
}
|
|
|
|
.book-blurb-section {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Book Page Mobile Layout */
|
|
.book-page-layout {
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.book-page-left {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.book-page-cover img {
|
|
width: 180px;
|
|
height: 255px;
|
|
}
|
|
|
|
.book-page-center {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.book-page-sidebar {
|
|
width: 100%;
|
|
}
|
|
|
|
.book-entry,
|
|
.book-page-content,
|
|
.series-book-entry {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.footer-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.reviews-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.book-blurb-section {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
/* Author Photo Thumbnail */
|
|
.author-photo-thumbnail {
|
|
width: 150px;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
border: 3px solid var(--bdm-gold);
|
|
display: block;
|
|
margin: 0 auto 15px;
|
|
}
|
|
|
|
.author-photo-placeholder.author-photo-thumbnail {
|
|
width: 150px;
|
|
height: 150px;
|
|
}
|
|
|
|
|
|
/* Books Page Grid */
|
|
.books-page-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.books-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 30px;
|
|
}
|
|
|
|
.book-grid-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.book-grid-cover {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.book-grid-cover:hover {
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.book-grid-cover img {
|
|
width: 100%;
|
|
max-width: 200px;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.book-grid-cover-placeholder,
|
|
.book-page-cover-placeholder {
|
|
width: 130px;
|
|
height: 185px;
|
|
background: linear-gradient(135deg, var(--bdm-navy) 0%, var(--bdm-slate) 100%);
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 10px;
|
|
font-size: 0.9rem;
|
|
font-weight: bold;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.book-page-cover-placeholder {
|
|
width: 220px;
|
|
height: 310px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.book-grid-info {
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.book-grid-title {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.book-grid-title a {
|
|
color: var(--bdm-navy);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.book-grid-title a:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
.book-grid-author {
|
|
font-size: 0.9rem;
|
|
color: var(--bdm-mid-grey);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.book-grid-rating {
|
|
font-size: 1.1rem;
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.books-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.book-grid-cover img {
|
|
max-width: 160px;
|
|
}
|
|
}
|
|
|
|
/* Print Styles */
|
|
@media print {
|
|
.site-nav,
|
|
.site-footer,
|
|
.social-share-buttons,
|
|
.share-btn,
|
|
.book-format-toggle {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
}
|
|
/* Book Retailer Link Icons */
|
|
.book-retailer-links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.book-retailer-links .retailer-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.book-retailer-links .retailer-link:hover {
|
|
background-color: var(--bdm-gold);
|
|
color: var(--bdm-navy);
|
|
}
|
|
|
|
.book-retailer-links .retailer-link svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
/* Book Detail Page Layout */
|
|
.book-page-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.book-page-layout {
|
|
display: grid;
|
|
grid-template-columns: 220px 1fr 280px;
|
|
gap: 40px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.book-page-left {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.book-page-cover img {
|
|
width: 220px;
|
|
height: 310px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.book-page-center {
|
|
min-width: 0;
|
|
}
|
|
|
|
.book-page-sidebar {
|
|
width: 280px;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.book-page-layout {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.book-page-sidebar {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.book-page-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.book-page-left,
|
|
.book-page-sidebar {
|
|
grid-column: span 1;
|
|
}
|
|
.book-page-left {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.book-page-cover img {
|
|
width: 180px;
|
|
height: 255px;
|
|
}
|
|
}
|
|
|
|
/* Goodreads Books Widget */
|
|
.goodreads-books-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.goodreads-book-item {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #eee;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.goodreads-book-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.goodreads-book-cover {
|
|
flex-shrink: 0;
|
|
width: 42px;
|
|
}
|
|
|
|
.goodreads-book-cover img {
|
|
width: 42px;
|
|
height: 60px;
|
|
object-fit: cover;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.goodreads-book-details {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.goodreads-book-title {
|
|
display: block;
|
|
font-weight: 600;
|
|
color: var(--bdm-navy);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
line-height: 1.3;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.goodreads-book-title:hover {
|
|
color: var(--bdm-gold);
|
|
}
|
|
|
|
.goodreads-book-ratings {
|
|
font-size: 0.75rem;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.goodreads-book-ratings .rating {
|
|
font-weight: 500;
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.goodreads-book-ratings .rating.amazon {
|
|
color: #ff9900;
|
|
}
|
|
|
|
.goodreads-book-ratings .rating.goodreads {
|
|
color: #d1d179;
|
|
}
|
|
|
|
.goodreads-book-retailers {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.goodreads-book-retailers .retailer-box {
|
|
display: inline-block;
|
|
font-size: 0.7rem;
|
|
color: var(--bdm-navy);
|
|
text-decoration: none;
|
|
padding: 3px 8px;
|
|
border: 1px solid var(--bdm-navy);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.goodreads-book-retailers .retailer-box:hover {
|
|
background-color: var(--bdm-navy);
|
|
color: #fff;
|
|
}
|
|
|
|
.goodreads-book-retailers .retailer-unavailable {
|
|
color: #999;
|
|
border-color: #999;
|
|
cursor: default;
|
|
}
|
|
|
|
/* WordPress Required Classes */
|
|
.screen-reader-text {
|
|
border: 0;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute !important;
|
|
width: 1px;
|
|
word-wrap: normal !important;
|
|
}
|
|
|
|
.screen-reader-text:focus {
|
|
background-color: #f1f1f1;
|
|
border-radius: 3px;
|
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
clip: auto !important;
|
|
clip-path: none;
|
|
color: #21759b;
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
height: auto;
|
|
left: 5px;
|
|
line-height: normal;
|
|
padding: 15px 23px 14px;
|
|
text-decoration: none;
|
|
top: 5px;
|
|
width: auto;
|
|
z-index: 100000;
|
|
}
|
|
|
|
.wp-caption {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.wp-caption-text {
|
|
margin: 0.8em 0 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.sticky .entry-meta .sticky-flag {
|
|
display: inline-block;
|
|
}
|
|
|
|
.gallery-caption {
|
|
display: block;
|
|
}
|
|
|
|
.bypostauthor {
|
|
display: block;
|
|
}
|
|
|
|
.alignright {
|
|
float: right;
|
|
margin: 0 0 1.5em 1.5em;
|
|
}
|
|
|
|
.alignleft {
|
|
float: left;
|
|
margin: 0 1.5em 1.5em 0;
|
|
}
|
|
|
|
.aligncenter {
|
|
clear: both;
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.entry-content .wp-block-image {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.page-links {
|
|
clear: both;
|
|
margin: 0 0 1.5em;
|
|
}
|