Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaBhate committed Oct 8, 2023
1 parent 6c16293 commit b34b29a
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 10 deletions.
6 changes: 3 additions & 3 deletions contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

<body>
<nav>
<div class="nav_logo"><a href="/index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_logo"><a href="./index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_links">
<ul>
<a href="/docs.html">
<a href="./docs.html">
<li>Docs 📄</li>
</a>
<a href="/contribute.html">
<a href="./contribute.html">
<li>Contribute 🚀</li>
</a>
</ul>
Expand Down
8 changes: 4 additions & 4 deletions docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

<body>
<nav>
<div class="nav_logo"><a href="/index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_logo"><a href="./index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_links">
<ul>
<a href="/docs.html">
<a href="./docs.html">
<li>Docs 📄</li>
</a>
<a href="/contribute.html">
<a href="./contribute.html">
<li>Contribute 🚀</li>
</a>
</ul>
Expand All @@ -31,7 +31,7 @@ <h1>Frontend Snippets Documentation</h1>
<h2 class="docs_h2">Navbars</h2>
<ul class="docs_ul">
<li class="docs_li">
<a href="link-to-github-folder" target="_blank">Stylish Navbar</a>
<a href="link-to-github-folder" target="_blank">Sample Navbar</a>
<em>by John Doe</em>
</li>
<!-- Add more navbar snippets as needed -->
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

<body>
<nav>
<div class="nav_logo"><a href="/index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_logo"><a href="./index.html"><img width="50px" src="./assets/code.png"></a></div>
<div class="nav_links">
<ul>
<a href="/docs.html">
<a href="./docs.html">
<li>Docs 📄</li>
</a>
<a href="/contribute.html">
<a href="./contribute.html">
<li>Contribute 🚀</li>
</a>
</ul>
Expand Down
83 changes: 83 additions & 0 deletions library/Alert Buttons/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alert Buttons</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

.button-container {
text-align: center;
}

.btn {
border: none;
color: white;
padding: 14px 28px;
cursor: pointer;
margin: 5px;
border-radius: 2px;
}

.success {
background-color: #04AA6D;
}

.success:hover {
background-color: #46a049;
}

.info {
background-color: #2196F3;
}

.info:hover {
background: #0b7dda;
}

.warning {
background-color: #ff9800;
}

.warning:hover {
background: #e68a00;
}

.danger {
background-color: #f44336;
}

.danger:hover {
background: #da190b;
}

.default {
background-color: #e7e7e7;
color: black;
}

.default:hover {
background: #ddd;
}
</style>
</head>

<body>
<div class="button-container">
<button class="btn success">Success</button>
<button class="btn info">Info</button>
<button class="btn warning">Warning</button>
<button class="btn danger">Danger</button>
<button class="btn default">Default</button>
</div>
</body>

</html>
3 changes: 3 additions & 0 deletions library/Alert Buttons/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Simple Alert Buttons

Contributed by Aditya Bhate

0 comments on commit b34b29a

Please sign in to comment.