浏览代码

docs: less bothersome experimental stripes

Marian Beermann 8 年之前
父节点
当前提交
501859ca33
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 3 2
      docs/borg_theme/css/borg.css
  2. 1 1
      docs/usage/general.rst

+ 3 - 2
docs/borg_theme/css/borg.css

@@ -48,9 +48,10 @@ dt code {
     /* fallback for browsers that don't have repeating-linear-gradient: thick, red lines */
     border-left: 20px solid red;
     border-right: 20px solid red;
-    /* fancy red-orange stripes */
+    /* fancy red stripes */
     border-image: repeating-linear-gradient(
-            -45deg,red 0,red 10px,#ffa800 10px,#ffa800 20px,red 20px) 0 20 repeat;
+            -45deg,rgba(255,0,0,0.1) 0,rgba(255,0,0,0.75) 10px,rgba(0,0,0,0) 10px,rgba(0,0,0,0) 20px,rgba(255,0,0,0.75) 20px) 0 20 repeat;
+}
 
 .topic {
     margin: 0 1em;

+ 1 - 1
docs/usage/general.rst

@@ -7,7 +7,7 @@ The following sections will describe each command in detail.
 
 .. container:: experimental
 
-   Experimental features are marked with red-orange stripes on the sides, like this paragraph.
+   Experimental features are marked with red stripes on the sides, like this paragraph.
 
    Experimental features are not stable, which means that they may be changed in incompatible
    ways or even removed entirely without prior notice in following releases.