diff --git a/lib/rules/headers/logo.js b/lib/rules/headers/logo.js index af5275ff1..40e00ba59 100644 --- a/lib/rules/headers/logo.js +++ b/lib/rules/headers/logo.js @@ -12,16 +12,14 @@ export const { name } = self; */ export function check(sr, done) { const logo = sr.jsDocument.querySelector( - "body div.head a[href] > img[src][height='48'][width='72'][alt='W3C']" + "body div.head a[href] > img[src][alt='W3C']" ); if ( !logo || !/^(https:)?\/\/www\.w3\.org\/StyleSheets\/TR\/2021\/logos\/W3C?$/.test( - logo.getAttribute('src') + logo.src ) || - !/^(https:)?\/\/www\.w3\.org\/?$/.test( - logo.parentElement.getAttribute('href') - ) + !/^(https:)?\/\/www\.w3\.org\/?$/.test(logo.parentElement.href) ) { sr.error(self, 'not-found'); } diff --git a/lib/views.js b/lib/views.js index cdb0df4c9..c21fefd42 100644 --- a/lib/views.js +++ b/lib/views.js @@ -14,7 +14,6 @@ const BASE_URI = `${process.env.BASE_URI ? process.env.BASE_URI : ''}/`.replace( const { version } = importJSON('../package.json', import.meta.url); const nav = `
- About · Site map · Github · Help @@ -34,20 +33,6 @@ const serveStraight = function (req, res) { }); }; -/** - * @TODO Document. - */ - -const handleWIP = function (req, res) { - res.render('wip', { - DEBUG, - BASE_URI, - version, - nav, - title: 'coming soon', - }); -}; - /** * @TODO Document. */ @@ -232,9 +217,6 @@ export const setUp = function (app) { app.get('/sitemap', serveStraight); app.get('/help', serveStraight); - // Pending sections: - app.get('/about', handleWIP); - // Catch-all: app.get(/(.*)/, handleWrongPage); }; diff --git a/public/css/specberus.css b/public/css/specberus.css index d042028fa..84c58a62b 100644 --- a/public/css/specberus.css +++ b/public/css/specberus.css @@ -1,6 +1,6 @@ -body { +/* body { padding-top: 70px; -} +} */ .container-fluid { max-width: 1170px; @@ -12,8 +12,12 @@ img.filler { box-shadow: 0 2px 12px #404040; } +.navbar { + min-height: 150px; +} + .navbar img { - height: 40px; + height: 120px; } .navbar .contribute a { @@ -39,6 +43,11 @@ img.filler { 0 -2px 16px #ffffff; } +.navbar-brand { + font-size: 1.5em; + font-weight: bold; +} + #infoLink { display: none; opacity: 1; @@ -54,11 +63,11 @@ img.filler { background-color: #ff8080; } -.navbar-inverse .navbar-brand, +/* .navbar-inverse .navbar-brand, .navbar-inverse .navbar-brand a, .contribute { color: #fff; -} +} */ .contribute { padding: 25px 0 0 0; @@ -68,13 +77,14 @@ img.filler { padding-bottom: 30px; } -header.navbar-inverse { +/* header.navbar-inverse { background: linear-gradient( to bottom, - rgb(7, 62, 128) 0px, - rgb(0, 45, 80) 100% + #FDFDFD 0px, + #EBEBEB 100% ); -} + border: 0; +} */ ul.error, ul.warning, diff --git a/public/img/favicon.ico b/public/img/favicon.ico deleted file mode 100644 index 34dd19bac..000000000 Binary files a/public/img/favicon.ico and /dev/null differ diff --git a/public/img/logo-w3c.svg b/public/img/logo-w3c.svg deleted file mode 100644 index 6174e90e7..000000000 --- a/public/img/logo-w3c.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/public/img/logo.svg b/public/img/logo.svg deleted file mode 100644 index 4fd1bce34..000000000 --- a/public/img/logo.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/test/doc-views/layout/spec.handlebars b/test/doc-views/layout/spec.handlebars index 07c7b8ee4..b6816f5ff 100644 --- a/test/doc-views/layout/spec.handlebars +++ b/test/doc-views/layout/spec.handlebars @@ -28,7 +28,7 @@
diff --git a/test/docs/2021-crd.html b/test/docs/2021-crd.html index 04ecab6fe..4d37a1f5b 100644 --- a/test/docs/2021-crd.html +++ b/test/docs/2021-crd.html @@ -15,8 +15,7 @@
diff --git a/test/docs/2021-cry.html b/test/docs/2021-cry.html index b3c89ac0f..ce3e2f2c8 100644 --- a/test/docs/2021-cry.html +++ b/test/docs/2021-cry.html @@ -611,7 +611,7 @@
diff --git a/test/docs/2021-dnote.html b/test/docs/2021-dnote.html index 28ace956f..cc485cd8e 100644 --- a/test/docs/2021-dnote.html +++ b/test/docs/2021-dnote.html @@ -613,7 +613,7 @@
diff --git a/test/docs/2021-note.html b/test/docs/2021-note.html index 1c032cbfd..854ae8d5e 100644 --- a/test/docs/2021-note.html +++ b/test/docs/2021-note.html @@ -613,7 +613,7 @@
diff --git a/test/docs/2021-rec.html b/test/docs/2021-rec.html index 16e63f1e3..ae434e707 100644 --- a/test/docs/2021-rec.html +++ b/test/docs/2021-rec.html @@ -12,7 +12,7 @@
diff --git a/test/docs/2021-wd.html b/test/docs/2021-wd.html index 7999d6547..b630edf2a 100644 --- a/test/docs/2021-wd.html +++ b/test/docs/2021-wd.html @@ -15,8 +15,7 @@
diff --git a/test/docs/metadata/ttml-imsc1.html b/test/docs/metadata/ttml-imsc1.html
index 33176de7d..1ce9281b6 100644
--- a/test/docs/metadata/ttml-imsc1.html
+++ b/test/docs/metadata/ttml-imsc1.html
@@ -280,7 +280,7 @@
-
+
[@TODO]
- -[@TODO]
- -[@TODO]
-