[Bf-docboard-svn] bf-manual: [8283] trunk/blender_docs/resources/theme/css/theme_overrides.css: CSS: use rounded corners for manual literal-text blocks
Campbell Barton
noreply at blender.org
Thu Aug 5 17:47:30 CEST 2021
Revision: 8283
https://developer.blender.org/rBM8283
Author: campbellbarton
Date: 2021-08-05 17:47:30 +0200 (Thu, 05 Aug 2021)
Log Message:
-----------
CSS: use rounded corners for manual literal-text blocks
This is a minor visual style change for literal text blocks,
to use rounded corners.
This helps differentiate multiple blocks of literal text.
Further this is a common convention for styling literal blocks
(stackexchange, gitlab & github all use rounded corners).
Ref D11723
Modified Paths:
--------------
trunk/blender_docs/resources/theme/css/theme_overrides.css
Modified: trunk/blender_docs/resources/theme/css/theme_overrides.css
===================================================================
--- trunk/blender_docs/resources/theme/css/theme_overrides.css 2021-08-05 10:11:44 UTC (rev 8282)
+++ trunk/blender_docs/resources/theme/css/theme_overrides.css 2021-08-05 15:47:30 UTC (rev 8283)
@@ -50,6 +50,7 @@
/* Ugly 'red' literals. */
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
color:#404040;
+ border-radius: .4em;
}
/* Literal blocks that use too much padding, make them look like regular literals. */
@@ -61,6 +62,7 @@
background: #ffffff;
white-space: normal;
display: inline;
+ border-radius: .4em;
}
/* Fix definisions with different ids. */
@@ -192,6 +194,7 @@
border: solid #E1E4E5 1px;
white-space: nowrap;
padding: 2px 5px;
+ border-radius: .4em;
}
@media screen and (max-width: 420px) {
.menuselection {white-space: normal}
More information about the Bf-docboard-svn
mailing list