Added LinkCard

LinkCard is the component that deals with links on the homepage.
This commit is contained in:
Louis Hollingworth 2022-05-21 22:10:00 +01:00
parent ca7034738b
commit b230abc48b
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
4 changed files with 49 additions and 26 deletions

View file

@ -77,30 +77,6 @@
margin-top: 3rem;
}
.card {
margin: 1rem;
padding: 1.5rem;
text-align: left;
color: inherit;
text-decoration: none;
border: 1px solid #eaeaea;
border-radius: 10px;
transition: color 0.15s ease, border-color 0.15s ease;
width: 45%;
}
.card:link,
.card:visited {
color: #eaeaea
}
.card:hover,
.card:focus,
.card:active {
color: #0070f3 !important;
border-color: #0070f3;
}
.card h2 {
margin: 0 0 1rem 0;
font-size: 1.5rem;