8 Commits
V1.5 ... V2.0.1

Author SHA1 Message Date
abrendan
b28d9a16db V2.0.1! Added a version number on the bottom right and a future way to add a logo. Also changed version scheme 2024-01-22 19:44:22 +00:00
Brendan
91e2fa270a Update README.md 2024-01-15 13:20:40 +01:00
abrendan
201546a7f3 Fixed the blur when viewed on webkit 2024-01-15 10:24:33 +00:00
abrendan
1733bb9a00 V2! New background, better mobile UI 2024-01-15 10:14:14 +00:00
abrendan
5ad7ad2ce6 V1.7! Bigger buttons for when viewed on a mobile screen or the android application 2024-01-12 14:28:32 +00:00
abrendan
226f1250da Added privacy statement 2024-01-12 14:11:21 +00:00
abrendan
8f6697b00b Made the buttons center when opened on a phone 2024-01-04 22:22:21 +00:00
abrendan
831834728d Made adjustments to the padding when viewed on a smaller screen 2024-01-04 21:00:40 +00:00
6 changed files with 109 additions and 8 deletions

View File

@@ -2,7 +2,8 @@
MicDropMessages is a basic chat platform using socket.io and JavaScript. Now with a simple dark mode option! MicDropMessages is a basic chat platform using socket.io and JavaScript. Now with a simple dark mode option!
![grafik](https://github.com/abrendan/MicDropMessages/assets/94894839/259fcb85-5a20-44a7-b966-296aecb9e612) ![mdm2](https://github.com/abrendan/MicDropMessages/assets/94894839/e7541c59-6210-4e08-a5a2-c5fdd137e2f7)

View File

@@ -12,7 +12,8 @@
<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>
<h1 id = "Title"> MicDropMessages V1.5 </h1> <!-- <img id = "Logo" src="https://micdropmessages.app/pictures/micdropmessages_logo-circle.png" alt="Logo"> -->
<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">
<label id = "NameLabel"> Username </label> <label id = "NameLabel"> Username </label>
@@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

56
html/privacy.html Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
body{ body{
background-image: url('https://images.unsplash.com/37/IHLjdHdzSvi0rgUMMlSK_TE3_0286.jpg'); /* Path to your example image */ background-image: url('https://micdropmessages.app/pictures/jezael-melgoza-2FiXtdnVhjQ-unsplash.jpg'); /* Path to your example image */
background-size: cover; /* Cover the entire viewport */ background-size: cover; /* Cover the entire viewport */
background-repeat: no-repeat; /* Do not repeat the image */ background-repeat: no-repeat; /* Do not repeat the image */
background-attachment: fixed; /* The background image does not scroll */ background-attachment: fixed; /* The background image does not scroll */
@@ -27,19 +27,23 @@ 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%;
padding: 20px; /* Padding added to the main content area */ padding: 20px; /* Padding added to the main content area */
border-radius: 10px; border-radius: 10px;
backdrop-filter: blur(5px); /* Provide a translucent frosted-glass effect */ backdrop-filter: blur(5px); /* Provide a translucent frosted-glass effect */
-webkit-backdrop-filter: blur(5px);
background-color: rgba(255, 255, 255, 0.2); /* Slightly white transparent background */ background-color: rgba(255, 255, 255, 0.2); /* Slightly white transparent background */
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-family: 'Segoe UI';
font-size: 300%; font-size: 300%;
} }
#LinkButtons{ #LinkButtons{
@@ -72,7 +76,7 @@ input{
/* Add this to your CSS to support dark mode */ /* Add this to your CSS to support dark mode */
body.dark-mode { body.dark-mode {
color: #ffffff; /* Light text color for contrast */ color: #ffffff; /* Light text color for contrast */
backdrop-filter: blur(5px); /* Provide a translucent frosted-glass effect */
background-color: rgba(0, 0, 0, 1); /* Slightly transparent dark background */ background-color: rgba(0, 0, 0, 1); /* Slightly transparent dark background */
} }
body.dark-mode .button { body.dark-mode .button {
@@ -85,7 +89,10 @@ body.dark-mode .input {
color: #ffffff; /* Dark button background color */ color: #ffffff; /* Dark button background color */
} }
.dark-mode #Main { .dark-mode #Main {
background-color: #333; /* Dark background for main content area */ 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;
@@ -104,11 +111,46 @@ body.dark-mode .input {
background-color:#000000; background-color:#000000;
color:#ffffff; color:#ffffff;
} }
@media (max-width: 600px) {
.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) {
label { label {
width: auto; /* Full width on narrow screens */ width: auto; /* Full width on narrow screens */
} }
#Main { #Main {
width: 100%; /* Full width on narrow screens */ width: 100%; /* Full width on narrow screens */
} }
} }
@media (max-width: 650px) {
#Title {
font-size: 150%;
}
#ConnectButton {
display: block;
margin: 0 auto;
padding: 20px 40px; /* Increase the padding to make the button bigger */
font-size: 20px; /* Increase the font-size for better readability on small screens */
}
#WebsiteButton {
display: block;
margin: 0 auto;
}
#LinkButtons {
text-align: center;
}
#SendMessage {
display: block;
margin: 0 auto;
margin-bottom: 20px;
margin-top: 10px;
padding: 20px 40px; /* Increase the padding to make the button bigger */
font-size: 20px; /* Increase the font-size for better readability on small screens */
}
}