Skip to content

Commit

Permalink
Style: updated bar colors
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBoyRoy05 committed Oct 28, 2024
1 parent 0ab4886 commit 841372f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 334 deletions.
13 changes: 10 additions & 3 deletions src/Components/InfoCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import Card from "./Card";

const InfoCards: FC = () => {
const { sort, stats, elapsedTime } = useSortContext();
const miniCard = "w-full bg-slate-700 rounded-lg p-4 text-center text-white border border-slate-500";
const miniCard =
"w-full bg-slate-700 rounded-lg p-4 text-center text-white border border-slate-500";

return (
<div className="flex gap-4 px-6">
Expand All @@ -32,7 +33,9 @@ const InfoCards: FC = () => {
<div className={miniCard}>
<p className="">
{"Read more about "}
<a href={sortInfo[sort].link} className="underline">{capitalize(sort) + " Sort"}</a>
<a href={sortInfo[sort].link} target="_blank" className="underline">
{capitalize(sort) + " Sort"}
</a>
</p>
</div>
</Card>
Expand Down Expand Up @@ -69,7 +72,11 @@ const InfoCards: FC = () => {
<div className={miniCard}>
<p className="read-more">
{"Read more about "}
<a href={"https://www.programiz.com/dsa/asymptotic-notations"} className="underline">
<a
href={"https://www.programiz.com/dsa/asymptotic-notations"}
target="_blank"
className="underline"
>
{"Asymptotic Notation"}
</a>
</p>
Expand Down
39 changes: 0 additions & 39 deletions src/Styles/dashboard.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/Styles/display.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}

.bar-sorting {
background-color: rgb(226, 111, 230);
background-color: rgb(130, 58, 224);
}

.bar-sorted {
Expand Down
83 changes: 0 additions & 83 deletions src/Styles/dropdown.css

This file was deleted.

69 changes: 0 additions & 69 deletions src/Styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,72 +9,3 @@
.flex-2 {
flex: 2 1 0;
}

/* :root {
--dash-bg: #3c6683;
--teal: #1cbc9c;
}
body {
padding: 0;
margin: 0;
background-color: rgb(209, 238, 236);
-ms-overflow-style: none;
scrollbar-width: none;
}
::-webkit-scrollbar {
display: none;
}
.btn:hover {
cursor: pointer;
}
@media (max-width: 1690px) {
.board {
flex-wrap: wrap;
margin: 0 calc(50vw - 380px);
}
.display {
margin: 0;
}
.arraysize {
order: 6;
}
.sortspeed {
order: 7;
}
}
@media (max-width: 1200px) {
.title {
position: relative;
margin: 0 10px 15px 0;
}
.dashboard {
flex-direction: column;
}
}
@media (max-width: 735px) {
.generate {
order: 3;
}
.sortoptions {
order: 4;
}
.settings {
order: 5;
}
.board {
width: 65%;
}
} */
118 changes: 0 additions & 118 deletions src/Styles/infoCards.css

This file was deleted.

21 changes: 0 additions & 21 deletions src/Styles/slider.css

This file was deleted.

0 comments on commit 841372f

Please sign in to comment.