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

styling of contact box #486

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
15 changes: 7 additions & 8 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,14 @@ header {
/* Initial background color */
padding: 15px;
text-align: center;

box-shadow: 0 2px 25px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 25px rgba(0, 0, 0, 0.2);
flex: 1;
max-width: 300px;
height: 300px;
/* Set the same height and width for round shape */
border-radius: 50%;
/* Make the card round */
border: 1px solid gold;
border: 1px solid rgb(234, 232, 232);
position: relative;
perspective: 1000px;
scroll-behavior: smooth;
Expand All @@ -234,7 +233,7 @@ header {

.team-features:hover,
.contact-features:hover {
background-color: #CDC1FF;
background-color:#d5e8fa;
/* Background color on hover */
transform: translateY(-10px);
}
Expand Down Expand Up @@ -312,11 +311,11 @@ header {
display: inline-block;
padding: 8px 16px;
/* Reduce padding for a smaller button */
background-color: #28a745;
background-color: #2980b9;
/* Keep background color green */
color: #fff;
text-align: center;
border: 2px solid #218838;
border: 2px solid #226c9d;
/* Add a border with a darker green color */
border-radius: 4px;
/* Reduce border radius for a less rounded button */
Expand All @@ -327,9 +326,9 @@ header {
}

.button:hover {
background-color: #218838;
background-color: #2980b9;
/* Darker green on hover */
border-color: #1e7e34;
border-color: #226c9d;
/* Change border color on hover */
transform: scale(1.05);
/* Slightly enlarge on hover */
Expand Down
8 changes: 4 additions & 4 deletions team.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
font-size: 0.9em;
}

/* .contact-feature {
.contact-feature {
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -103,8 +103,9 @@
height: auto;
margin-right: 20px;
border-radius: 10px;
} */

}


footer {
background-color: #000;
color: white;
Expand Down Expand Up @@ -198,7 +199,6 @@
</div>

<nav class="menu">
<ul>
<li><a href="index.html" id="home-link" onclick="changeContent('home')"><i class="fa-solid fa-house"></i> Home</a></li>
<li><a href="features.html" id="features-link" onclick="changeContent('features')"><i class="fa-solid fa-file"></i> Features</a></li>
<li><a href="team.html" id="team-link" onclick="changeContent('team')"><i class="fa-solid fa-user-group"></i> Team</a></li>
Expand Down