Fix like button hover
This commit is contained in:
parent
b19b3a7666
commit
3261648cb9
|
@ -133,11 +133,6 @@ section > footer > form > button {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
button:focus,
|
||||
button:hover {
|
||||
background-color: var(--fg-light);
|
||||
}
|
||||
|
||||
select,
|
||||
input {
|
||||
background: var(--bg);
|
||||
|
@ -150,6 +145,37 @@ input {
|
|||
border-radius: var(--common-radius);
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: var(--bg);
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
font-size: var(--whole);
|
||||
padding: var(--whole);
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
margin: var(--whole) 0;
|
||||
height: 12rem;
|
||||
border: var(--pico) solid var(--bg-selection);
|
||||
border-radius: var(--common-radius);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
button:focus,
|
||||
input:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: var(--blue);
|
||||
}
|
||||
|
||||
button:focus,
|
||||
button:hover {
|
||||
background-color: var(--fg-light);
|
||||
}
|
||||
|
||||
section > footer > form > button:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
background-color: var(--bg);
|
||||
|
@ -289,28 +315,6 @@ section > header > a > .avatar {
|
|||
margin-right: var(--milli);
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color: var(--bg);
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
font-size: var(--whole);
|
||||
padding: var(--whole);
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
margin: var(--whole) 0;
|
||||
height: 12rem;
|
||||
border: var(--pico) solid var(--bg-selection);
|
||||
border-radius: var(--common-radius);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
button:focus,
|
||||
input:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: var(--blue);
|
||||
}
|
||||
|
||||
section > header > .text > .author {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue