Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Syed-Shayan-01 committed Jan 24, 2024
1 parent 451d668 commit 0614098
Showing 1 changed file with 79 additions and 60 deletions.
139 changes: 79 additions & 60 deletions style.css
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;
}
}

0 comments on commit 0614098

Please sign in to comment.