mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add sr-only class, change to new tag line
This commit is contained in:
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;
|
||||
}
|
Reference in New Issue
Block a user