Skip to content

Commit

Permalink
Fix the corners of the page navigation buttons of the latest/oldest post
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Mar 4, 2021
1 parent 693d3d8 commit cae9534
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions _sass/layout/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,53 +66,57 @@
@include btn-post-nav;

color: var(--link-color);

&:hover {
background: #2a408e;
color: #fff;
border-color: #2a408e;
}

&.disabled {
@include btn-post-nav;

pointer-events: auto;
cursor: not-allowed;
background: none;
color: gray;

&:hover {
border-color: none;
}
}

&.btn-outline-primary.disabled:focus {
box-shadow: none;
}

&::before {
color: var(--text-muted-color);
font-size: 0.65rem;
text-transform: uppercase;
content: attr(prompt);
}
}

p {
font-size: 1.1rem;
line-height: 1.5rem;
margin-top: 0.3rem;
white-space: normal;
}

a {
&:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
left: 0.5px;
}

&:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
right: 0.5px;
}
}

p {
font-size: 1.1rem;
line-height: 1.5rem;
margin-top: 0.3rem;
white-space: normal;
}

} // .post-navigation

@keyframes fade-up {
Expand Down

0 comments on commit cae9534

Please sign in to comment.