mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +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,
|
||||
input[type="submit"] {
|
||||
cursor: pointer;
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
border: inherit; }
|
||||
|
|
|
@ -786,6 +786,8 @@ div.highlight > div td{
|
|||
}
|
||||
/* disable selection for lineno cells */
|
||||
div.highlight > div td:first-child:not(:last-child){
|
||||
-ms-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
/* 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 {
|
||||
/* 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;
|
||||
position: absolute;
|
||||
height: 1px;
|
||||
|
|
Loading…
Reference in a new issue