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

adding buttons to the cards with hover effect animation #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Binary file added DevDocsHub/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file added DevDocsHub/__pycache__/settings.cpython-312.pyc
Binary file not shown.
Binary file added Docs/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file added Docs/__pycache__/admin.cpython-312.pyc
Binary file not shown.
Binary file added Docs/__pycache__/apps.cpython-312.pyc
Binary file not shown.
Binary file added Docs/__pycache__/models.cpython-312.pyc
Binary file not shown.
25 changes: 19 additions & 6 deletions Docs/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,22 @@
color: #555;
flex-grow: 1;
}
.card .btn {
align-self: flex-start;
margin-top: 15px;
.apply-btn {
display: inline-block;
background-color: #ff9800;
color: white;
padding: 10px 120px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s;
font-size: 0.7rem;
}

.apply-btn:hover {
background-color: #ffb74d;
transform: translateY(-3px);
box-shadow: crimson 0 0 20px;
}
footer {
background-color: #343a40;
Expand Down Expand Up @@ -209,17 +222,17 @@ <h1>Welcome to DevDocsHub</h1>
<div class="card">
<h2>Programming Languages</h2>
<p>Explore comprehensive documentation for a wide range of programming languages such as Python, JavaScript, Java, C++, and more.</p>
<a href="#" class="btn">View Languages</a>
<a href="#" class="apply-btn">View Languages</a>
</div>
<div class="card">
<h2>Open Source Projects</h2>
<p>Find documentation for popular open-source projects like Linux, Kubernetes, Docker, and more.</p>
<a href="#" class="btn">View Projects</a>
<a href="#" class="apply-btn">View Projects</a>
</div>
<div class="card">
<h2>Tutorials & Guides</h2>
<p>Access step-by-step tutorials and guides to help you get started with new technologies or enhance your skills.</p>
<a href="#" class="btn">Explore Tutorials</a>
<a href="#" class="apply-btn">Explore Tutorials</a>
</div>
</section>
</div>
Expand Down