Ver Fonte

Typography.

Florian Kissling há 10 anos atrás
pai
commit
365ec579b7
3 ficheiros alterados com 12 adições e 1 exclusões
  1. 6 0
      docs/_sass/_s2-docs-home.scss
  2. 1 1
      docs/announcements-4.0.html
  3. 5 0
      docs/css/s2-docs.scss

+ 6 - 0
docs/_sass/_s2-docs-home.scss

@@ -12,3 +12,9 @@
 .s2-docs-home .jumbotron {
 .s2-docs-home .jumbotron {
   margin-bottom: 0;
   margin-bottom: 0;
 }
 }
+
+#lead {
+	text-align: center;
+	max-width: 800px;
+	margin: 0 auto 80px;
+}

+ 1 - 1
docs/announcements-4.0.html

@@ -18,7 +18,7 @@ slug: announcements-4.0
   <section id="release">
   <section id="release">
     <h1 class="page-header">Select2 4.0.0</h1>
     <h1 class="page-header">Select2 4.0.0</h1>
 
 
-    <p>
+    <p class="lead">
       The 4.0 release of Select2 is the result of three years of working on the
       The 4.0 release of Select2 is the result of three years of working on the
       code base and watching where it needs to go. At the core, it is a full
       code base and watching where it needs to go. At the core, it is a full
       rewrite that addresses many of the extensibility and usability problems
       rewrite that addresses many of the extensibility and usability problems

+ 5 - 0
docs/css/s2-docs.scss

@@ -38,6 +38,11 @@
   color: #999;
   color: #999;
 }
 }
 
 
+.page-header {
+  padding-bottom: 19px;
+  margin-bottom: 29px;
+}
+
 /* Inline code within headings retain the heading's background-color */
 /* Inline code within headings retain the heading's background-color */
 h2 code,
 h2 code,
 h3 code,
 h3 code,