[Buildroot] [PATCH 1/2] docs: move Buildroot CSS code into its own file

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Sep 20 13:13:43 UTC 2014


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.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 docs/css/buildroot.css | 13 +++++++++++++
 docs/header.html       | 12 +-----------
 2 files changed, 14 insertions(+), 11 deletions(-)
 create mode 100644 docs/css/buildroot.css

diff --git a/docs/css/buildroot.css b/docs/css/buildroot.css
new file mode 100644
index 0000000..95e6e94
--- /dev/null
+++ b/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;
+}
diff --git a/docs/header.html b/docs/header.html
index c1eba22..f37759e 100644
--- a/docs/header.html
+++ b/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 -->
-- 
2.0.0




More information about the buildroot mailing list