浏览代码

docs: move Buildroot CSS code into its own file

In preparation to the addition of more CSS code, this commit moves the
Buildroot site specific CSS code from header.html to a dedicated CSS
file.

[Thomas: add missing space before opening curly brace, as suggested by
Thomas DS.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Thomas Petazzoni 11 年之前
父节点
当前提交
c903d70b80
共有 2 个文件被更改,包括 14 次插入11 次删除
  1. 13 0
      docs/css/buildroot.css
  2. 1 11
      docs/header.html

+ 13 - 0
docs/css/buildroot.css

@@ -0,0 +1,13 @@
+body {
+    padding-top: 60px;
+    padding-bottom: 40px;
+}
+
+.button_column {
+    width: 430px;
+}
+
+.gplus {
+    float:right;
+    margin: 10px 0 0;
+}

+ 1 - 11
docs/header.html

@@ -7,19 +7,9 @@
     <meta name="author" content="The Buildroot developers">
     <link rel="shortcut icon" href="favicon.ico">
     <link href="css/bootstrap.min.css" rel="stylesheet">
+    <link href="css/buildroot.css" rel="stylesheet">
 
     <style type="text/css">
-      body {
-      padding-top: 60px;
-      padding-bottom: 40px;
-      }
-      .button_column{
-        width: 430px;
-      }
-      .gplus {
-        float:right;
-        margin: 10px 0 0;
-      }
     </style>
 
     <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->