home.css
unknown
plain_text
a year ago
5.8 kB
17
Indexable
.container-home {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.content-home {
display: flex;
flex: 1;
padding: 20px;
}
.section {
margin-bottom: 40px;
}
.see-more {
text-decoration: none;
color: #FFD36A;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.see-more svg {
margin-left: 10px;
}
.see-more:hover {
transform: translateY(-10px);
}
.main {
width: 55%;
margin-left: 18%;
padding: 0 15px;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 30px;
margin-bottom: 20px;
}
.main-second {
flex: 1;
padding: 0 10px;
width: 23%;
}
.section-title {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 50px;
margin-bottom: 20px;
}
.bookshome-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.bookshome-item {
position: relative;
text-align: left;
transition: transform 0.3s ease;
box-shadow: 0 0 10px 5px #132124;
border-radius: 10px;
}
.package-tag-new {
background: linear-gradient(to right, #4ff309, #d4efc6);
padding: 6px;
border-radius: 0 0 0 15px;
position: absolute;
width: 50%;
top: 0;
left: 90px;
}
.package-tag-new p {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #000000;
text-align: center;
}
.package-tag-popular {
background: linear-gradient(to right, #ff7e5f, #eed6c3);
padding: 6px;
border-radius: 0 0 0 15px;
position: absolute;
width: 50%;
top: 0;
left: 90px;
}
.package-tag-popular p {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #000000;
text-align: center;
}
.package-tag-vip {
background: linear-gradient(to right, #09e6d7, #d8ebea);
padding: 6px;
border-radius: 0 0 0 15px;
position: absolute;
width: 50%;
top: 0;
left: 90px;
}
.package-tag-vip p {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #000000;
text-align: center;
}
.bookshome-item:hover {
transform: translateY(-10px);
}
.bookshome-item img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px 10px 0 0;
}
.bookshome-item a {
display: block;
text-decoration: none;
color: #dfddd1;
}
.bookshome-item h3 {
font-size: 16px;
margin: 10px 0;
}
.bookshome-item .rating {
margin-top: auto;
color: #ffd36a;
}
.bookshome-inf {
padding: 10px 15px;
}
.subjects-section {
max-width: 600px;
padding: 20px;
text-align: center;
}
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}
.subject {
display: flex;
width: 240px;
height: 80px;
font-size: 18px;
background-color: #263F44;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-decoration: none;
color: #FFD36A;
transition: transform 0.3s ease;
}
.subject:hover {
background-color: #FFD36A;
transform: translateY(-5px);
color: #0C2122;
}
.authors-list {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.author-row {
display: flex;
width: 100%;
justify-content: space-between;
}
.authorhome-card {
width: calc(50% - 10px);
background-color: #0C2122;
padding: 10px;
border-radius: 10px;
cursor: pointer;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
position: relative;
overflow: hidden;
}
.authorhome-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.author-header {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.authorhome-image {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #FFD36A;
margin-right: 10px;
margin-top: 40px;
}
.book-count {
position: absolute;
top: 10px;
right: 10px;
color: #FFD36A;
border-radius: 5px;
}
.authors1-list {
min-height: 50vh;
}
.authorhome-info {
padding: 10px;
text-align: center;
margin-top: 10px;
}
.author-link {
color: #dfddd1;
text-decoration: none;
font-weight: bold;
}
.author-link:hover {
text-decoration: underline;
}
.section-top-books {
margin: 20px 0;
}
.section-title {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.section-title h2 {
font-size: 1.5rem;
margin: 0;
}
.see-more span {
margin-right: 5px;
}
.bookshome-list-top {
display: flex;
flex-direction: column;
gap: 15px;
}
.bookshome-item-top {
display: flex;
align-items: center;
gap: 15px;
background-color: #0C2122;
border-radius: 8px;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.book-rank {
font-size: 1.5rem;
font-weight: bold;
width: 30px;
text-align: center;
}
.book-cover img {
width: 60px;
height: 70px;
border-radius: 4px;
}
.book-info {
flex: 1;
}
.book-info h3 {
font-size: 1rem;
margin-bottom: 20px;
}
.rating-top {
font-size: 0.875rem;
color: #dfddd1;
}
Editor is loading...
Leave a Comment