mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 21:38:36 +08:00
theme: remove FF compat warnings
This commit is contained in:
parent
3b587c5a9b
commit
e95386a556
@ -255,6 +255,8 @@ select {
|
|||||||
button,
|
button,
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border: inherit; }
|
border: inherit; }
|
||||||
|
@ -786,6 +786,8 @@ div.highlight > div td{
|
|||||||
}
|
}
|
||||||
/* disable selection for lineno cells */
|
/* disable selection for lineno cells */
|
||||||
div.highlight > div td:first-child:not(:last-child){
|
div.highlight > div td:first-child:not(:last-child){
|
||||||
|
-ms-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
/* increase code column to full width if highlight shortcode was used in table lineno mode */
|
/* increase code column to full width if highlight shortcode was used in table lineno mode */
|
||||||
@ -1746,7 +1748,7 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|||||||
|
|
||||||
.a11y-only {
|
.a11y-only {
|
||||||
/* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
|
/* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
|
||||||
clip: rect(1px,1px,1px,1px);
|
clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user