diff options
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 2fdcc18692..5f22bc3236 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -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; }
\ No newline at end of file |