Added a button for the GitHub Page and changed the font to Google's Roboto

This commit is contained in:
abrendan 2024-01-01 01:56:07 +00:00
parent 3ff4eedf62
commit da41439428
2 changed files with 12 additions and 4 deletions

View File

@ -4,6 +4,7 @@
<title> MicDropMessages </title>
<meta name = "charset" charset = "utf-8">
<meta name = "viewport" content = "width=device-width">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel = "stylesheet" type = "text/css" href = "style.css">
<script src = "script.js"></script>
<script src= "socket.io/socket.io.js"></script>
@ -11,7 +12,7 @@
<body onload = "onload()">
<div id = "Main">
<audio id = "Ding" src = "Ding.mp3"> </audio>
<h1 id = "Title"> MicDropMessages V1.4 </h1>
<h1 id = "Title"> MicDropMessages V1.5 </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>
<div id = "AccessPort">
<label id = "NameLabel"> Username </label>
@ -37,9 +38,12 @@
<input id = "ComposedMessage" class="input" type = "text">
<input id = "SendMessage" onclick="Send()" value = "Send your message" class="button2" type = "submit">
</div>
<p>Made by abrendan. Visit my website for more of my projects.</p>
<button id="darkModeToggle" onclick="toggleDarkMode()" class="button">Toggle Dark Mode</button>
<button onclick=" window.open('http://www.abrendan.dev','_blank')" class="button">abrendan.dev</button>
<p>Made by abrendan. Visit my website for more of my projects.</p>
<div id="LinkButtons">
<button id="GitHubButton" onclick=" window.open('https://github.com/abrendan/MicDropMessages','_blank')" class="button">GitHub Page for MicDropMessages</button>
<button id="WebsiteButton" onclick=" window.open('http://www.abrendan.dev','_blank')" class="button">abrendan.dev</button>
</div>
<br><br>
</div>
</body>

View File

@ -4,7 +4,7 @@ body{
background-repeat: no-repeat; /* Do not repeat the image */
background-attachment: fixed; /* The background image does not scroll */
color: #000000;
font-family: 'Segoe UI';
font-family: 'Roboto';
display: flex; /* Use flexbox to center content */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
@ -39,8 +39,12 @@ input{
align-items: center; /* Centering child elements horizontally */
}
#Title{
font-family: 'Segoe UI';
font-size: 300%;
}
#LinkButtons{
display: inline-block;
}
.button {
background-color:transparent;
border-radius:28px;