From 4aed0c33d525f2c794bd9ad0f18da8d19e3bb132 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 18 Sep 2020 21:14:30 +0300 Subject: [PATCH] HTML validation fixes * fix invalid `for` attributes * fix invalid `p` tags * fix empty `name` attribute * fix duplicate ID * fix deprecated HTML attributes * fix missing `alt` attributes --- docs/2/css/bootswatch.css | 5 +++++ docs/2/index.html | 4 ++-- docs/3/assets/css/custom.min.css | 2 +- docs/3/assets/less/custom.less | 5 +++++ docs/3/help/index.html | 4 ++-- docs/3/index.html | 6 +++--- docs/3/tests/components.html | 6 +++--- docs/_assets/css/custom.min.css | 2 +- docs/_assets/scss/custom.scss | 1 + docs/cerulean/index.html | 4 ++-- docs/cosmo/index.html | 4 ++-- docs/cyborg/index.html | 4 ++-- docs/darkly/index.html | 4 ++-- docs/default/index.html | 4 ++-- docs/flatly/index.html | 4 ++-- docs/help/index.html | 2 -- docs/journal/index.html | 4 ++-- docs/litera/index.html | 4 ++-- docs/lumen/index.html | 4 ++-- docs/lux/index.html | 4 ++-- docs/materia/index.html | 4 ++-- docs/minty/index.html | 4 ++-- docs/pulse/index.html | 4 ++-- docs/sandstone/index.html | 4 ++-- docs/simplex/index.html | 4 ++-- docs/sketchy/index.html | 4 ++-- docs/slate/index.html | 4 ++-- docs/solar/index.html | 4 ++-- docs/spacelab/index.html | 4 ++-- docs/superhero/index.html | 4 ++-- docs/united/index.html | 4 ++-- docs/yeti/index.html | 4 ++-- 32 files changed, 67 insertions(+), 58 deletions(-) diff --git a/docs/2/css/bootswatch.css b/docs/2/css/bootswatch.css index 649aea7b7..032f43511 100644 --- a/docs/2/css/bootswatch.css +++ b/docs/2/css/bootswatch.css @@ -25,6 +25,11 @@ section { margin-bottom: 15px; } +iframe { + overflow: hidden; + border: none; +} + #social { display: inline-block; margin-top: 45px; diff --git a/docs/2/index.html b/docs/2/index.html index 368cb4078..6e7f89949 100644 --- a/docs/2/index.html +++ b/docs/2/index.html @@ -90,8 +90,8 @@

Bootswatch

- - + + diff --git a/docs/3/assets/css/custom.min.css b/docs/3/assets/css/custom.min.css index f07b35c27..3bb042c29 100644 --- a/docs/3/assets/css/custom.min.css +++ b/docs/3/assets/css/custom.min.css @@ -1 +1 @@ -body{padding-top:50px}body>.navbar{-webkit-transition:background-color .3s ease-in;transition:background-color .3s ease-in}@media (min-width:768px){body>.navbar-transparent{background-color:transparent}body>.navbar-transparent .navbar-nav>.open>a{background-color:transparent!important}}#home{padding-top:0}#home .navbar-brand{padding:13.5px 15px 12.5px}#home .navbar-brand>img{display:inline;margin:0 10px;height:100%}#banner{min-height:300px;border-bottom:none}.table-of-contents{margin-top:1em}.page-header h1{font-size:4em}.bs-docs-section{margin-top:6em}.bs-docs-section h1{padding-top:100px}.bs-component{position:relative}.bs-component .modal{position:relative;top:auto;right:auto;left:auto;bottom:auto;z-index:1;display:block}.bs-component .modal-dialog{width:90%}.bs-component .popover{position:relative;display:inline-block;width:220px;margin:20px}#source-button{position:absolute;top:0;right:0;z-index:100;font-weight:700}.nav-tabs{margin-bottom:15px}.progress{margin-bottom:10px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{padding:9em 0 2em;background-color:#141d27;background-image:url(../img/bg.jpg);background-size:cover;background-attachment:fixed;color:#fff;text-align:center}.splash .logo{width:160px}.splash h1{font-size:3em}.splash #social{margin:2em 0}.splash .alert{margin:2em 0}.section-tout{padding:4em 0 3em;border-bottom:1px solid rgba(0,0,0,.05);background-color:#eaf1f1}.section-tout .fa{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#eaf1f1}.section-preview .preview .image{position:relative}.section-preview .preview .image:before{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}.section-preview .preview .options{padding:1em 2em 2em;border:1px solid rgba(0,0,0,.05);border-top:none;text-align:center}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media (max-width:767px){.section-preview .image img{width:100%}}.sponsor #carbonads{max-width:240px;margin:0 auto}.sponsor .carbon-text{display:block;margin-top:1em;font-size:12px}.sponsor .carbon-poweredby{float:right;margin-top:1em;font-size:10px}@media (max-width:767px){.splash{padding-top:4em}.splash .logo{width:100px}.splash h1{font-size:2em}#banner{margin-bottom:2em;text-align:center}} \ No newline at end of file +body{padding-top:50px}body>.navbar{-webkit-transition:background-color .3s ease-in;transition:background-color .3s ease-in}iframe{overflow:hidden;border:none}@media (min-width:768px){body>.navbar-transparent{background-color:transparent}body>.navbar-transparent .navbar-nav>.open>a{background-color:transparent!important}}#home{padding-top:0}#home .navbar-brand{padding:13.5px 15px 12.5px}#home .navbar-brand>img{display:inline;margin:0 10px;height:100%}#banner{min-height:300px;border-bottom:none}.table-of-contents{margin-top:1em}.page-header h1{font-size:4em}.bs-docs-section{margin-top:6em}.bs-docs-section h1{padding-top:100px}.bs-component{position:relative}.bs-component .modal{position:relative;top:auto;right:auto;left:auto;bottom:auto;z-index:1;display:block}.bs-component .modal-dialog{width:90%}.bs-component .popover{position:relative;display:inline-block;width:220px;margin:20px}#source-button{position:absolute;top:0;right:0;z-index:100;font-weight:700}.nav-tabs{margin-bottom:15px}.progress{margin-bottom:10px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{padding:9em 0 2em;background-color:#141d27;background-image:url(../img/bg.jpg);background-size:cover;background-attachment:fixed;color:#fff;text-align:center}.splash .logo{width:160px}.splash h1{font-size:3em}.splash #social{margin:2em 0}.splash .alert{margin:2em 0}.section-tout{padding:4em 0 3em;border-bottom:1px solid rgba(0,0,0,.05);background-color:#eaf1f1}.section-tout .fa{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#eaf1f1}.section-preview .preview .image{position:relative}.section-preview .preview .image:before{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}.section-preview .preview .options{padding:1em 2em 2em;border:1px solid rgba(0,0,0,.05);border-top:none;text-align:center}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media (max-width:767px){.section-preview .image img{width:100%}}.sponsor #carbonads{max-width:240px;margin:0 auto}.sponsor .carbon-text{display:block;margin-top:1em;font-size:12px}.sponsor .carbon-poweredby{float:right;margin-top:1em;font-size:10px}@media (max-width:767px){.splash{padding-top:4em}.splash .logo{width:100px}.splash h1{font-size:2em}#banner{margin-bottom:2em;text-align:center}} \ No newline at end of file diff --git a/docs/3/assets/less/custom.less b/docs/3/assets/less/custom.less index 1bb21d679..c8b58f715 100644 --- a/docs/3/assets/less/custom.less +++ b/docs/3/assets/less/custom.less @@ -7,6 +7,11 @@ body { } } +iframe { + overflow: hidden; + border: none; +} + @media (min-width: 768px) { body { > .navbar-transparent { diff --git a/docs/3/help/index.html b/docs/3/help/index.html index 02bd0be26..cdb3bc5e0 100644 --- a/docs/3/help/index.html +++ b/docs/3/help/index.html @@ -160,9 +160,9 @@

Tools

Support

Show your support for Bootswatch by buying official gear.

T-shirts based on several themes including Cyborg, Flatly, and Slate are available at Spreadshirt.

-

+

Bootswatch T-shirt

Stickers are available at Sticker Mule.

-

+

Bootswatch Stickers

Donations are also accepted via PayPal.

diff --git a/docs/3/index.html b/docs/3/index.html index ed7af507b..342d3cab6 100644 --- a/docs/3/index.html +++ b/docs/3/index.html @@ -33,7 +33,7 @@
- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/lux/index.html b/docs/lux/index.html index 4c409dd54..de6aaf67e 100644 --- a/docs/lux/index.html +++ b/docs/lux/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/materia/index.html b/docs/materia/index.html index fea35f1e7..1f722ec11 100644 --- a/docs/materia/index.html +++ b/docs/materia/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/minty/index.html b/docs/minty/index.html index 47019b427..d56a1e24e 100644 --- a/docs/minty/index.html +++ b/docs/minty/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/pulse/index.html b/docs/pulse/index.html index 0e7efe976..a6a19d347 100644 --- a/docs/pulse/index.html +++ b/docs/pulse/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/sandstone/index.html b/docs/sandstone/index.html index 96ddd6b36..b96e0b195 100644 --- a/docs/sandstone/index.html +++ b/docs/sandstone/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/simplex/index.html b/docs/simplex/index.html index 69e1c20cb..4c6138502 100644 --- a/docs/simplex/index.html +++ b/docs/simplex/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/sketchy/index.html b/docs/sketchy/index.html index 52a68b4b4..623727a66 100644 --- a/docs/sketchy/index.html +++ b/docs/sketchy/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/slate/index.html b/docs/slate/index.html index 28de0d17d..fbffc1593 100644 --- a/docs/slate/index.html +++ b/docs/slate/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/solar/index.html b/docs/solar/index.html index d01940a78..ae5b0d059 100644 --- a/docs/solar/index.html +++ b/docs/solar/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/spacelab/index.html b/docs/spacelab/index.html index 1d9b45523..7f7e658b0 100644 --- a/docs/spacelab/index.html +++ b/docs/spacelab/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/superhero/index.html b/docs/superhero/index.html index b8dda60fd..e4d14ca2c 100644 --- a/docs/superhero/index.html +++ b/docs/superhero/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/united/index.html b/docs/united/index.html index 0350eb827..a4edad34b 100644 --- a/docs/united/index.html +++ b/docs/united/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
diff --git a/docs/yeti/index.html b/docs/yeti/index.html index 5b7535135..439285fd7 100644 --- a/docs/yeti/index.html +++ b/docs/yeti/index.html @@ -690,13 +690,13 @@

Forms

- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?