Skip to content

Commit 60aab6d

Browse files
authored
navbar style tweaks (#185)
1 parent 278bcde commit 60aab6d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

_includes/assets/css/base.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,27 +174,27 @@ a.post-title {
174174

175175
a.button {
176176
display: inline-block;
177-
height: 5rem;
178-
padding: 0 3rem;
177+
height: 3rem;
178+
padding: 0 1.5rem;
179179
margin-top: 1em;
180180
margin-bottom: 1em;
181181
color: #000;
182-
background-color: #fff;
182+
background-color: rgba(238, 238, 51, 0.6);
183183
align-content: center;
184184
letter-spacing: 0.3rem;
185-
border: 0.1rem solid #000000;
186185
cursor: pointer;
187186
}
188-
a.button:hover {
189-
box-shadow: inset 0 0 0.75em rgba(238, 238, 51, 0.6);
190-
}
187+
191188
a.button-primary {
192189
color: #fff;
193190
background-color: #000;
194191
border-color: #000;
192+
pointer-events: none;
195193
}
194+
196195
a.button-primary:hover {
197196
box-shadow: inset 0 0 0 #000;
197+
cursor: default;
198198
}
199199

200200
a.download-button {

_includes/navbar.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{%- for nav in collections.nav | reverse %}
33
<a
44
{% if nav.url == page.url %}
5-
class="button button-primary pointer-events-none"
5+
class="button button-primary"
66
{% else %}
77
class="button"
88
{% endif %}

0 commit comments

Comments
 (0)