Skip to content

Commit c60a1ce

Browse files
authored
Fix Glitches (#22)
2 parents 7a017f6 + edb1d4c commit c60a1ce

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

assets/snl-script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ function closeAbout(){
290290
const aboutBody=document.getElementById('dial-about');
291291

292292
function showAbout(){
293-
aboutBody.scroll(0,0);
294293
if(about.classList.contains('hidden'))
295-
{
296-
about.classList.toggle('hidden');
297-
}
294+
{
295+
about.classList.toggle('hidden');
296+
}
297+
aboutBody.scroll(0,0);
298298
}
299299

300300
//readme.md or about

assets/snl-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ body.light-mode .floating-text {
126126
}
127127

128128
body.light-mode .snl-info{
129-
background-color: rgba(255, 255, 255, 0.5) !important;
129+
background-color: white !important;
130130
}
131131

132132
.floating-text:hover{

docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
77
<!-- favicon -->
88
<link rel="icon" type="image/x-icon" href="/fav.ico">
9-
9+
1010
<!-- Google / Search Engine Tags -->
1111
<meta itemprop="name" content="Docs -First Accord" />
1212
<meta itemprop="description" content="Explore the comprehensive guide on how to contribute to First Accord. Learn about participation guidelines, contribution steps, and collaboration tools to make a meaningful impact" />
@@ -31,6 +31,8 @@
3131
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
3232

3333
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
34+
<link rel="preload" as="style" href="/styles/habilight.css">
35+
<link rel="preload" as="style" href="/styles/darcula.css">
3436
<script>
3537
var file = location.pathname.split( "/" ).pop();
3638

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<a href="/docs" class="doc-b" target="_blank" alt="Documentation" style="color:#f0f0f0;text-decoration: none; position: absolute; top: 24px; right: 64px;"><i class="fa-solid fa-book fa-xl"></i> <span class="doc-text">Docs</span></a>
5454
<a alt="About" class="about-b" onclick="showAbout()" style="color:#f0f0f0;text-decoration: none; position: absolute; top: 24px; right: 158px;"><i class="fa-solid fa-circle-question fa-xl about-button"></i> <span class="doc-text">About</span></a>
5555
</div>
56-
<p style="align-self: center; justify-self: center; text-align: center; background-color:#282c347a; z-index: 101;" class="snl-info">Interested in contributing? Kindly check out our <a href="docs/#/getting-started" style="color: orangered;">guide here</a> for details.</p>
56+
<p style="align-self: center; justify-self: center; text-align: center; background-color:#282c34; z-index: 101;" class="snl-info">Interested in contributing? Kindly check out our <a href="docs/#/getting-started" style="color: orangered;">guide here</a> for details.</p>
5757
<div class="search-container">
5858
<input type="text" class="snl-search-bar" id="snl-search-bar" placeholder="Search Contributor...">
5959
<div class="snl-search-button" onclick="searchContributor()">Check</div>

0 commit comments

Comments
 (0)