Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some styles #75

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions src/cards/ronisCard/roniCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ import Roni from './roni-headshot.png';

function ExampleCard() {
return (
<div className="cardContainer">
<div className="cardContainer roni-container">

<div className="card">
<img className="imageContainer" src={Roni} alt="example headshot of a woman" />
<img className="imageContainer roniImg" src={Roni} alt="example headshot of a woman" />
</div>

<div className="card">
<div className="card roni-card">
<h3>Roni Lockwood</h3>
<p>Front-End Developer</p>
<a href="mailto:[email protected]">Email</a> <br />
<a href="roni.rocks" target="_blank">Portfolio Site</a> <br />
<a href="github.com/OlliesWorld" target="_blank">Github</a>
<a href="mailto:[email protected]" className="email">[email protected]</a>
<div className="links">
<a href="github.com/OlliesWorld" target="_blank">Github</a>
<a href="roni.rocks" target="_blank">Portfolio</a>
</div>
</div>

</div>
Expand Down
47 changes: 46 additions & 1 deletion src/cards/ronisCard/roniCard.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.cardContainer{
display: grid;
grid-template-columns: 1fr 1fr;
Expand All @@ -22,3 +21,49 @@
margin: auto;
border-radius: 50%;
}

.roni-container {
background: #006675;
// background: linear-gradient(65deg, rgba(96,17,191,1) 0%, rgba(70,130,180,1) 45%, rgba(255,166,0,1) 100%);
}

.roniImg {
width: 150px;
height: 150px;
}

.roni-card {
color:#334553;
background-color: hsl(75 25 97);
padding: .5rem;
margin: 0 .5rem;
}
.roni-card h3 {
text-decoration: underline rgb(167, 138, 0);
margin-bottom: .5rem;
}

.email {

color:#334553;
}
.roni-card p {
margin:0;

}
.links a {
background-color: #006675;
color: white;
padding: .5rem;
display: inline-flex;
margin: 1rem .5rem;
border-radius: 10%;
box-shadow: 3px 5px 10px grey;
transition: background-color 300ms ease-in-out;
}
.links a:hover,
.links a:focus {
background-color: rgb(167, 138, 0);
color:#006675;
font-size: 1.5rem;
}