-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
451d668
commit 0614098
Showing
1 changed file
with
79 additions
and
60 deletions.
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 |
---|---|---|
@@ -1,61 +1,80 @@ | ||
body{ | ||
background:black; | ||
font-family: orbitron , sans-serif; | ||
} | ||
|
||
h1 { | ||
display: flex; | ||
justify-content: center; | ||
position: relative; | ||
top: 14rem; | ||
font-size: 4rem; | ||
font-family: sans-serif; | ||
text-shadow: 0px 0px 3px white; | ||
color: azure; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
justify-content: center; | ||
font-size: 4rem; | ||
position: relative; | ||
top: 16rem; | ||
color: #fff; | ||
text-shadow: 0px 0px 20px rgb(10 , 175 , 230 , 1) , 0px 0px 20px rgb(10 , 175 , 230 , 0); | ||
border: 9px solid rgb(150, 150, 150); | ||
border-radius: 12px; | ||
margin-inline: 450px; | ||
padding: 12px; | ||
} | ||
.container span { | ||
margin: 3px; | ||
} | ||
|
||
#am-Pm { | ||
font-size: 1.5rem; | ||
/* text-align: center; */ | ||
display: flex; | ||
align-items: end; | ||
} | ||
|
||
body { | ||
background: black; | ||
font-family: orbitron, sans-serif; | ||
} | ||
|
||
h1 { | ||
display: flex; | ||
justify-content: center; | ||
position: relative; | ||
top: 4rem; /* Adjusted for responsiveness */ | ||
font-size: 4rem; | ||
font-family: sans-serif; | ||
text-shadow: 0px 0px 3px white; | ||
color: azure; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
justify-content: center; | ||
font-size: 4rem; | ||
position: relative; | ||
top: 6rem; /* Adjusted for responsiveness */ | ||
color: #fff; | ||
text-shadow: 0px 0px 20px rgb(10, 175, 230, 1), | ||
0px 0px 20px rgb(10, 175, 230, 0); | ||
border: 9px solid rgb(150, 150, 150); | ||
border-radius: 12px; | ||
margin: 0 auto; /* Center the container */ | ||
max-width: 600px; /* Adjusted for responsiveness */ | ||
padding: 12px; | ||
} | ||
|
||
.container span { | ||
margin: 3px; | ||
} | ||
|
||
#am-Pm { | ||
font-size: 1.5rem; | ||
display: flex; | ||
align-items: end; | ||
} | ||
|
||
#date { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
top : 4rem; | ||
text-shadow: 0px 0px 20px rgb(10 , 175 , 230 , 1) , 0px 0px 20px rgb(10 , 175 , 230 , 0); | ||
color:#fff ; | ||
border: 9px solid rgb(150, 150, 150); | ||
border-top-right-radius: 12px; | ||
border-top-left-radius: 12px; | ||
z-index: -1; | ||
margin-inline: 450px; | ||
|
||
} | ||
|
||
#date span{ | ||
padding: 12px; | ||
font-size: 1.8rem; | ||
} | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
top: 2rem; /* Adjusted for responsiveness */ | ||
text-shadow: 0px 0px 20px rgb(10, 175, 230, 1), | ||
0px 0px 20px rgb(10, 175, 230, 0); | ||
color: #fff; | ||
border: 9px solid rgb(150, 150, 150); | ||
border-top-right-radius: 12px; | ||
border-top-left-radius: 12px; | ||
z-index: -1; | ||
margin: 0 auto; /* Center the container */ | ||
max-width: 600px; /* Adjusted for responsiveness */ | ||
} | ||
|
||
#date span { | ||
padding: 12px; | ||
font-size: 1.8rem; | ||
} | ||
|
||
/* Media Query for smaller screens */ | ||
@media screen and (max-width: 768px) { | ||
h1 { | ||
font-size: 3rem; | ||
} | ||
|
||
.container, | ||
#date { | ||
font-size: 2rem; | ||
top: 3rem; | ||
} | ||
|
||
#date span { | ||
font-size: 1.5rem; | ||
} | ||
} |