mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: remove FF compat warnings
This commit is contained in:
parent
3b587c5a9b
commit
e95386a556
2 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue