css fix for keyboard navigatin
light base css update (border + padding) in order to improve keyboard navigation behaviour (article doesn't move when selected).
This commit is contained in:
parent
1db5e12469
commit
c2a1a1101c
@ -35,7 +35,7 @@ a:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #333;
|
color: #333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -365,7 +365,10 @@ nav .active a {
|
|||||||
|
|
||||||
/* items listing */
|
/* items listing */
|
||||||
.items article {
|
.items article {
|
||||||
|
border: 1px dotted #ddd;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
padding: 5px;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items h2 {
|
.items h2 {
|
||||||
@ -395,18 +398,16 @@ nav .active a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.items .preview {
|
.items .preview {
|
||||||
color: #555;
|
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.items #current-item {
|
.items #current-item {
|
||||||
border: 2px dashed #d14;
|
border: 3px solid #bce;
|
||||||
padding: 5px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* item */
|
/* item */
|
||||||
.item {
|
.item {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
Loading…
Reference in New Issue
Block a user