Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified the Thrilling Adventures page #4757

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1531,11 +1531,26 @@ play-btn ion-icon {
/*-----------------------------------*\
#CHAPTERS
\*-----------------------------------*/
.chapter-card {
height: 700px;

.card1Dim{
height: 100px;
width: 400px;
padding: 25px;
display: flex;
justify-content: center;
right: 17% !important;
top: 0;
bottom: 0;
}

.allcardsDim{
height: 800px;
width: 400px;
background-color: var(--white);
padding: 25px;
}

.chapter-card {
background-color: var(--white);
border-radius: var(--radius-5);
box-shadow: var(--shadow-2);
position: relative;
Expand Down Expand Up @@ -1583,15 +1598,11 @@ body.dark-mode .chapter-card:hover {
/* Expand line width on hover */

.chapter-card .card-title {

margin-block-end: 15px;

}

.book-recommendation {

text-decoration: underline;

}

/*Added Top/Bottom Mrgins*/
Expand Down Expand Up @@ -2988,10 +2999,6 @@ footer {
* HEADER
*/

.header {
/* top: 30px; */
}

.header.active {
max-width: unset;
border-radius: 0px;
Expand Down
6 changes: 3 additions & 3 deletions books.html
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ <h2 class="h2 section-title has-underline" style="margin-bottom: 50px;">
<ul class="grid grid-cols-3 justify-center">

<li>
<div class="chapter-card" style="height: 550px;">
<div class="chapter-card allcardsDim">

<h3 class="h3 card-title"> "Fall in love on every page"</h3>
<p class="card-subtitle mt-20 italic">Love, One Page at a Time</p>
Expand All @@ -680,7 +680,7 @@ <h3 class="h3 card-title"> "Fall in love on every page"</h3>
</li>

<li>
<div class="chapter-card" style="height: 550px;">
<div class="chapter-card allcardsDim">

<h3 class="h3 card-title">"Escape Reality, Embrace Stories"</h3>

Expand All @@ -699,7 +699,7 @@ <h3 class="h3 card-title">"Escape Reality, Embrace Stories"</h3>
</li>

<li>
<div class="chapter-card" style="height: 550px;">
<div class="chapter-card allcardsDim">


<h3 class="h3 card-title">"Unlock New Worlds, One Chapter at a Time"</h3>
Expand Down
35 changes: 2 additions & 33 deletions thrilling-adventures.html
Original file line number Diff line number Diff line change
Expand Up @@ -403,51 +403,20 @@ <h3 id="profileNameDisplay">XYZ<br /><span>Book Lover</span></h3>

<p class="section-subtitle"></p>

<h2 class="h2 section-title has-underline">
Explore New Worlds
<span class="span has-before"></span>
</h2>

<ul class="grid-list">

<li>
<a href="books.html" class="chapter-card">
<a href="books.html" class="chapter-card card1Dim">

<p class="card-subtitle"></p>

<h3 class="h3 card-title"> "Dare to Experience the Unknown"</h3>
<h3 class="h3 card-title"> "Explore New Worlds"</h3>

<p class="card-text">
</p>

</a>
</li>

<li>
<a href="books.html" class="chapter-card">

<p class="card-subtitle"></p>

<h3 class="h3 card-title">"Edge-of-Your-Seat Thrills"</h3>

<p class="card-text">
</p>

</a>
</li>

<li>
<div class="chapter-card">

<p class="card-subtitle"></p>

<h3 class="h3 card-title">"Heart-Pounding Adventures Await"</h3>

<p class="card-text">
</p>

</div>
</li>
</ul>
</div>
</section>
Expand Down