浏览代码

Update docs for 0.7.4

Jeremy Thomas 6 年之前
父节点
当前提交
3d6680fae2

+ 2 - 2
docs/_data/meta.json

@@ -2,10 +2,10 @@
   "title": "Bulma: Free, open source, & modern CSS framework based on Flexbox",
   "description": "Bulma is a free, open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.",
   "documentation": "/documentation",
-  "download": "https://github.com/jgthms/bulma/releases/download/0.7.2/bulma-0.7.2.zip",
+  "download": "https://github.com/jgthms/bulma/releases/download/0.7.4/bulma-0.7.4.zip",
   "github": "https://github.com/jgthms/bulma",
   "twitter": "https://twitter.com/jgthms",
-  "version": "0.7.2",
+  "version": "0.7.4",
   "book_url": "https://bleedingedgepress.com/creating-interfaces-bulma/",
   "book_amazon": "https://www.amazon.com/Creating-Interfaces-Bulma-Jeremy-Thomas-ebook/dp/B079M1BJG4/",
   "book_sample": "http://www.bleedingedgepress.com/book_excerpts/01E9D1/creating_interfaces_with_bulma_sample.pdf",

+ 1 - 1
docs/_includes/elements/link.html

@@ -7,7 +7,7 @@
   <h2 class="bd-link-name">
     <figure class="bd-link-figure">
       {% if include.icon %}
-        <span class="bd-link-icon has-text-{% if include.color %}{{ include.color }}{% else %}link{% endif %}">
+        <span class="bd-link-icon has-text-link">
           <i class="{% if include.icon_brand %}fab{% elsif include.icon_regular %}far{% else %}fas{% endif %} fa-{{ include.icon }}"></i>
         </span>
       {% else %}

+ 1 - 2
docs/_includes/footer/contribute.html

@@ -2,8 +2,7 @@
   <strong>Contribute</strong> on GitHub
 </h4>
 
-<div class="bd-footer-iframe">
+<div class="bd-footer-iframe is-github">
   <iframe src="https://ghbtns.com/github-btn.html?user=jgthms&repo=bulma&type=star&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
-
   <iframe src="https://ghbtns.com/github-btn.html?user=jgthms&type=follow&count=true&size=large" frameborder="0" scrolling="0" width="170px" height="30px"></iframe>
 </div>

+ 1 - 1
docs/_includes/index/intro.html

@@ -5,7 +5,7 @@
         <div class="intro-column is-content">
           <div class="intro-content">
             <h1 class="title intro-title">
-              <strong>Bulma</strong> is a free, open source CSS framework based on <strong>Flexbox</strong> and used by more than <strong>100,000</strong> developers.
+              <strong>Bulma</strong> is a free, open source CSS framework based on <strong>Flexbox</strong> and used by more than <strong>150,000</strong> developers.
             </h1>
 
             <div id="ghbtns" class="intro-ghbtns">

+ 1 - 1
docs/_includes/index/start.html

@@ -11,7 +11,7 @@
         </a>
       </h3>
       <h4 class="subtitle is-4">
-        Join more than <strong>100,000</strong> developers
+        Join more than <strong>150,000</strong> developers
       </h4>
     </header>
 

+ 1 - 1
docs/_includes/index/tws.html

@@ -5,7 +5,7 @@
   <header class="bd-index-header">
     <h3 class="title is-3">
       <a href="{{ love_url }}">
-        A growing <strong>community</strong>
+        A large <strong>community</strong>
       </a>
     </h3>
     <h4 class="subtitle is-4">

+ 4 - 0
docs/_sass/footer.sass

@@ -20,9 +20,13 @@
   margin-bottom: -10px
   min-height: 30px
   iframe
+    height: 30px
     margin-bottom: 10px
   .fb-like
     margin-left: 10px
+  &.is-github
+    iframe
+      width: 100%
 
 .bd-footer-tsp
   color: $grey-light

+ 14 - 3
docs/css/bulma-docs.css

@@ -1,5 +1,5 @@
 @charset "UTF-8";
-/*! bulma.io v0.7.2 | MIT License | github.com/jgthms/bulma */
+/*! bulma.io v0.7.4 | MIT License | github.com/jgthms/bulma */
 @-webkit-keyframes spinAround {
   from {
     -webkit-transform: rotate(0deg);
@@ -244,7 +244,7 @@ fieldset[disabled] .pagination-ellipsis {
   cursor: not-allowed;
 }
 
-/*! minireset.css v0.0.3 | MIT License | github.com/jgthms/minireset.css */
+/*! minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css */
 html,
 body,
 p,
@@ -302,12 +302,18 @@ html {
 }
 
 img,
-audio,
+embed,
+iframe,
+object,
 video {
   height: auto;
   max-width: 100%;
 }
 
+audio {
+  max-width: 100%;
+}
+
 iframe {
   border: 0;
 }
@@ -12048,6 +12054,7 @@ svg {
 }
 
 .bd-footer-iframe iframe {
+  height: 30px;
   margin-bottom: 10px;
 }
 
@@ -12055,6 +12062,10 @@ svg {
   margin-left: 10px;
 }
 
+.bd-footer-iframe.is-github iframe {
+  width: 100%;
+}
+
 .bd-footer-tsp {
   color: #b5b5b5;
   margin-top: 1.5rem;

文件差异内容过多而无法显示
+ 0 - 0
docs/css/bulma-docs.min.css


+ 1 - 1
docs/documentation/elements/button.html

@@ -546,7 +546,7 @@ meta:
 
 {% include elements/snippet.html wrapper="buttons" content=button_sizes_example %}
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 <div class="content">
   <p>

+ 1 - 1
docs/documentation/elements/image.html

@@ -177,7 +177,7 @@ meta:
 
 {% include elements/anchor.html name="Arbitrary ratios with any element" %}
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 <div class="content">
   <p>

+ 1 - 1
docs/documentation/elements/progress.html

@@ -53,7 +53,7 @@ meta:
 
 {% include elements/anchor.html name="Indeterminate" %}
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 <div class="content">
   <p>

+ 1 - 1
docs/documentation/elements/tag.html

@@ -323,7 +323,7 @@ meta:
   </div>
 </div>
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 <div class="content">
   <p>

+ 1 - 1
docs/documentation/form/general.html

@@ -1041,7 +1041,7 @@ variables_keys:
 
 {% include elements/anchor.html name="Disabled form" %}
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 
 <div class="content">

+ 1 - 1
docs/documentation/modifiers/typography-helpers.html

@@ -415,7 +415,7 @@ breadcrumb:
 
 {% include elements/anchor.html name="Font family" %}
 
-{% include elements/new-tag.html version="0.7.3" %}
+{% include elements/new-tag.html version="0.7.4" %}
 
 <div class="content">
   <p>

+ 5 - 5
docs/package.json

@@ -5,15 +5,15 @@
   "author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)",
   "license": "MIT",
   "devDependencies": {
-    "autoprefixer": "^8.2.0",
+    "autoprefixer": "^9.4.7",
     "babel-cli": "^6.26.0",
-    "babel-preset-env": "^1.6.1",
+    "babel-preset-env": "^1.7.0",
     "babel-preset-es2015-ie": "^6.7.0",
-    "clean-css-cli": "^4.1.11",
+    "clean-css-cli": "^4.2.1",
     "metalsmith": "^2.3.0",
     "metalsmith-filter": "^1.0.2",
-    "node-sass": "^4.8.3",
-    "postcss-cli": "^5.0.0"
+    "node-sass": "^4.11.0",
+    "postcss-cli": "^6.1.1"
   },
   "scripts": {
     "css-build": "npm run css-sass && npm run css-autoprefix && npm run css-cleancss",

部分文件因为文件数量过多而无法显示