Reorder sections.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Jan 2017 15:27:12 +0200
changeset 2070 8ae2aee591e7
parent 2069 fbbac44cd95e
child 2071 15c3e60f7faa
Reorder sections.
css.rst
--- a/css.rst	Sat Jan 28 15:25:45 2017 +0200
+++ b/css.rst	Sat Jan 28 15:27:12 2017 +0200
@@ -25,6 +25,11 @@
 https://www.w3.org/TR/CSS21/
   CSS level 2 rev 1.
 
+Default style for HTML elements
+===============================
+
+ * http://www.w3.org/TR/CSS2/sample.html
+
 Adding CSS to HTML
 ==================
 
@@ -135,10 +140,19 @@
 
   @import url(print.css) print;
 
-Default style for HTML elements
-===============================
+Including font
+==============
+::
 
- * http://www.w3.org/TR/CSS2/sample.html
+  @font-face {
+    font-family: Gentium;
+    src: url(http://example.com/fonts/Gentium.woff);
+  }
+
+  p { font-family: Gentium, serif; }
+
+https://www.w3.org/TR/css-fonts-3/
+  CSS Fonts Module Level 3.
 
 Media queries
 =============
@@ -235,17 +249,3 @@
 Graphical editor::
 
   $ sudo apt-get install cssed
-
-Including font
-==============
-::
-
-  @font-face {
-    font-family: Gentium;
-    src: url(http://example.com/fonts/Gentium.woff);
-  }
-
-  p { font-family: Gentium, serif; }
-
-https://www.w3.org/TR/css-fonts-3/
-  CSS Fonts Module Level 3.