Skip to content

Commit

Permalink
css changes for text
Browse files Browse the repository at this point in the history
  • Loading branch information
smonadjemi committed Dec 12, 2024
1 parent 250b0cd commit 312dd8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _includes/card.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% capture url %}{% if include.global_url %}{{ include.button_url }}{% else %}{{ include.button_url | relative_url }}{% endif %}{% endcapture %}
<div class="card text-secondary">
<h3 class="heading--base text-secondary">{{ include.title }}</h3>
<div class="card">
<h3 class="heading--base">{{ include.title }}</h3>
<p>{{ include.description }}</p>
<div class="mt-auto">
<a href="{{ url }}" class="button button-inverse mt-4">{{ include.button_text }}</a>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.button:hover {
/* @apply bg-primary-800; */
@apply bg-primary-700;
}

.button-secondary {
Expand All @@ -38,7 +38,7 @@
}

.button-inverse:hover {
@apply bg-primary-100;
@apply bg-primary-200;
}

.button+.button {
Expand Down
4 changes: 2 additions & 2 deletions src/styles/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
@apply mb-4 p-6;
@apply border border-primary-700 rounded;
@apply bg-white;
@apply text-primary;
@apply text-secondary;
}

.card::after {
content: '';
right: calc(100% - 0.5rem);
height: 100%;
@apply absolute top-0;
@apply border-r border-primary;
@apply border-r border-primary-500;
}

@screen md {
Expand Down

0 comments on commit 312dd8a

Please sign in to comment.