diff --git a/doc/_static/style.css b/doc/_static/style.css index a7fa60644cb..e1e9e25d2aa 100644 --- a/doc/_static/style.css +++ b/doc/_static/style.css @@ -7,12 +7,12 @@ body { } a { - color: #08C; + color: rgb(41, 122, 204); text-decoration: none; } a:hover { - color: rgb(102,178,255); + color: rgb(102, 179, 255); } h2 a { @@ -40,12 +40,12 @@ blockquote { } code { - color: #49759c !important; - background-color: #f3f5f9 !important; + color: rgb(61, 107, 153) !important; + background-color: rgb(230, 242, 255) !important; } .devbar { - background-color: rgb(255, 100, 100); + background-color: rgb(242, 80, 80); color: white; font-weight:bold; text-align: center; @@ -54,11 +54,17 @@ code { } .devbar a { - color: rgb(0, 0, 0); + color: rgb(255, 238, 0); + text-decoration: none; +} + +.devbar a:hover { + color: black; + text-decoration: underline; } #navbar a:hover { - color: rgb(255,2,16); + color: rgb(242, 80, 80); } .note a { @@ -66,13 +72,13 @@ code { } .note { - background-color: rgb(210,255,255); + background-color: rgb(204, 230, 255); color: rgb(0, 0, 0); border: none; } .note pre { - background-color: rgb(255,255,255); + background-color: rgb(242, 249, 255); } blockquote { @@ -86,13 +92,44 @@ blockquote { height: 230px; float: left; border-radius: 20px; - background: #f3f5f9; + background: rgb(242, 249, 255); border-style: solid; - border-color: #2C3E50; + border-color: rgb(143, 173, 204); margin: 5px; padding: 0px 0px 0px 10px; } .span h2 { - background: #f3f5f9; + background: rgb(242, 249, 255); } + +.span.box code { + background-color: rgb(204, 230, 255) !important; +} + +/* OVERRIDES */ +.sphx-glr-download { + background-color: rgb(204, 230, 255); + border-radius: 10px; + border-style: solid; + border-color: rgb(143, 173, 204); + max-width: 55ex; +} +.highlight pre { + background-color: rgb(242, 249, 255) !important; +} +.warning { + background-color: rgb(230, 57, 57); + color: white; +} +.warning a { + color: rgb(255, 238, 0); +} +dt:target, .highlighted { + background-color: rgb(255, 238, 0); +} +dt:target code { + color: inherit !important; + background-color: inherit !important; +} + diff --git a/doc/manual/pitfalls.rst b/doc/manual/pitfalls.rst index e239d8f0c34..b0e43e66fbd 100644 --- a/doc/manual/pitfalls.rst +++ b/doc/manual/pitfalls.rst @@ -34,7 +34,7 @@ when saving data to disk as it consumes less space. However, if the users save intermediate results to disk, they should be aware that this may lead to loss in precision. The reason is that writing to disk is -32-bit by default and the typecasting to 64-bit does not recover the lost +32-bit by default and then typecasting to 64-bit does not recover the lost precision. In case you would like to retain the 64-bit accuracy, there are two possibilities: