Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
priyashuu committed Oct 12, 2024
2 parents 70656c6 + 67cddf3 commit 337a731
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 10 deletions.
32 changes: 23 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
<title>OpenTekHub Blockchain Repo</title>
<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=Fredoka:[email protected]&family=Gowun+Batang:wght@400;700&family=Mate+SC&display=swap"
rel="stylesheet">

<link href="https://fonts.googleapis.com/css2?family=Fredoka:[email protected]&family=Gowun+Batang:wght@400;700&family=Mate+SC&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />

<link rel="stylesheet" href="styles.css">
</head>
<!-- <ul class="menu-items">
Expand Down Expand Up @@ -197,16 +202,25 @@ <h1>Frequently Asked Questions</h1>
</div>
</section>

<section id="repo-info">
<footer id="repo-info">

<div class="left">
<h2>About the Repository</h2>
<p>This repository demonstrates blockchain prices using api and javascript.</p>
<a href="https://github.com/OpenTekHub/blockchain" target="_blank"><i class="fa-brands fa-github"></i>BlockChain Repository</a>
</div>

<div class="right">
<h2>Connect with us</h2>
<a class="s" href="/"><i class="fa-brands fa-discord"></i></a>
<a href="/"><i class="fa-brands fa-twitter"></i></i></a>
<a href="/"><i class="fa-brands fa-facebook"></i></a>
</div>

</footer>



<h2>About the Repository</h2>
<p>This repository demonstrates blockchain prices using api and javascript.</p>
<a href="https://github.com/OpenTekHub/blockchain" target="_blank"><img src="public/github.png" alt=""
id="git">BlockChain Repository</a>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="script.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
Expand Down
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ document.addEventListener('DOMContentLoaded', () => {





const tabs = document.querySelectorAll('.tab');
const cursor = document.getElementById('cursor');
Expand Down
69 changes: 68 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,61 @@ zz

#repo-info {
background-color: #fffefe10;
text-align: center;
padding: 1.5rem;
box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.2);
font-size: 1rem;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5rem;
min-height: 12rem;
}

#repo-info .left a {
position: relative;
text-shadow: 0 4px 10px #fefe09;
}

#repo-info .left a::before {
content: '';
position: absolute;
top: 100%; /* Adjust this to align the underline at the bottom */
left: 0;
width: 0%;
height: 2px;
background-color: #FFEB55; /* The underline color */
transition: width .3s linear;
}

#repo-info .left a:hover::before {
width: 100%; /* The underline expands fully when hovering */
}


#repo-info .left a i{
font-size: 1.2rem;
margin-right: 0.5rem;
text-align: center;
}

#repo-info .right h2{
margin-bottom: 1.5rem;
}

#repo-info .right a{
font-size: 1rem;
margin: 2rem 0.5rem;
padding: 0.3rem 0.5rem;
border: 1px solid white;
color: white;
border-radius: 50%;
text-align: center;
transition: background-color 0.3s ease-in;
}

#repo-info .right a:hover{
background-color: white;
color: #c31432;
}

#repo-info p {
Expand Down Expand Up @@ -600,7 +651,23 @@ p.tagline.dark-mode{
flex: 1 1 100%;
}
}
@media (max-width: 895px) {
#repo-info {
position: relative;
display: flex;
flex-direction: column !important;
align-items: first baseline;
padding: 0 !important;

}
#repo-info .left{
margin-left: 1rem;
}
#repo-info .right{
margin-top: 3rem !important;
margin-left: 1rem;
}
}
/* Small devices (phones, 500px and below) */
@media (max-width: 500px) {
.logo {
Expand Down

0 comments on commit 337a731

Please sign in to comment.