add sr-only class, change to new tag line
This commit is contained in:
parent
62e436e6b7
commit
b6f8b486c7
11 changed files with 48 additions and 957 deletions
922
public/css/gogs.min.css
vendored
922
public/css/gogs.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
|
@ -1,6 +1,6 @@
|
|||
@footer-margin: 40px;
|
||||
@footer-margin: 40px;
|
||||
|
||||
body {
|
||||
body {
|
||||
font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
@ -69,4 +69,25 @@ footer {
|
|||
height: (2px * @i);
|
||||
}
|
||||
.generate-img(@n, (@i + 1));
|
||||
}
|
||||
|
||||
// Accessibility
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
.sr-only-focusable:active,
|
||||
.sr-only-focusable:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue