Skip to content

Commit

Permalink
Minor bug fixes, updated content and styles for text highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinTrinh1227 committed Dec 7, 2023
1 parent a9ce96b commit a9aff05
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/WorkExperience.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const WorkExperience = () => {
};

return (
<Fade>
<Fade triggerOnce={true}>
<section className="Experience-section">
<div className="container">
<div className="row">
Expand All @@ -75,7 +75,7 @@ const WorkExperience = () => {

<div className="col-sm-12">
<div className="wrapper">
<Fade cascade damping={0.1} triggerOnce={true}>
<Fade triggerOnce={true}>
<ul className="indicator">
{experienceItems.map((job, index) => (
<li
Expand All @@ -98,7 +98,7 @@ const WorkExperience = () => {
{experienceItems[activeJobIndex].start_date} -{" "}
{experienceItems[activeJobIndex].end_date}
</h4>
<Fade cascade damping={0.1} triggerOnce={true}>
<Fade damping={0.1} triggerOnce={true}>
<ul>
{experienceItems[activeJobIndex].description.map(
(paragraph, paraIndex) => (
Expand Down
2 changes: 1 addition & 1 deletion src/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Node.js",
"HTML & CSS",
"Python 3",
"Ubuntu LTS & Git"
"Linux OS & Git"
]
},
"academics": {
Expand Down
11 changes: 11 additions & 0 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
--font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

/* This is for text highlight for multiple browsers */
::-moz-selection {
background: var(--light-navy);
}
::-webkit-selection {
background: var(--light-navy);
}
::selection {
background: var(--light-navy);
}

body {
background: var(--dark-navy);
color: var(--white);
Expand Down

0 comments on commit a9aff05

Please sign in to comment.