Skip to content

Commit

Permalink
Merge pull request #82 from bistakazi101/main
Browse files Browse the repository at this point in the history
updated css media screen 767px
  • Loading branch information
mrsamirr authored Oct 23, 2023
2 parents 5365e43 + 5d7b625 commit 6490269
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 96 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

C++/circularQueue.cpp
C++/circularQueue.cpp
C++/stackOperations.cpp
86 changes: 0 additions & 86 deletions C++/circularQueue.cpp

This file was deleted.

29 changes: 19 additions & 10 deletions CodeRich Website/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<!DOCTYPE html>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeRich Community</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeRich Community</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="cards.css">
<script src="jquery1_min.js"></script>
<script src="circlequeue.js"></script> <!-- Removed the leading slash -->
</head>
<body>

<header class="header">
<nav class="navbar">
<h2 class="logo"><a href="#">CodeRich Community</a></h2>
Expand Down Expand Up @@ -44,5 +48,10 @@ <h2>E-Learning Platform</h2>
<img src="/CodeRich Website/images/hero-bg.png" alt="hero image" />
</div>
</section>
</body>
</html>
</div>



</body>

</html>
22 changes: 22 additions & 0 deletions CodeRich Website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,25 @@ body {
display: none;
}
}

@media screen and (max-width: 767px) {
.navbar .logo a {
font-size: 1.2rem;
}

.navbar .links {
top: 60px;
}

.hero-section .hero h2 {
font-size: 2rem;
}

.hero-section .hero p {
font-size: 1rem;
}

.hero-section .buttons a {
padding: 10px 20px;
}
}

0 comments on commit 6490269

Please sign in to comment.