Browse Source

Move outline-3 style normalisation to own file

TEC 10 months ago
parent
commit
ce80a4d402
6 changed files with 20 additions and 45 deletions
  1. 1 1
      .gitignore
  2. 2 14
      changes-old.org
  3. 2 14
      changes-older.org
  4. 2 0
      contribute.org
  5. 2 16
      releases.org
  6. 11 0
      resources/normal-outline-3.html

+ 1 - 1
.gitignore

@@ -1,4 +1,4 @@
 pub
 old
 *.html
-!preamble.html
+!resources/*.html

+ 2 - 14
changes-old.org

@@ -9,22 +9,10 @@
 #+html_head:     <link rel="stylesheet" href="/resources/style/org-changes.css" type="text/css" />
 #+include: "./resources/preamble.html" export html
 
-#+begin_export html
-<div class="banner slim"> <p id="a-quote"></p> </div>
-#+end_export
+#+include: "./resources/normal-outline-3.html" export html
 
 #+begin_export html
-<style>
-  .outline-3 {
-    background-color: initial;
-    border-left: none;
-    width: initial;
-    padding: 0;
-  }
-  h3 {
-    display: initial;
-  }
-</style>
+<div class="banner slim"> <p id="a-quote"></p> </div>
 #+end_export
 
 * Version 9.2

+ 2 - 14
changes-older.org

@@ -5,22 +5,10 @@
 #+description: Org Org-mode Emacs Changes ChangeLog release notes archives
 #+include: "./resources/preamble.html" export html
 
-#+begin_export html
-<div class="banner slim"> <p id="a-quote"></p> </div>
-#+end_export
+#+include: "./resources/normal-outline-3.html" export html
 
 #+begin_export html
-<style>
-  .outline-3 {
-    background-color: initial;
-    border-left: none;
-    width: initial;
-    padding: 0;
-  }
-  h3 {
-    display: initial;
-  }
-</style>
+<div class="banner slim"> <p id="a-quote"></p> </div>
 #+end_export
 
 * Version 6.32

+ 2 - 0
contribute.org

@@ -4,6 +4,8 @@
 #+description: Org: an Emacs Mode for Notes, Planning, and Authoring
 #+include: "./resources/preamble.html" export html
 
+#+include: "./resources/normal-outline-3.html" export html
+
 * Contribute
 Org mode is built on the efforts of enthusiastic volunteers. If you too love
 Org, know that the two best things you can do to ensure the good heath of this

+ 2 - 16
releases.org

@@ -6,28 +6,14 @@
 #+link:      doc https://orgmode.org/worg/doc.html#%s
 #+description: Org Org-mode Emacs Changes ChangeLog release notes
 #+html_head:     <link rel="stylesheet" href="/resouces/style/org-changes.css" type="text/css" />
-
 #+include: "./resources/preamble.html" export html
 
-#+begin_export html
-<div class="banner slim"> <p id="a-quote"></p> </div>
-#+end_export
+#+include: "./resources/normal-outline-3.html" export html
 
 #+begin_export html
-<style>
-  .outline-3 {
-    background-color: initial;
-    border-left: none;
-    width: initial;
-    padding: 0;
-  }
-  h3 {
-    display: initial;
-  }
-</style>
+<div class="banner slim"> <p id="a-quote"></p> </div>
 #+end_export
 
-
 * Version 9.3
 
 ** Incompatible changes

+ 11 - 0
resources/normal-outline-3.html

@@ -0,0 +1,11 @@
+<style>
+  .outline-3 {
+    background-color: initial;
+    border-left: none;
+    width: initial;
+    padding: 0;
+  }
+  h3 {
+    display: initial;
+  }
+</style>