[Bf-docboard-svn] bf-manual: [9369] branches/blender-3.2-release/blender_docs/resources/theme/css: Cleanup: format css

Aaron Carlisle noreply at blender.org
Fri Jun 17 22:42:33 CEST 2022


Revision: 9369
          https://developer.blender.org/rBM9369
Author:   Blendify
Date:     2022-06-17 22:42:32 +0200 (Fri, 17 Jun 2022)
Log Message:
-----------
Cleanup: format css

Modified Paths:
--------------
    branches/blender-3.2-release/blender_docs/resources/theme/css/epub_overrides.css
    branches/blender-3.2-release/blender_docs/resources/theme/css/theme_overrides.css
    branches/blender-3.2-release/blender_docs/resources/theme/css/version_switch.css

Modified: branches/blender-3.2-release/blender_docs/resources/theme/css/epub_overrides.css
===================================================================
--- branches/blender-3.2-release/blender_docs/resources/theme/css/epub_overrides.css	2022-06-17 20:41:25 UTC (rev 9368)
+++ branches/blender-3.2-release/blender_docs/resources/theme/css/epub_overrides.css	2022-06-17 20:42:32 UTC (rev 9369)
@@ -8,11 +8,16 @@
 
 /* Allow text to flow around right aligned images */
 .align-right {
-   float: right;
-   margin: 0 0 24px 24px;
+  float: right;
+  margin: 0 0 24px 24px;
 }
 
 /* Prevent images from flowing into other headings */
-h1, h2, h3, h4, h5, h6 {
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
   clear: both;
-}
+}
\ No newline at end of file

Modified: branches/blender-3.2-release/blender_docs/resources/theme/css/theme_overrides.css
===================================================================
--- branches/blender-3.2-release/blender_docs/resources/theme/css/theme_overrides.css	2022-06-17 20:41:25 UTC (rev 9368)
+++ branches/blender-3.2-release/blender_docs/resources/theme/css/theme_overrides.css	2022-06-17 20:42:32 UTC (rev 9369)
@@ -6,54 +6,125 @@
  *		https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_css_file
  */
 
-h5 {margin-bottom: 5px}
+h5 {
+	margin-bottom: 5px
+}
 
 /* Sidebar menu links. */
-.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover {background: #c0c0c0}
-.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover {background: #b5b5b5}
-.wy-menu-vertical li.toctree-l4 {font-size: 1em}
-.wy-menu-vertical li.current a {border: 0}
-.wy-side-nav-search > a:hover {background: none; opacity: 0.9}
-.wy-side-nav-search > a.icon::before {content: none}
+.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a:hover {
+	background: #c0c0c0
+}
 
+.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a:hover {
+	background: #b5b5b5
+}
+
+.wy-menu-vertical li.toctree-l4 {
+	font-size: 1em
+}
+
+.wy-menu-vertical li.current a {
+	border: 0
+}
+
+.wy-side-nav-search>a:hover {
+	background: none;
+	opacity: 0.9
+}
+
+.wy-side-nav-search>a.icon::before {
+	content: none
+}
+
 .wy-menu-vertical p.caption {
 	color: #e6e6e6;
 }
 
 /* Ensure background of input fields is light color even when a local theme wants it to be dark. */
-input[type="text"], input[type="search"], input[type="password"],
-input[type="email"], input[type="url"],
-input[type="date"], input[type="month"], input[type="week"], input[type="time"],
-input[type="datetime"], input[type="datetime-local"],
-input[type="number"], input[type="tel"], input[type="color"] {
-	background-color:#FCFCFC;
+input[type="text"],
+input[type="search"],
+input[type="password"],
+input[type="email"],
+input[type="url"],
+input[type="date"],
+input[type="month"],
+input[type="week"],
+input[type="time"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="number"],
+input[type="tel"],
+input[type="color"] {
+	background-color: #FCFCFC;
 }
 
 /* Boxed paragraphs. */
-.rst-content .refbox .admonition-title {background-color: #bbb}
-.rst-content .refbox {background-color: #e3e3e3}
-.rst-content .seealso .admonition-title {background-color: #7a87e6}
-.rst-content .seealso {background-color: #e7ebfa}
-.rst-content .important .admonition-title {background-color: #ddca3b}
-.rst-content .important {background-color: #f6f3a5}
+.rst-content .refbox .admonition-title {
+	background-color: #bbb
+}
 
+.rst-content .refbox {
+	background-color: #e3e3e3
+}
+
+.rst-content .seealso .admonition-title {
+	background-color: #7a87e6
+}
+
+.rst-content .seealso {
+	background-color: #e7ebfa
+}
+
+.rst-content .important .admonition-title {
+	background-color: #ddca3b
+}
+
+.rst-content .important {
+	background-color: #f6f3a5
+}
+
 /* refbox =, seealso ( > ), note ( i ), tip i , hint (+), warn / ! \ */
-.refbox .admonition-title::before {content:"\f00b"}
-.seealso .admonition-title::before{content:"\f138"}
-.note .admonition-title::before{content:"\f05a"}
-.tip .admonition-title::before{content:"\f129"; width: 0.75em; text-align: center}
-.hint .admonition-title::before{content:"\f055"}
-.warning .admonition-title::before{content:"\f071"}
+.refbox .admonition-title::before {
+	content: "\f00b"
+}
 
+.seealso .admonition-title::before {
+	content: "\f138"
+}
+
+.note .admonition-title::before {
+	content: "\f05a"
+}
+
+.tip .admonition-title::before {
+	content: "\f129";
+	width: 0.75em;
+	text-align: center
+}
+
+.hint .admonition-title::before {
+	content: "\f055"
+}
+
+.warning .admonition-title::before {
+	content: "\f071"
+}
+
 /* 'refbox' field. */
-.refbox .field-list .field-name, .refbox .field-list .field-body {
+.refbox .field-list .field-name,
+.refbox .field-list .field-body {
 	padding: 0px;
 }
-.refbox dl dt {font-weight: normal}
 
+.refbox dl dt {
+	font-weight: normal
+}
+
 /* Ugly 'red' literals. */
-.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
-	color:#404040;
+.rst-content tt.literal,
+.rst-content tt.literal,
+.rst-content code.literal {
+	color: #404040;
 	border-radius: .4em;
 }
 
@@ -60,9 +131,9 @@
 /* Literal blocks that use too much padding, make them look like regular literals. */
 .rst-content pre.literal-block {
 	font-size: 75%;
-	margin:0;
-	padding:2px 4px;
-	color:#404040;
+	margin: 0;
+	padding: 2px 4px;
+	color: #404040;
 	background: #ffffff;
 	white-space: normal;
 	display: inline;
@@ -77,7 +148,7 @@
 /* Fix nested block spacing. */
 .rst-content .document dl dt,
 .rst-content dd dl,
-.rst-content dl.field-list dd > p {
+.rst-content dl.field-list dd>p {
 	margin: 0;
 }
 
@@ -87,12 +158,12 @@
 }
 
 /* Fix padding for normal definitions nested in field lists */
-.rst-content dl.field-list dd > dl.simple {
+.rst-content dl.field-list dd>dl.simple {
 	padding-top: 12px;
 }
 
 /* Without this, paragraphs in bullet points within definition lists have too much vertical padding. */
-.rst-content li > p {
+.rst-content li>p {
 	margin-bottom: 0px !important;
 }
 
@@ -100,7 +171,7 @@
 
 /* captions text style */
 .rst-content .figure .caption,
-.rst-content figure figcaption > p,
+.rst-content figure figcaption>p,
 .rst-content table.docutils caption,
 .rst-content table.field-list caption {
 	font: italic 90%/18px Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif;
@@ -112,26 +183,38 @@
 .rst-content figure figcaption {
 	margin-top: 4px;
 }
-.rst-content table.docutils caption { padding: 0.5em; }
 
+.rst-content table.docutils caption {
+	padding: 0.5em;
+}
+
 /* Text word wrap. */
 .wy-table-responsive table td,
-.wy-table-responsive table th { white-space: normal; }
+.wy-table-responsive table th {
+	white-space: normal;
+}
 
 /* Cell's vertical align. */
 /* use "valign" class for middle align. */
-.rst-content table.docutils:not(.valign) td { vertical-align: baseline; }
+.rst-content table.docutils:not(.valign) td {
+	vertical-align: baseline;
+}
 
 /* Field list align. */
-.rst-content table.field-list td { padding-top: 8px; }
+.rst-content table.field-list td {
+	padding-top: 8px;
+}
 
 /* Table header cells border color. */
-.rst-content table.docutils th { border-color: #e1e4e5; }
+.rst-content table.docutils th {
+	border-color: #e1e4e5;
+}
 
 /* Figure in table margin. */
 .rst-content td div.figure,
 .rst-content td figure {
-	margin-top: 4px; margin-bottom: 0;
+	margin-top: 4px;
+	margin-bottom: 0;
 }
 
 /* Figure legend. */
@@ -140,14 +223,25 @@
 	color: #484848;
 	margin-top: -20px;
 }
-.rst-content dl .legend { margin-top: -10px; }
 
- at media screen and (max-width: 768px){
+.rst-content dl .legend {
+	margin-top: -10px;
+}
 
-	.wy-table-responsive table:not(.footnote) { min-width: 520px; }
-	.rst-content table.docutils caption { text-align: left; }
-	img { width: auto; }
+ at media screen and (max-width: 768px) {
 
+	.wy-table-responsive table:not(.footnote) {
+		min-width: 520px;
+	}
+
+	.rst-content table.docutils caption {
+		text-align: left;
+	}
+
+	img {
+		width: auto;
+	}
+
 }
 
 /* End TABLE & FIGURE. */
@@ -161,7 +255,9 @@
 }
 
 /* Copyright font scale down. */
-footer p{ font-size: smaller}
+footer p {
+	font-size: smaller
+}
 
 .footer-contribute {
 	display: block;
@@ -176,26 +272,40 @@
 }
 
 /* Quotes for Fig. "link". */
-a[href^="#fig-"]::before {content: "\201c";}
-a[href^="#fig-"]::after {content: "\201d";}
+a[href^="#fig-"]::before {
+	content: "\201c";
+}
 
+a[href^="#fig-"]::after {
+	content: "\201d";
+}
+
 /* Intermediate headline. */
-.rubric {font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif}
+.rubric {
+	font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif
+}
 
 /* ".. container::" lead, block text float around image. */
 .lead {
-	clear: both; width: 100%;
+	clear: both;
+	width: 100%;
 }
 
 /* Mark external links. */
-a.external {color:#656AE0;}
+a.external {
+	color: #656AE0;
+}
+
 /* List blender.org as internal. */
-.external[href^="https://www.blender.org"], .external[href^="https://docs.blender.org"], .external[href^="https://wiki.blender.org"] {
-	color:#2980B9;
+.external[href^="https://www.blender.org"],
+.external[href^="https://docs.blender.org"],
+.external[href^="https://wiki.blender.org"] {
+	color: #2980B9;
 }
 
 /* Draws a box around menuselection and kbd role. */
-.menuselection, .kbd.docutils.literal {
+.menuselection,
+.kbd.docutils.literal {
 	font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
 	font-size: 90%;
 	font-weight: normal;
@@ -205,84 +315,125 @@
 	padding: 2px 5px;
 	border-radius: .4em;
 }
+
 @media screen and (max-width: 420px) {
-	.menuselection {white-space: normal}
+	.menuselection {
+		white-space: normal
+	}
 }
+
 .caption .menuselection {
 	background-color: transparent;
 	border: none;
 }
-.caption .kbd {background-color: transparent}
 
+.caption .kbd {
+	background-color: transparent
+}
+
 /* Remove indent on line break. */
-.rst-content .line-block {margin-left:0px}
+.rst-content .line-block {
+	margin-left: 0px
+}
 
 /* Applied on main index:sections. */
 
-.global-index-toc {display: none;}
+.global-index-toc {
+	display: none;
+}
 
 /* Start section description. */
- at media screen and (min-width: 450px){
+ at media screen and (min-width: 450px) {
 	.tocdescr {
-		display: flex; display: -webkit-flex;
-		flex-flow: row wrap; -webkit-flex-flow: row wrap;
-		justify-content: space-between; -webkit-justify-content: space-between;
-		align-items: flex-start; -webkit-align-items: flex-start;
-		align-content: flex-start; -webkit-align-content: flex-start;
+		display: flex;
+		display: -webkit-flex;
+		flex-flow: row wrap;
+		-webkit-flex-flow: row wrap;

@@ Diff output truncated at 10240 characters. @@


More information about the Bf-docboard-svn mailing list