Skip to content

Commit

Permalink
about2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmeda313 committed Feb 29, 2024
1 parent 79846e8 commit c3345ff
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/Date.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Date(props){
<h1 className="date_title">
{props.day} <sup>{props.subtxt}</sup>
</h1>
<h2 className="month_title">{props.month}</h2>
<h2 className="month_title ">{props.month}</h2>
</div>
)
}
Expand Down
8 changes: 4 additions & 4 deletions src/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.venue{
font-style: normal;
font-weight: 700;
font-size: 5rem;
font-size: 4rem;
}
.title {
/* font-family: var(--title); */
Expand Down Expand Up @@ -82,7 +82,7 @@
font-size: 5rem;
}
.venue{
font-size: 4rem;
font-size: 3rem;
}
.title > span {
font-size: 5rem;
Expand All @@ -96,7 +96,7 @@
font-size: 4rem;
}
.venue{
font-size: 3rem;
font-size: 2.5rem;
}
.title > span {
font-size: 4rem;
Expand All @@ -119,7 +119,7 @@
font-size: 3rem;
}
.venue{
font-size: 2rem;
font-size: 1.7rem;
}
.title > span {
font-size: 3rem;
Expand Down
24 changes: 12 additions & 12 deletions src/styles/Date.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-style: normal;
font-weight: 1500;
font-size: 7rem;
font-size: 6rem;
text-shadow: -1.5px -1.5px 0 var(--black), 1.5px -1.5px 0 var(--black),
-1.5px 1.5px 0 var(--black), 1.5px 1.5px 0 var(--black);
color: #ffefe2;
margin-bottom: 0.5rem; /* Add margin bottom to separate from the sup element */
/* margin-bottom: 0.5rem; Add margin bottom to separate from the sup element */
}

.date_title > sup {
font-weight: 500;
font-size: 3rem;
font-size: 2.5rem;
vertical-align: super;
margin-left: -5%;
text-shadow: none;
Expand All @@ -27,35 +27,35 @@
.month_title {
/* font-family: var(--subtext); */
margin-top: -5%;
font-size: 4rem;
font-size: 3rem;
font-weight: 500;
color: #fff; /* Change color to white */
}


@media screen and (max-width: 1050px) {
.date_title {
font-size: 5rem;
color: #fff3e9;
font-size: 4.5rem;
/* color: #fff3e9; */
}
.month_title {
font-size: 3rem;
font-size: 2.5rem;
}
.date_title > sup {
font-size: 3rem;
font-size: 2rem;
}

}
@media screen and (max-width: 800px) {
.date_title {
font-size: 4.5rem;
font-size: 4rem;
color: #fff3e9;
}
.month_title {
font-size: 2.5rem;
font-size: 2rem;
}
.date_title > sup {
font-size: 2.5rem;
font-size: 1.7rem;
}
}

Expand All @@ -74,7 +74,7 @@

@media screen and (max-width: 290px) {
.date_title {
font-size: 1.5rem;
font-size: 2rem;
}
.date_title > sup {
font-size: 1rem;
Expand Down

0 comments on commit c3345ff

Please sign in to comment.