1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-23 15:04:26 -04:00

stop being lazy with css selectors

This commit is contained in:
2022-01-30 11:38:37 -05:00
parent 9f34cec930
commit f0259dbab5
24 changed files with 498 additions and 471 deletions

View File

@@ -1,6 +1,6 @@
.card {
width: 100%;
padding: 1.2em 1.2em 0.8em;
padding: 1.2em 1.2em 0.8em 1.2em;
border: 1px solid;
border-radius: var(--rounded-edge-radius);
font-size: 0.85em;
@@ -16,7 +16,8 @@
}
.description {
margin: 0.7em 0 0.5em;
margin-top: 0.7em;
margin-bottom: 0.5em;
line-height: 1.7;
}
@@ -33,12 +34,12 @@
color: var(--medium);
}
.meta_item a {
color: inherit !important;
.meta_link {
color: inherit;
}
.meta_item a:hover {
color: var(--link) !important;
.meta_link:hover {
color: var(--link);
}
.octicon,

View File

@@ -29,6 +29,7 @@ const RepositoryCard = ({ name, url, description, language, stars, forks, update
{stars > 0 && (
<div className={styles.meta_item}>
<a
className={styles.meta_link}
href={`${url}/stargazers`}
title={`${stars.toLocaleString("en-US")} ${stars === 1 ? "star" : "stars"}`}
target="_blank"
@@ -43,6 +44,7 @@ const RepositoryCard = ({ name, url, description, language, stars, forks, update
{forks > 0 && (
<div className={styles.meta_item}>
<a
className={styles.meta_link}
href={`${url}/network/members`}
title={`${forks.toLocaleString("en-US")} ${forks === 1 ? "fork" : "forks"}`}
target="_blank"