Skip to content
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
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@
<link rel="stylesheet" href="styles.css">
<!-- <--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">--> -->


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">


</head>
<body>
<header class="mynavbar">
<div class="navbar-container">
<strong>Quiz Game </strong>
<a class = "link-no-underline" href= "index.html" target="_blank"><strong>Quiz Game</strong></a>
<nav class="nav-links">
<a class="link" href="index.html" target="_blank">Home</a>
<a class="link" href="profile.html" target="_blank">Profile</a>
Expand Down
16 changes: 13 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ body {
transition: background 0.3s ease, transform 0.2s;
}


.nav-links .link:hover {
background-color: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
}

.link-no-underline{
text-decoration: none;
}
/* Responsive Navbar */
@media (max-width: 768px) {
.navbar-container {
Expand Down Expand Up @@ -89,39 +92,46 @@ background: linear-gradient(to right, #1f1c2c, #928dab);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border: 2px solid #c5b4ff;


}


.quiz-section {
margin-bottom: 1000px;
}


h2 {
color: #333;
font-size: 24px;
}


.description {
margin-bottom: 1rem;
font-size: 1.25rem;
color: #0f0404;
}


.quiz-list {
list-style-type: none;
padding: 0;
margin-top: 1.5rem;
}


.quiz-list li {
margin-bottom: 1rem;
}


.quiz-link {
align-items: center;
display: inline-block;
padding: 12px 24px;
background-color: #88B6F2;
color: #022954;
background-color: #6cebeb;
color: #01070e;
text-decoration: none;
border-radius: 6px;
width: 100%;
Expand Down