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

About section update #766

Merged
merged 2 commits into from
Aug 10, 2024
Merged
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
3 changes: 2 additions & 1 deletion pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ <h1 class="main-heading">Dot-Box - The Strategy Game🎮</h1>
to create boxes. <br />
The player who completes the most boxes wins ⚔️
</p>
<a href="https://github.com/ChromeGaming/Dot-Box" class="cta-button">Star us ᯓ★</a>
<a href="https://github.com/ChromeGaming/Dot-Box" class="cta-button"><i class="fas fa-star"></i> Star Us <i
class="fas fa-star"></i></a>
</div>
</header>
<main>
Expand Down
14 changes: 9 additions & 5 deletions styles/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ html {
/* About section styles */
.about-section {
background-color: #0a0c27;
padding-top: 2rem;
}

.about-content {
max-width: 1400px;
margin: 200px auto;
margin: 1rem auto;
margin-top: 12.5rem;
}


Expand All @@ -79,18 +81,19 @@ html {

.cards-container {
display: flex;
justify-content: space-around;
justify-content: space-evenly;
flex-wrap: wrap;
align-items: center;
}


.about-card {
background-color: #101239;
border-radius: 10px;
padding: 20px;
width: 25%;
width: 30%;
min-width: 160px;
height: 370px;
height: fit-content;
margin: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
color: #fff;
Expand All @@ -101,6 +104,7 @@ html {

ul li {
list-style: none;
padding: 0.25rem;
}

.about-card:hover {
Expand Down Expand Up @@ -134,7 +138,7 @@ ul li {

.card-title {
font-size: 1.6rem;
margin-bottom: 12px;
margin-bottom: 1.25rem;
color: orange;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
transition: all 0.3s ease-in;
Expand Down
Loading