-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from vanisharma2003/issue116
Home contents style updated
- Loading branch information
Showing
2 changed files
with
160 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,85 @@ | |
<title>Physi-c Tech</title> | ||
|
||
<link rel="stylesheet" href="style.css"> | ||
<!-- google fonts link --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Jaro:[email protected]&family=Jersey+20&family=Jersey+25+Charted&family=Micro+5+Charted&family=Salsa&family=Silkscreen:wght@400;700&family=Tac+One&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="icon" href="./atom.png" type="image/png"/> | ||
<style> | ||
.preloader { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: black; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 9999; /* Ensure the preloader is above all other content */ | ||
} | ||
|
||
.circle { | ||
width: 200px; | ||
height: 200px; | ||
background-color: black; | ||
border-radius: 50%; | ||
animation: circleAnimation 2s infinite linear, glowingBorder 2s infinite linear; | ||
box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8); /* Adjusted shadow values */ | ||
} | ||
|
||
.circle:before { | ||
content: ""; | ||
position: absolute; | ||
top: 5px; | ||
left: 5px; | ||
right: 5px; | ||
bottom: 5px; | ||
border-radius: 50%; | ||
border: 3px solid transparent; | ||
border-top-color: hsl(357, 87%, 38%); | ||
animation: circleAnimation 2s infinite linear, glowingBorder 2s infinite linear; | ||
} | ||
|
||
.circle:after { | ||
content: ""; | ||
position: absolute; | ||
top: 15px; | ||
left: 15px; | ||
right: 15px; | ||
bottom: 15px; | ||
border-radius: 50%; | ||
border: 3px solid transparent; | ||
border-top-color: hsl(357, 93%, 49%); | ||
animation: circleAnimation 2s infinite linear, glowingBorder 2s infinite linear; | ||
} | ||
|
||
@keyframes circleAnimation { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@keyframes glowingBorder { | ||
0% { | ||
box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8); /* Adjusted shadow values */ | ||
} | ||
50% { | ||
box-shadow: 0 0 40px 20px rgba(255, 0, 0, 1); /* Adjusted shadow values */ | ||
} | ||
100% { | ||
box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8); /* Adjusted shadow values */ | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="preloader"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" | ||
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" | ||
crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters