Skip to content

Commit

Permalink
Added Some: CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
“Akhilesh committed Jan 21, 2024
1 parent e2891a2 commit 1aaaa25
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 1 deletion.
59 changes: 59 additions & 0 deletions public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -621,12 +621,46 @@ body {
}


#github-logo{
position: fixed;
top: 0;
/* background-color: #ffffff; */
right: 0;
z-index: 5;

transition-duration: 0.2s;
transition-property: transform;
}

#github-logo:hover{
cursor: pointer;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}

#github-logo-background{
position: fixed;
top: 0;
right: 0;
margin-right: -110px;
transform: rotate(45deg);
height: 90px;
width: 250px;
box-shadow: rgb(0, 0, 0) 0px 6px 12px -2px, rgb(255, 64, 64) 0px 3px 7px -3px;
background-color: #9effdb;
transition: 1s;
}


#github-logo img{
height: 3.5rem;
width: 3.5rem;
padding: 0.4rem;
}

#github-logo:hover + #github-logo-background{
background-color: #ffb700;
}



Expand Down Expand Up @@ -671,4 +705,29 @@ body {
.text32323{
font: 500;
font-size: 2rem;
}

.info-mark{

font: 200;
font-size: 1rem;
bottom: 5vh;
position: fixed;
display: block;
color: #00a76a;

font-family: 'Arvo', serif;


}

.info-mark a{
font-weight: bold;
color: #23ffae;
font-weight: 400;
text-decoration: none;
}

.info-mark a:hover{
text-decoration: underline;
}
15 changes: 14 additions & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@
</head>

<body>


<!-- GITHUB LOGO -->
<div id="github-logo">
<a href="https://github.com/akhilsharmaa/Rocket-Typing-Multiplayer-Game">
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c2/GitHub_Invertocat_Logo.svg" alt="Github REPO">
</a>
</div>

<div id="github-logo-background">
</div>


<div class="info-mark">Made with <span class="heart">💚</span> by <a class="link" href="https://www.linkedin.com/in/aakhilsharma/">Akhilesh</a></div>

<div class="circle">
<div id="countdown">00</div>
<div id="countdownleft">SEC</div>
Expand Down

0 comments on commit 1aaaa25

Please sign in to comment.