mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-06-16 12:45:01 +02:00
V2.0.1! Added a version number on the bottom right and a future way to add a logo. Also changed version scheme
This commit is contained in:
parent
91e2fa270a
commit
b28d9a16db
@ -12,6 +12,7 @@
|
|||||||
<body onload = "onload()">
|
<body onload = "onload()">
|
||||||
<div id = "Main">
|
<div id = "Main">
|
||||||
<audio id = "Ding" src = "Ding.mp3"> </audio>
|
<audio id = "Ding" src = "Ding.mp3"> </audio>
|
||||||
|
<!-- <img id = "Logo" src="https://micdropmessages.app/pictures/micdropmessages_logo-circle.png" alt="Logo"> -->
|
||||||
<h1 id = "Title"> MicDropMessages V2 </h1>
|
<h1 id = "Title"> MicDropMessages V2 </h1>
|
||||||
<p>Welcome to MicDropMessages! This small webbased application allows you to chat with your friends anonymously! To start, enter your username and enter a chatroom.</p>
|
<p>Welcome to MicDropMessages! This small webbased application allows you to chat with your friends anonymously! To start, enter your username and enter a chatroom.</p>
|
||||||
<div id = "AccessPort">
|
<div id = "AccessPort">
|
||||||
@ -45,6 +46,7 @@
|
|||||||
<button id="WebsiteButton" onclick=" window.open('http://www.abrendan.dev','_blank')" class="button">abrendan.dev</button>
|
<button id="WebsiteButton" onclick=" window.open('http://www.abrendan.dev','_blank')" class="button">abrendan.dev</button>
|
||||||
</div>
|
</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
<p class="version-number">V2.0.1</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
BIN
html/pictures/micdropmessages_logo-circle.png
Normal file
BIN
html/pictures/micdropmessages_logo-circle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 448 KiB |
@ -27,6 +27,9 @@ input{
|
|||||||
.Message{
|
.Message{
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
#Logo{
|
||||||
|
height: 80px;
|
||||||
|
}
|
||||||
#Main{
|
#Main{
|
||||||
min-height: 94.5vh; /* Stretch to fill the viewport height */
|
min-height: 94.5vh; /* Stretch to fill the viewport height */
|
||||||
width: 50%;
|
width: 50%;
|
||||||
@ -38,6 +41,7 @@ input{
|
|||||||
display: flex; /* Adding flex properties to layout contents */
|
display: flex; /* Adding flex properties to layout contents */
|
||||||
flex-direction: column; /* Stack children elements vertically */
|
flex-direction: column; /* Stack children elements vertically */
|
||||||
align-items: center; /* Centering child elements horizontally */
|
align-items: center; /* Centering child elements horizontally */
|
||||||
|
position: relative; /* To position the version number correctly */
|
||||||
}
|
}
|
||||||
#Title{
|
#Title{
|
||||||
font-size: 300%;
|
font-size: 300%;
|
||||||
@ -87,6 +91,9 @@ body.dark-mode .input {
|
|||||||
.dark-mode #Main {
|
.dark-mode #Main {
|
||||||
background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent dark background */
|
background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent dark background */
|
||||||
}
|
}
|
||||||
|
body.dark-mode .version-number {
|
||||||
|
color: #ffffff; /* Dark button background color */
|
||||||
|
}
|
||||||
.input {
|
.input {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
@ -104,6 +111,15 @@ body.dark-mode .input {
|
|||||||
background-color:#000000;
|
background-color:#000000;
|
||||||
color:#ffffff;
|
color:#ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.version-number {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 1px;
|
||||||
|
right: 10px;
|
||||||
|
font-size: 0.75em;
|
||||||
|
color: #000000; /* Assuming light text for visibility against a potentially dark background */
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
label {
|
label {
|
||||||
width: auto; /* Full width on narrow screens */
|
width: auto; /* Full width on narrow screens */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user