From a673785326d85fc0a2b27542c329b5dff8d397f4 Mon Sep 17 00:00:00 2001 From: Shadab Khan Date: Thu, 28 Jun 2018 00:34:18 +0530 Subject: Add custom.css for docs to change pre tag styles Specify white space for table cells Add custom.css for docs to change pre tag styles Specify white space for table cells Rearrange code Delete theme_overrides.css Remove extra code --- docs/docs-css/custom.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/docs-css/custom.css (limited to 'docs/docs-css') diff --git a/docs/docs-css/custom.css b/docs/docs-css/custom.css new file mode 100644 index 00000000..970148ed --- /dev/null +++ b/docs/docs-css/custom.css @@ -0,0 +1,14 @@ +pre { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; +} + +.wy-table-responsive table td, .wy-table-responsive table th { + white-space: pre-wrap; +} +.wy-table-responsive table td, .wy-table-responsive table th { + white-space: pre-wrap; +} -- cgit v1.2.3