Skip to content

Commit

Permalink
Fix padding on hover, and remove obsolete styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Nov 22, 2023
1 parent 6104433 commit 4545e49
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ select, button {
color: white;
}

:link, :visited,
.link, .btn-link {
:link, :visited, .link {
color: #004daa;
}
.dark :link, .dark :visited,
.dark .link, .dark .btn-link {
.dark :link, .dark :visited, .dark .link {
color: #2177de;
}
.track:visited, .ptitle:visited, .pnum:visited {
Expand Down Expand Up @@ -405,13 +403,11 @@ td.vbar {
a.qh, a.noq, a.noq:hover, a.q, a.qo, a.btn, a.btn:hover,
.is-error a, .is-warning a, .is-success a, .is-note a,
.is-warning-note a, .is-urgent-note a,
.btn-qlink, .btn-qolink, .btn-ulink,
button.q, button.qo {
color: inherit;
}
a:hover,
a.track:hover, a.ptitle:hover, a.pnum:hover,
.btn-link:hover, .btn-qlink:hover, .btn-qolink:hover,
button.link:hover, button.q:hover, button.qo:hover,
.js-click-child:hover a.hover-child,
a:hover .pavfn {
Expand All @@ -422,7 +418,6 @@ a:hover .pavfn {
a:active,
a.noq:active,
a.track:active, a.ptitle:active, a.pnum:active,
.btn-link:active, .btn-qlink:active, .btn-qolink:active,
button.link:active, button.q:active, button.qo:active,
a.attention {
color: red;
Expand All @@ -439,7 +434,7 @@ u.x {
text-decoration: inherit;
}
.ul,
a.ulh:hover, a.q:hover, .btn-link, .btn-qlink:hover,
a.ulh:hover, a.q:hover,
button.link, button.q:hover,
.papmode.active:hover > a, .leftmenu-item:hover > a,
div.js-foldup:hover a.js-foldup,
Expand Down Expand Up @@ -1506,17 +1501,18 @@ button.disabled, button.disabled:hover {
background: rgba(222, 222, 222, 0.5);
cursor: default;
}
.btn-link, .btn-qlink, .btn-qolink,
button.link, button.q, button.qo,
.btn-link:hover, .btn-qlink:hover, .btn-qolink:hover,
button.link:hover, button.q:hover, button.qo:hover {
button.link, button.q, button.qo {
font-weight: inherit;
font-style: inherit;
padding: 0;
border-style: none;
background: initial;
cursor: pointer;
}
button.link:hover, button.q:hover, button.qo:hover {
background: initial;
cursor: pointer;
}
button.link:disabled, button.q:disabled, button.qo:disabled,
button.link:disabled:hover, button.q:disabled:hover, button.qo:disabled:hover,
button.disabled, button.disabled:hover {
Expand Down Expand Up @@ -2237,7 +2233,7 @@ input.wide {
right: 10px;
left: auto;
}
.dropmenu a, .dropmenu .btn-link, .dropmenu .link {
.dropmenu a, .dropmenu .link {
color: inherit !important;
text-decoration: none;
}
Expand Down

0 comments on commit 4545e49

Please sign in to comment.