From 90ac5b86c3c1e727f7bb0459c8d84db43db78369 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sat, 24 Sep 2016 12:41:10 +0100 Subject: [PATCH] Update homepage --- docs/_includes/footer.html | 11 ++++++++--- docs/_includes/head.html | 6 +++--- docs/bulma-docs.sass | 17 ++++++++++++++--- docs/css/bulma-docs.css | 20 +++++++++++++++++--- docs/favicons/browserconfig.xml | 2 +- docs/index.html | 10 ++-------- 6 files changed, 45 insertions(+), 21 deletions(-) diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index c95dfacf..9fe04b9d 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -73,12 +73,12 @@ } .title.is-2 a { - color: #222324; + color: #242424; padding-left: 60px; } .title.is-2 a:hover { - color: #1fc8db; + color: #11e4c4; } .title.is-2 .icon.is-large { @@ -95,7 +95,12 @@ color: white; } - a.column:hover .title strong { + .hero.is-primary a.column, + .hero.is-primary a.column:hover { + color: white; + } + + .hero.is-primary a.column:hover .title strong { border-bottom: 1px solid; } diff --git a/docs/_includes/head.html b/docs/_includes/head.html index f86225d2..7ace113e 100644 --- a/docs/_includes/head.html +++ b/docs/_includes/head.html @@ -6,7 +6,7 @@ {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - + @@ -26,9 +26,9 @@ - + - + diff --git a/docs/bulma-docs.sass b/docs/bulma-docs.sass index 739267b6..3752f602 100644 --- a/docs/bulma-docs.sass +++ b/docs/bulma-docs.sass @@ -78,10 +78,13 @@ $twitter: #55acee color: $white @keyframes floatUp - from + 0% box-shadow: 0 0 0 rgba($black, 0), 0 0 0 rgba($black, 0), 0 0 0 rgba($black, 0) transform: scale(0.86) - to + 67% + box-shadow: 0 0 0 rgba($black, 0), 0 5px 10px rgba($black, 0.1), 0 1px 1px rgba($black, 0.2) + transform: scale(1) + 100% box-shadow: 0 20px 60px rgba($black, 0.05), 0 5px 10px rgba($black, 0.1), 0 1px 1px rgba($black, 0.2) transform: scale(1) @@ -114,7 +117,7 @@ $curve: cubic-bezier(0, 0.71, 0.29, 1) #b animation-delay: 1s - animation-duration: 1s + animation-duration: 1.5s animation-fill-mode: both animation-name: floatUp animation-timing-function: $curve @@ -340,3 +343,11 @@ $structure-invert: $danger-invert .input border-color: $white box-shadow: none + +html + \::-moz-selection + background: $primary + color: $primary-invert + \::selection + background: $primary + color: $primary-invert diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 013990b6..43375d49 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -6311,11 +6311,15 @@ body.page-grid .column > .notification { } @keyframes floatUp { - from { + 0% { box-shadow: 0 0 0 rgba(18, 18, 18, 0), 0 0 0 rgba(18, 18, 18, 0), 0 0 0 rgba(18, 18, 18, 0); transform: scale(0.86); } - to { + 67% { + box-shadow: 0 0 0 rgba(18, 18, 18, 0), 0 5px 10px rgba(18, 18, 18, 0.1), 0 1px 1px rgba(18, 18, 18, 0.2); + transform: scale(1); + } + 100% { box-shadow: 0 20px 60px rgba(18, 18, 18, 0.05), 0 5px 10px rgba(18, 18, 18, 0.1), 0 1px 1px rgba(18, 18, 18, 0.2); transform: scale(1); } @@ -6358,7 +6362,7 @@ body.page-grid .column > .notification { #b { animation-delay: 1s; - animation-duration: 1s; + animation-duration: 1.5s; animation-fill-mode: both; animation-name: floatUp; animation-timing-function: cubic-bezier(0, 0.71, 0.29, 1); @@ -6669,3 +6673,13 @@ body.page-grid .column > .notification { border-color: white; box-shadow: none; } + +html ::-moz-selection { + background: #11e4c4; + color: white; +} + +html ::selection { + background: #11e4c4; + color: white; +} diff --git a/docs/favicons/browserconfig.xml b/docs/favicons/browserconfig.xml index 628928fa..d3cb0bd6 100644 --- a/docs/favicons/browserconfig.xml +++ b/docs/favicons/browserconfig.xml @@ -6,7 +6,7 @@ - #1fc8db + #11e4c4 diff --git a/docs/index.html b/docs/index.html index abe964fe..2b5368e9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -62,14 +62,8 @@ route: index

Designed for mobile-first

- - - - - - - +

Modular

Just import what you need

@@ -352,7 +346,7 @@ route: index

- + Versatile media object