Skip to content

Commit

Permalink
ui issue fix
Browse files Browse the repository at this point in the history
fix minor graphical issues, add link to source code
  • Loading branch information
Bonnie39 authored Oct 9, 2023
1 parent 4b05571 commit 8287f32
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 21 deletions.
6 changes: 3 additions & 3 deletions css/preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
color: #333; /* Button text color */
border: none;
border-radius: 50%; /* Make it round */
width: 40px; /* Button width */
height: 40px; /* Button height */
width: 40px !important; /* Button width */
height: 40px !important; /* Button height */
font-size: 1.5rem; /* Font size of the gear icon */
cursor: pointer;
z-index: 25;
Expand All @@ -35,7 +35,7 @@
}

@media (prefers-color-scheme: dark) {
.settings-button {background-color: #1f1f1f; color: #eee;}
.settings-button {background-color: #1f1f1f; color: #eee; height: 40px !important; width: 40px !important;}
.settings-button:hover {background-color: #313131;}
.settings-button:active {background-color: #474747;}
.settings-panel {background-color: #222 !important; color: #eee !important; border: 1px solid #444 !important;}
Expand Down
1 change: 1 addition & 0 deletions css/searchresults.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
}

.search-filters button {
color: #333;
margin-top: 16px;
height: 32px;
max-width: 64px;
Expand Down
47 changes: 36 additions & 11 deletions css/styles-home.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,22 +136,46 @@ link[rel="icon"] {
}

.footer {
align-items: center;
text-align: center;
position: relative;
color: #7b7b7b;
margin-top: -64px;
/* negative value of footer height */
height: 64px;
clear: both;
background-color: #e6e6e6;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
position: relative;
color: #7b7b7b;
margin-top: -64px; /* negative value of footer height */
height: 64px;
clear: both;
background-color: #e6e6e6;
}

.left-content {
flex: 1; /* Allow the left content to grow and take available space */
text-align: left;
padding-left: 16px; /* Adjust spacing between the left edge and the link */
}

.right-content {
flex: 1; /* Allow the right content to grow and take available space */
text-align: right;
padding-right: 32px; /* Adjust padding on the right side of the paragraph */
}

.footer p {
padding-top: 22px;
font-size: 0.8rem;
font-size: 0.8rem;
margin: 0;
margin-bottom: 0px;
}

.footer a {
font-size: 0.8rem;
margin-left: 16px; /* Adjust spacing between link and paragraph */
}

.footer a:hover {
text-decoration: underline;
}


.topmenu-button {
position: absolute;
}
Expand Down Expand Up @@ -232,6 +256,7 @@ link[rel="icon"] {
.footer p {
padding-top: 22px;
font-size: 0.8rem;
margin-bottom: 22px;
}
}

Expand Down
34 changes: 29 additions & 5 deletions css/styles-search.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,43 @@ link[rel="icon"] {
}

.footer {
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
/* position: relative; */ /* Remove this line */
position: relative;
color: #7b7b7b;
margin-top: -64px;
/* negative value of footer height */
margin-top: -64px; /* negative value of footer height */
height: 64px;
clear: both;
background-color: #e6e6e6;
}

.left-content {
flex: 1; /* Allow the left content to grow and take available space */
text-align: left;
padding-left: 16px; /* Adjust spacing between the left edge and the link */
}

.right-content {
flex: 1; /* Allow the right content to grow and take available space */
text-align: right;
padding-right: 32px; /* Adjust padding on the right side of the paragraph */
}

.footer p {
padding-top: 22px;
font-size: 0.8rem;
font-size: 0.8rem;
margin: 0;
margin-bottom: 0px;
}

.footer a {
font-size: 0.8rem;
margin-left: 16px; /* Adjust spacing between link and paragraph */
}

.footer a:hover {
text-decoration: underline;
}

.topmenu-button {
Expand Down Expand Up @@ -232,6 +255,7 @@ link[rel="icon"] {
.footer p {
padding-top: 22px;
font-size: 0.8rem;
margin-bottom: 22px;
}
}

Expand Down
Binary file added img/src/voyage-banner.psd
Binary file not shown.
Binary file added img/voyage-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,13 @@ <h1>Voyage</h1>

</div>

<footer class="footer">
<footer class="footer">
<div class="left-content">
<a href="https://github.com/Bonnie39/voyage" target="_blank">Source Code</a>
</div>
<div class="right-content">
<p>© BonnieDev 2023</p>
</div>
</footer>

<script src="/js/index.js"></script>
Expand Down
7 changes: 6 additions & 1 deletion search/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,13 @@ <h3>Update API Information</h3>

</div>

<footer class="footer">
<footer class="footer">
<div class="left-content">
<a href="https://github.com/Bonnie39/voyage" target="_blank">Source Code</a>
</div>
<div class="right-content">
<p>© BonnieDev 2023</p>
</div>
</footer>

<script src="/js/index.js"></script>
Expand Down

0 comments on commit 8287f32

Please sign in to comment.