diff --git a/first-edition/book.toml b/first-edition/book.toml index d365a01c..3a3189c4 100644 --- a/first-edition/book.toml +++ b/first-edition/book.toml @@ -1,6 +1,3 @@ [book] title = "The Rust Programming Language" author = "The Rust Project Developers" - -[output.html] -additional-css = ["src/theme/first-edition.css"] diff --git a/first-edition/src/theme/first-edition.css b/first-edition/src/theme/first-edition.css deleted file mode 100644 index 6ff716b4..00000000 --- a/first-edition/src/theme/first-edition.css +++ /dev/null @@ -1,56 +0,0 @@ -.warning { - display: flex; - justify-content: space-between; - align-items: center; - background-color: rgb(242, 222, 222); - border-bottom-color: rgb(238, 211, 215); - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom-style: solid; - border-bottom-width: 0.666667px; - border-image-outset: 0 0 0 0; - border-image-repeat: stretch stretch; - border-image-slice: 100% 100% 100% 100%; - border-image-source: none; - border-image-width: 1 1 1 1; - border-left-color: rgb(238, 211, 215); - border-left-style: solid; - border-left-width: 0.666667px; - border-right-color: rgb(238, 211, 215); - border-right-style: solid; - border-right-width: 0.666667px; - border-top-color: rgb(238, 211, 215); - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-top-style: solid; - border-top-width: 0.666667px; - color: rgb(185, 74, 72); - margin-bottom: 0px; - margin-left: 0px; - margin-right: 0px; - margin-top: 30px; - padding-bottom: 8px; - padding-left: 14px; - padding-right: 35px; - padding-right: 14px; - padding-top: 8px; -} -.warning strong { - color: rgb(185, 74, 72) -} -.warning a { - color: rgb(0, 136, 204) -} -.warning .message { - margin-right: 14px; -} -.warning .message:last-child { - margin-right: 21px; -} -.warning .button { - border: none; - background: none; - color: inherit; - cursor: pointer; - font-size: 14px; -} diff --git a/first-edition/src/theme/header.hbs b/first-edition/src/theme/header.hbs deleted file mode 100644 index 77a74786..00000000 --- a/first-edition/src/theme/header.hbs +++ /dev/null @@ -1,27 +0,0 @@ -
- You are reading an outdated edition of TRPL. For more, go here. - -
- - diff --git a/first-edition/src/theme/index.hbs b/first-edition/src/theme/index.hbs deleted file mode 100644 index f3f1b52f..00000000 --- a/first-edition/src/theme/index.hbs +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - Outdated link: {{ title }} - - - - - - - - - - - - - - - {{#each additional_css}} - - {{/each}} - - -
-
- {{> header}} -
-
- {{{ content }}} -
-
-
-
- - diff --git a/second-edition/src/theme/index.hbs b/second-edition/src/theme/index.hbs deleted file mode 100644 index f3f1b52f..00000000 --- a/second-edition/src/theme/index.hbs +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - Outdated link: {{ title }} - - - - - - - - - - - - - - - {{#each additional_css}} - - {{/each}} - - -
-
- {{> header}} -
-
- {{{ content }}} -
-
-
-
- -