mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
a11y fix heading levels
This commit is contained in:
1 parent
96ee6c86ff
commit
36db0524e4
4 files changed
+21
-11
No files matched your search
@@ -34,7 +34,10 @@
|
||||
padding: 6px 12px 6px 28px;
|
||||
}
|
||||
|
||||
.tidelift-link:hover, .tidelift-link-inline:hover {
|
||||
.tidelift-link:focus,
|
||||
.tidelift-link-inline:focus,
|
||||
.tidelift-link:hover,
|
||||
.tidelift-link-inline:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -493,3 +496,10 @@ body {
|
||||
outline: 1px auto Highlight;
|
||||
outline: 1px auto -webkit-focus-ring-color;
|
||||
}
|
||||
|
||||
.bs-callout.bs-callout-danger h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
text-align: start;
|
||||
font-size: 17px;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<#macro feature title href>
|
||||
<div class="bs-callout bs-callout-danger">
|
||||
<h4><a href="${href}"><code>${title}</code></a></h4>
|
||||
<h2><a href="${href}"><code>${title}</code></a></h2>
|
||||
<p><#nested></p>
|
||||
</div>
|
||||
</#macro>
|
||||
@@ -75,7 +75,7 @@ ga('send', 'pageview');
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a href="/" class="navbar-brand">Project Lombok</a>
|
||||
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
|
||||
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main" aria-label="Open Menu">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
<#macro overview>
|
||||
<div class="row">
|
||||
<@main.h3 title="Overview" />
|
||||
<@main.h2 title="Overview" />
|
||||
<#nested>
|
||||
</div>
|
||||
</#macro>
|
||||
|
||||
<#macro experimental>
|
||||
<div class="row">
|
||||
<@main.h3 title="Experimental" />
|
||||
<@main.h2 title="Experimental" />
|
||||
|
||||
Experimental because:
|
||||
<#nested>
|
||||
@@ -31,13 +31,13 @@
|
||||
<#macro snippets name>
|
||||
<div class="row container-fluid">
|
||||
<div class="snippet-col first-snippet">
|
||||
<@main.h3 title="With Lombok" />
|
||||
<@main.h2 title="With Lombok" />
|
||||
|
||||
<div class="snippet">${usages.pre(name)?no_esc}</div>
|
||||
</div>
|
||||
<div class="sep"></div>
|
||||
<div class="snippet-col second-snippet">
|
||||
<@main.h3 title="Vanilla Java" />
|
||||
<@main.h2 title="Vanilla Java" />
|
||||
|
||||
<div class="snippet">${usages.post(name)?no_esc}</div>
|
||||
</div>
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
<#macro confKeys>
|
||||
<div class="row">
|
||||
<@main.h3 title="Supported configuration keys:" />
|
||||
<@main.h2 title="Supported configuration keys:" />
|
||||
<dl>
|
||||
<#nested>
|
||||
</dl>
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
<#macro smallPrint>
|
||||
<div class="row">
|
||||
<@main.h3 title="Small print" />
|
||||
<@main.h2 title="Small print" />
|
||||
|
||||
<div class="smallprint">
|
||||
<#nested>
|
||||
@@ -71,7 +71,7 @@
|
||||
<div class="header-group">
|
||||
<@main.h1 title="${title}" />
|
||||
|
||||
<@main.h3 title="${logline?no_esc}" />
|
||||
<@main.h2 title="${logline?no_esc}" />
|
||||
</div>
|
||||
</div>
|
||||
<#nested>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<#macro section title>
|
||||
<div class="row">
|
||||
<@main.h3 title="${title}" />
|
||||
<@main.h2 title="${title}" />
|
||||
|
||||
<#nested>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user