*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
all: unset;
display: revert;
} *,
*::before,
*::after {
box-sizing: border-box;
} html {
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
} a, button {
cursor: revert;
} ol, ul, menu, summary {
list-style: none;
} img {
max-inline-size: 100%;
max-block-size: 100%;
} table {
border-collapse: collapse;
} input, textarea {
-webkit-user-select: auto;
user-select: auto;
} textarea {
white-space: revert;
} meter {
-webkit-appearance: revert;
appearance: revert;
} :where(pre) {
all: revert;
box-sizing: border-box;
} ::placeholder {
color: unset;
} :where([hidden]) {
display: none;
} :where([contenteditable]:not([contenteditable="false"])) {
-moz-user-modify: read-write;
-webkit-user-modify: read-write;
overflow-wrap: break-word;
-webkit-line-break: after-white-space;
line-break: after-white-space;
-webkit-user-select: auto;
user-select: auto;
} :where([draggable="true"]) {
-webkit-user-drag: element;
} :where(dialog:modal) {
all: revert;
box-sizing: border-box;
}
header.site-header {
max-width: 960px;
position: relative;
overflow: visible;
margin: 0 auto;
padding: 2rem;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
h1.site-title {
font-size: 1.75rem;
letter-spacing: 0.25rem;
color: #333;
}
h1.site-title a {
transition: all 0.2s 0s ease-out;
}
h1.site-title a:hover,
h1.site-title a:focus {
text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
transition: all 0.2s 0s ease-out;
} .ruby-wrapper {
flex: 1;
text-align: right;
margin-right: 0.5rem;
}
.ruby-toggle-button {
padding: 0.25rem 1rem 1rem 1rem;
} .sort-wrapper {
text-align: right;
margin-right: 0.5rem;
} .search-form {
position: relative;
width: 2rem;
overflow: visible;
background-color: rgba(250, 250, 250, 1) !important;
}
.search-field {
z-index: 1;
position: absolute;
top: 0;
right: 0;
width: 2rem;
background: url(//snj.main.jp/book/wp-content/themes/ReadingRecord/assets/svg/magnifying-glass-solid.svg) no-repeat center left 0.45rem / 1rem 1rem;
background-color: rgba(250, 250, 250, 1) !important;
color: rgba(255, 255, 255, 0) !important;
}
.search-field::placeholder {
opacity: 0;
}
.search-form:hover .search-field,
.search-form:focus-within .search-field {
z-index: 10;
top: -0.25rem;
height: 2.5rem;
border-radius: 2.5rem;
width: 300px;
background: url(//snj.main.jp/book/wp-content/themes/ReadingRecord/assets/svg/magnifying-glass-solid.svg) no-repeat center left 0.45rem / 1.5rem 1rem;
padding: 0.75rem 0.5rem 0.75rem 2.25rem;
font-size: 1rem;
color: #000 !important;
text-align: left;
cursor: auto;
transition: all 0.3s 0s ease-out !important;
&::placeholder {
color: rgba(0, 0, 0, 0.5);
font-size: 0.9rem;
opacity: 1;
}
} .visually-hidden {
position: absolute;
left: -9999px;
} @media screen and (max-width:950px) {
} @media screen and (max-width: 750px) {
} @media screen and (max-width: 600px) {
header.site-header {
padding: 1rem 1rem 2rem 1rem ;
}
h1.site-title {
font-size: 1.5rem;
}
.ruby-wrapper {
margin-right: 0;
}
.ruby-toggle-button {
padding: 0.2rem 0.5rem 0.75rem 0.5rem;
}
.sort-wrapper {
margin: 0 0 0 0.5rem;
}
.search-form {
position: absolute;
top: 4rem;
right: 1rem;
width: 1.5rem;
margin: 0 0 0 auto;
}
.search-field {
right: 0;
width: 1.75rem;
background: url(//snj.main.jp/book/wp-content/themes/ReadingRecord/assets/svg/magnifying-glass-solid.svg) no-repeat center left 0.5rem / 0.75rem 0.75rem;
}
.search-form:hover .search-field,
.search-form:focus-within .search-field {
top: -0.125rem;
height: 2rem;
border-radius: 2rem; padding: 0.75rem 0.5rem 0.75rem 2.25rem;
font-size: 1rem;
&::placeholder {
font-size: 0.8rem;
}
}
}
#author-profile {
display: flex;
align-items: flex-start;
gap: 2rem;
padding: 2rem;
border-top: 2px solid #ddd;
}
#author-icon-large,
.wp-user-avatar-100 {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
}
#author-details {
flex: 1;
}
#author-name {
font-weight: bold;
margin-bottom: 0.5rem;
}
#author-bio {
font-size: 0.9rem;
line-height: 1.6;
color: #333;
}
#social-links {
display: flex;
margin-top: 0.5rem;
}
#social-links li {
font-size: 1.5rem;
margin-right: 0.5rem;
}
#social-links li svg {
width: 1.25rem;
height: 1.25rem;
display: inline-block;
vertical-align: middle;
margin-bottom:0.3rem;
}
#social-links .note svg {
width: 1.4rem;
height: 1.4rem;
border: 2px solid #333;
border-radius: 0.3rem;
margin: 0 0.1rem 0.3rem 0.2rem;
} @media screen and (max-width: 600px) {
#author-profile {
padding: 2rem 1rem;
gap: 0.5rem;
}
#author-icon-large {
width: 70px;
height: 70px;
}
}
.site-footer {
padding-bottom: 2rem;
text-align: center;
font-size: 0.9rem;
}
.site-footer a {
color: #333;
text-decoration: none;
}
.site-footer a:hover {
text-decoration: underline;
text-underline-offset: 0.2rem;
}
.footer-nav {
list-style: none;
padding: 0;
margin: 0.5rem 0 1rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
.footer-copy {
font-size: 0.8rem;
color: #aaa;
} body {
background-color: rgba(245, 245, 245, 1);
font-family: sans-serif;
} body.ruby-hidden .book-title {
height: 2.75rem;
}
body .book-title {
height: 3.75rem;
}
ruby {
ruby-position: over;
}
rt {
font-size: 0.6rem;
font-weight: normal;
line-height: 1;
word-break: keep-all;
}
.ruby-hidden ruby rt {
display: none;
} @media screen and (max-width:950px) {
} @media screen and (max-width: 750px) {
} @media screen and (max-width: 600px) {
}