.liquid-glass-btn {
display: inline-block; height: 2rem;
border-radius: 2rem;
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.1),
inset 2px 2px 1px rgba(255, 255, 255, 0.5),
inset -1px -1px 1px rgba(255, 255, 255, 0.25);
background-color: rgba(255, 255, 255, 0.5);
color: rgba(0, 0, 0, 0.5);
text-align: center;
font-size: 0.9rem;
text-decoration: none;
cursor: pointer;
transition: all 0.2s 0s ease-out;
} @media screen and (max-width: 600px) {
.liquid-glass-btn {
height: 1.75rem;
border-radius: 1.75rem;
font-size: 0.8rem;
}
}
.liquid-glass-btn.hover:hover,
.liquid-glass-btn.hover:focus {
box-shadow:0 0 24px rgba(0, 0, 0, 0.2);
background-color: rgba(255, 255, 255, 1);
color: rgba(0, 0, 0, 0.8);
transition: all 0.2s 0s ease-out;
}
.liquid-glass-btn-color {
display: inline-block;
min-height: 2rem;
border-radius: 2rem;
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.1),
inset 1px 1px 2px rgba(255, 255, 255, 0.5),
inset -1px -1px 1px rgba(255, 255, 255, 0.25);
background-color: rgba(255, 255, 255, 0.5);
color: #333;
text-align: center;
font-size: 0.9rem;
text-decoration: none;
transition: all 0.2s 0s ease-out;
}
.liquid-glass-btn-color.hover:hover {
box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
transition: all 0.2s 0s ease-out;
} .liquid-glass-card { border-radius: 1.5rem;
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.05),
inset 2px 2px 1px rgba(255, 255, 255, 0.5),
inset -1px -1px 1px rgba(255, 255, 255, 0.25);
font-size: 0.9rem;
transition: all 0.3s 0s ease-out;
}
.liquid-glass-card.hover:hover,
.liquid-glass-card.hover:focus {
box-shadow: 0 0 32px rgba(0, 0, 0, 0.1);
background-color: rgba(255, 255, 255, 1);
transition: all 0.3s 0s ease-out;
}
.sort-toggle {
display: inline-block;
padding: 2px;
transition: background-color 0.3s ease;
border-radius: 2rem;
background-color: rgba(204, 204, 204, 0.25);
color: rgba(0, 0, 0, 0.5);
text-align: center;
font-size: 0.9rem;
transition: all 0.2s 0s ease-out;
} .sort-btn {
height: 2rem;
border-radius: 2rem;
padding: 0.25rem 1rem 1rem 1rem;
transition: all 0.3s ease;
} .sort-btn.active {
display: inline-block;
height: 2rem;
border-radius: 2rem;
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.1),
inset 2px 2px 1px rgba(255, 255, 255, 0.5),
inset -1px -1px 1px rgba(255, 255, 255, 0.25);
background-color: rgba(250, 250, 250, 1);
transition: all 0.2s 0s ease-out;
}
.sort-toggle > button.sort-btn.active:first-of-type  {
margin-right: -0.75rem;
}
.sort-toggle > button:first-of-type + button.sort-btn.active {
margin-left: -0.75rem;
} .sort-btn.active:hover,
.sort-btn.active:focus {
box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
background-color: rgba(255, 255, 255, 1);
color: rgba(0, 0, 0, 0.8);
cursor: pointer;
}
.sort-btn:hover,
.sort-btn:focus {
color: rgba(0, 0, 0, 0.8);
cursor: pointer;
} @media screen and (max-width: 600px) {
.sort-toggle {
padding: 1.75px;
border-radius: 1.75rem;
font-size: 0.8rem;
}
.sort-btn {
height: 1.75rem;
border-radius: 1.75rem;
padding: 0.21rem 0.75rem 0.75rem 0.75rem;
}
.sort-btn.active {
height: 1.75rem;
border-radius: 1.75rem;
}
}
#articles {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
margin-bottom: 3rem;
padding: 2rem;
justify-content: flex-start;
}
.card {
width: calc((100% - 4.5rem) / 4);
overflow: hidden;
background: rgba(255, 255, 255, 0.5);
}
.card-link {
display: block;
height: 100%;
text-decoration: none;
color: inherit;
padding: 1rem;
}
.eyecatch {
max-height: 250px;
display: flex;
justify-content: center;
align-items: center;
}
.eyecatch img {
max-height: 100%;
max-width: 100%;
height: auto;
width: auto;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 0.5rem;
transition: all 0.3s 0s ease-out;
}
.card:hover .eyecatch img,
.card:focus .eyecatch img {
transform: scale(1.05);
box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
border-radius: 1rem;
transition: all 0.3s 0s ease-out;
}
time {
font-size: 0.75rem;
color: #b02b52;
margin-top: 0.5rem;
display: block;
}
.book-title { font-weight: bold;
margin: 0.25rem 0;
display: -webkit-box;
line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.book-author {
color: #333;
display: -webkit-box;
line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.card-footer {
display: flex;
justify-content: space-between;
gap: 0.5rem;
}
.like-count {
color: #b02b52;
margin-right: 0.2rem;
}
.like-count i {
margin-right: 0.2rem;
} @media screen and (max-width:950px) {
#articles {
gap: 1rem;
padding: 2rem;
}
.card {
width: calc((100% - 3rem) / 4);
}
.eyecatch {
height: 200px;
}
} @media screen and (max-width: 820px) {
#articles {
gap: 1rem;
padding: 2rem;
}
.card {
width: calc((100% - 3rem) / 4);
}
.eyecatch {
height: auto;
max-width: 140px;
}
.card-footer {
display: block;
}
} @media screen and (max-width: 600px) {
#articles {
padding: 1rem;
}
.card {
width: 100%;
font-size: 0.9rem;
}
.card-link {
display: flex;
gap: 1rem;
padding: 1rem;
}
.eyecatch {
height:120px;
max-width: 85px;
min-width: 85px;
display: flex;
justify-content: center;
align-items: center;
}
.meta {
width: 100%;
}
.card:hover {
transform: none;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.card:hover .eyecatch img,
.card:focus .eyecatch img {
transform: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 0.5rem; 
}
time {
margin-top: 0rem;
font-size: 0.75rem;
}
.book-title {
font-size: 0.9rem;
}
.book-author {
font-size: 0.9rem;
}
.card-footer {
display: flex;
justify-content: space-between;
gap: 0.5rem;
}
}
.tag-cloud {
margin-bottom: 3rem;
padding: 2rem;
border-top: 2px solid #ddd;
text-align: center;
}
.tag-cloud h2 {
font-size: 1.2rem;
margin-bottom: 1rem;
}
.tag-cloud ul {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.tag-cloud ul li a {
display: inline-block;
padding: 0.3em 0.6em;
color: #333;
}
.tag-cloud ul li a::before {
font-family: 'FontAwesome';
content: '\f02b';
color: #333;
}
.tag-cloud ul li a:hover {
text-decoration: underline;
text-underline-offset: 0.2rem;
}
.pagination {
text-align: center;
margin: 2em auto;
}
.page-numbers {
display: inline-block;
margin: 0 0.25em;
padding: 0.75em 1.25em;
font-size: 1rem;
border-radius: 999px;
transition: all 0.3s ease-out;
}
.prev.page-numbers,
.next.page-numbers {
border: 1px solid #ccc;
color: inherit;
}
.page-numbers.current,
.page-numbers:hover {
background-color: white;
box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}
.page-numbers.dots {
border: none;
padding: 0.5em;
cursor: default;
}
.page-numbers.dots:hover {
background-color: rgba(245, 245, 245, 1);
box-shadow: none;
}
.page-numbers i {
font-size: 1rem;
} @media screen and (max-width:950px) {
} @media screen and (max-width: 750px) {
} @media screen and (max-width: 600px) {
.pagination {
margin: 2em 0;
}
.page-numbers {
margin: 0;
padding: 0.5em 1em;
font-size: 1rem;
}    
} main {
max-width: 960px;
margin: 0 auto;
padding-top: 1rem;
} h2#search-page-title,
h2#tag-page-title {
margin: 1.5rem 2rem 0.5rem 2rem;
font-size: 1.3rem;
} @media screen and (max-width:950px) {
main {
max-width: 800px;
}
} @media screen and (max-width: 750px) {
} @media screen and (max-width: 600px) {
h2#search-page-title,
h2#tag-page-title {
margin: 0 1rem;
font-size: 1.25rem;
}
}