Repository: incubator-wave Updated Branches: refs/heads/wavy d8acc4147 -> e01038043
initial website created Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/e0103804 Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/e0103804 Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/e0103804 Branch: refs/heads/wavy Commit: e0103804313b2c4eeaf0769926f8aeb57e876253 Parents: d8acc41 Author: wisebaldone <[email protected]> Authored: Fri Apr 29 00:04:55 2016 +1000 Committer: wisebaldone <[email protected]> Committed: Fri Apr 29 00:04:55 2016 +1000 ---------------------------------------------------------------------- .travis.yml | 2 + website/.gitignore | 18 + website/BUILD | 11 + website/Gemfile | 14 + website/Gemfile.lock | 144 ++++++++ website/LICENSE | 33 -- website/README.md | 11 +- website/config.rb | 44 +++ website/scripts/build.sh | 2 + website/scripts/run.sh | 2 + website/source/images/middleman-logo.svg | 1 + website/source/index.html.erb | 13 + website/source/javascripts/all.js | 1 + website/source/layouts/layout.erb | 20 ++ website/source/stylesheets/_normalize.scss | 419 ++++++++++++++++++++++++ website/source/stylesheets/site.css.scss | 67 ++++ 16 files changed, 766 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index df53a27..a8b2694 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ jdk: oraclejdk8 +rvm: ruby-head before_install: - wget 'https://github.com/bazelbuild/bazel/releases/download/0.2.2b/bazel-0.2.2b-installer-linux-x86_64.sh' @@ -8,3 +9,4 @@ before_install: script: - bazel build //server:server - bazel test //server:test + - bazel run //website:website http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/.gitignore ---------------------------------------------------------------------- diff --git a/website/.gitignore b/website/.gitignore new file mode 100644 index 0000000..a320f7b --- /dev/null +++ b/website/.gitignore @@ -0,0 +1,18 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. +# +# If you find yourself ignoring temporary files generated by your text editor +# or operating system, you probably want to add a global ignore instead: +# git config --global core.excludesfile ~/.gitignore_global + +# Ignore bundler config +/.bundle + +# Ignore the build directory +/build + +# Ignore cache +/.sass-cache +/.cache + +# Ignore .DS_store file +.DS_Store http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/BUILD ---------------------------------------------------------------------- diff --git a/website/BUILD b/website/BUILD new file mode 100644 index 0000000..95b80f5 --- /dev/null +++ b/website/BUILD @@ -0,0 +1,11 @@ +sh_binary( + name = "website", + srcs = ["scripts/build.sh"], + data = glob(["**/*"]), +) + +sh_binary( + name = "live", + srcs = ["scripts/run.sh"], + data = glob(["**/*"]), +) http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/Gemfile ---------------------------------------------------------------------- diff --git a/website/Gemfile b/website/Gemfile new file mode 100644 index 0000000..482f8df --- /dev/null +++ b/website/Gemfile @@ -0,0 +1,14 @@ +# If you do not have OpenSSL installed, change +# the following line to use 'http://' +source 'https://rubygems.org' + +# For faster file watcher updates on Windows: +gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw] + +# Windows does not come with time zone data +gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby] + +# Middleman Gems +gem 'middleman', '>= 4.0.0' +gem 'middleman-livereload' +gem 'middleman-compass', '>= 4.0.0' http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/Gemfile.lock ---------------------------------------------------------------------- diff --git a/website/Gemfile.lock b/website/Gemfile.lock new file mode 100644 index 0000000..cab08f7 --- /dev/null +++ b/website/Gemfile.lock @@ -0,0 +1,144 @@ +GEM + remote: https://rubygems.org/ + specs: + activesupport (4.2.6) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.4.0) + backports (3.6.8) + capybara (2.5.0) + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + chunky_png (1.3.5) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.10.0) + compass (1.0.3) + chunky_png (~> 1.2) + compass-core (~> 1.0.2) + compass-import-once (~> 1.0.5) + rb-fsevent (>= 0.9.3) + rb-inotify (>= 0.9) + sass (>= 3.3.13, < 3.5) + compass-core (1.0.3) + multi_json (~> 1.0) + sass (>= 3.3.0, < 3.5) + compass-import-once (1.0.5) + sass (>= 3.2, < 3.5) + concurrent-ruby (1.0.1) + contracts (0.13.0) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + erubis (2.7.0) + eventmachine (1.2.0.1) + execjs (2.6.0) + fast_blank (1.0.0) + fastimage (2.0.0) + addressable (~> 2) + ffi (1.9.10) + haml (4.0.7) + tilt + hamster (3.0.0) + concurrent-ruby (~> 1.0) + hashie (3.4.3) + http_parser.rb (0.6.0) + i18n (0.7.0) + json (1.8.3) + kramdown (1.10.0) + listen (3.1.1) + rb-fsevent (>= 0.9.3) + rb-inotify (>= 0.9.7) + middleman (4.1.7) + coffee-script (~> 2.2) + compass-import-once (= 1.0.5) + haml (>= 4.0.5) + kramdown (~> 1.2) + middleman-cli (= 4.1.7) + middleman-core (= 4.1.7) + sass (>= 3.4.0, < 4.0) + middleman-cli (4.1.7) + thor (>= 0.17.0, < 2.0) + middleman-compass (4.0.1) + compass (>= 1.0.0, < 2.0.0) + middleman-core (>= 4.0.0) + middleman-core (4.1.7) + activesupport (~> 4.2) + addressable (~> 2.3) + backports (~> 3.6) + bundler (~> 1.1) + capybara (~> 2.5.0) + contracts (~> 0.13.0) + erubis + execjs (~> 2.0) + fast_blank + fastimage (~> 2.0) + hamster (~> 3.0) + hashie (~> 3.4) + i18n (~> 0.7.0) + listen (~> 3.0) + padrino-helpers (~> 0.13.0) + parallel + rack (>= 1.4.5, < 2.0) + sass (>= 3.4) + servolux + tilt (~> 1.4.1) + uglifier (~> 3.0) + middleman-livereload (3.4.6) + em-websocket (~> 0.5.1) + middleman-core (>= 3.3) + rack-livereload (~> 0.3.15) + mime-types (3.0) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0221) + mini_portile2 (2.0.0) + minitest (5.8.4) + multi_json (1.11.3) + nokogiri (1.6.7.2) + mini_portile2 (~> 2.0.0.rc2) + padrino-helpers (0.13.1) + i18n (~> 0.6, >= 0.6.7) + padrino-support (= 0.13.1) + tilt (~> 1.4.1) + padrino-support (0.13.1) + activesupport (>= 3.1) + parallel (1.8.0) + rack (1.6.4) + rack-livereload (0.3.16) + rack + rack-test (0.6.3) + rack (>= 1.0) + rb-fsevent (0.9.7) + rb-inotify (0.9.7) + ffi (>= 0.5.0) + sass (3.4.22) + servolux (0.12.0) + thor (0.19.1) + thread_safe (0.3.5) + tilt (1.4.1) + tzinfo (1.2.2) + thread_safe (~> 0.1) + uglifier (3.0.0) + execjs (>= 0.3.0, < 3) + xpath (2.0.0) + nokogiri (~> 1.3) + +PLATFORMS + ruby + +DEPENDENCIES + middleman (>= 4.0.0) + middleman-compass (>= 4.0.0) + middleman-livereload + tzinfo-data + wdm (~> 0.1.0) + +BUNDLED WITH + 1.11.2 http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/LICENSE ---------------------------------------------------------------------- diff --git a/website/LICENSE b/website/LICENSE index 6bf7059..04ae24b 100644 --- a/website/LICENSE +++ b/website/LICENSE @@ -199,36 +199,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - -***THE FOLLOWING LICENSE APPLIES TO*** -- Protobuf Descriptors located at /src/google/protobuf/descriptor.proto - -Protocol Buffers - Google's data interchange format -Copyright 2008 Google Inc. All rights reserved. -http://code.google.com/p/protobuf/ - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/README.md ---------------------------------------------------------------------- diff --git a/website/README.md b/website/README.md index 499a3d9..0e80905 100644 --- a/website/README.md +++ b/website/README.md @@ -1,20 +1,25 @@ # Apache Wave Website This is the home of the Apache Wave website. The website is made with Middleman -and .... (blurb) +and provides a platform for documentation of all aspects of the project to +reside. The content which should be provided on the website should encompass +user documentation for distribution and developer documentation. + +Documentation should be provided in as many languages as is maintainable to +provide a "decent" native experience for all. The only exception to such would +be these README's. ## Dev Requirements Required: - Ruby v2.3.0+ -- Ruby Gems manager - Middleman [install](https://middlemanapp.com/basics/install/) ## Build Tasks | Task | Description | | --- | --- | -| bazel build //website:website | Builds the website | +| bazel run //website:website | Builds the website | | bazel run //website:live | Runs a website live reload server locally | ## More Info http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/config.rb ---------------------------------------------------------------------- diff --git a/website/config.rb b/website/config.rb new file mode 100644 index 0000000..09a8cb5 --- /dev/null +++ b/website/config.rb @@ -0,0 +1,44 @@ +### +# Page options, layouts, aliases and proxies +### + +# Per-page layout changes: +# +# With no layout +page '/*.xml', layout: false +page '/*.json', layout: false +page '/*.txt', layout: false + +# With alternative layout +# page "/path/to/file.html", layout: :otherlayout + +# Proxy pages (http://middlemanapp.com/basics/dynamic-pages/) +# proxy "/this-page-has-no-template.html", "/template-file.html", locals: { +# which_fake_page: "Rendering a fake page with a local variable" } + +# General configuration + +# Reload the browser automatically whenever files change +configure :development do + activate :livereload +end + +### +# Helpers +### + +# Methods defined in the helpers block are available in templates +# helpers do +# def some_helper +# "Helping" +# end +# end + +# Build-specific configuration +configure :build do + # Minify CSS on build + # activate :minify_css + + # Minify Javascript on build + # activate :minify_javascript +end http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/scripts/build.sh ---------------------------------------------------------------------- diff --git a/website/scripts/build.sh b/website/scripts/build.sh new file mode 100755 index 0000000..24768de --- /dev/null +++ b/website/scripts/build.sh @@ -0,0 +1,2 @@ +cd website +bundle exec middleman build --clean --verbose http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/scripts/run.sh ---------------------------------------------------------------------- diff --git a/website/scripts/run.sh b/website/scripts/run.sh new file mode 100755 index 0000000..032da0d --- /dev/null +++ b/website/scripts/run.sh @@ -0,0 +1,2 @@ +cd website +bundle exec middleman http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/images/middleman-logo.svg ---------------------------------------------------------------------- diff --git a/website/source/images/middleman-logo.svg b/website/source/images/middleman-logo.svg new file mode 100644 index 0000000..98ef9fc --- /dev/null +++ b/website/source/images/middleman-logo.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" enable-background="new 0 0 500 500"><g><path fill="#ECC561" d="M1.3 0h500v500H1.3z"/><path fill="#fff" d="M446 165.2v172.1l-41.7 5.4V233.6l-40.8 76.9h-.9l-43-77.2v119l-49.1 4.4V141.5l52.6 7.4 40.3 76.6 38.3-65.9zM445 115.7L254 77.2v27.2l191 32.4z"/><path d="M59.9 164.9v170.8l41.7 7.1V234.7l40.8 76.9h.9l43-77.2v116.2l49.2 7.3V141.2l-52.7 7.4-40.3 78.1-38.3-68.8zM59 115.7l195-38.5v28.6L59 138.1z" opacity=".25"/><path fill="#fff" d="M445 380.6L254 419v-28.5l191-31z"/><path opacity=".25" d="M59 380.6L254 419v-28.5L59 358.1z"/></g></svg> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/index.html.erb ---------------------------------------------------------------------- diff --git a/website/source/index.html.erb b/website/source/index.html.erb new file mode 100644 index 0000000..9a74ae6 --- /dev/null +++ b/website/source/index.html.erb @@ -0,0 +1,13 @@ +--- +title: Welcome to Middleman +--- + +<div class="welcome"> + <div class="logo"> + <%= image_tag "middleman-logo.svg" %> + </div> + <h1>Middleman is Running</h1> + <p class="doc"> + <%= link_to "Read Documentation Online", "https://middlemanapp.com", target: "_blank" %> + </p><!-- .doc --> +</div><!-- .welcome --> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/javascripts/all.js ---------------------------------------------------------------------- diff --git a/website/source/javascripts/all.js b/website/source/javascripts/all.js new file mode 100644 index 0000000..9ffad0d --- /dev/null +++ b/website/source/javascripts/all.js @@ -0,0 +1 @@ +// This is where it all goes :) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/layouts/layout.erb ---------------------------------------------------------------------- diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb new file mode 100644 index 0000000..dec76b6 --- /dev/null +++ b/website/source/layouts/layout.erb @@ -0,0 +1,20 @@ +<!doctype html> +<html> + <head> + <meta content="IE=edge" http-equiv="X-UA-Compatible"> + <meta charset="utf-8"> + <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport"> + + <!-- Use title if it's in the page YAML frontmatter --> + <title><%= current_page.data.title || "Middleman" %></title> + + <link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'> + + <%= stylesheet_link_tag :site %> + <%= javascript_include_tag :all %> + </head> + + <body class="<%= page_classes %>"> + <%= yield %> + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/stylesheets/_normalize.scss ---------------------------------------------------------------------- diff --git a/website/source/stylesheets/_normalize.scss b/website/source/stylesheets/_normalize.scss new file mode 100644 index 0000000..18ddf7f --- /dev/null +++ b/website/source/stylesheets/_normalize.scss @@ -0,0 +1,419 @@ +/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ + +/** + * 1. Change the default font family in all browsers (opinionated). + * 2. Prevent adjustments of font size after orientation changes in IE and iOS. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove the margin in all browsers (opinionated). + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + * 2. Add the correct display in IE. + */ + +article, +aside, +details, /* 1 */ +figcaption, +figure, +footer, +header, +main, /* 2 */ +menu, +nav, +section, +summary { /* 1 */ + display: block; +} + +/** + * Add the correct display in IE 9-. + */ + +audio, +canvas, +progress, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Add the correct display in IE 10-. + * 1. Add the correct display in IE. + */ + +template, /* 1 */ +[hidden] { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * Remove the outline on focused links when they are also active or hovered + * in all browsers (opinionated). + */ + +a:active, +a:hover { + outline-width: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change font properties to `inherit` in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +select, +textarea { + font: inherit; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Restore the font weight unset by the previous rule. + */ + +optgroup { + font-weight: bold; +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Change the border, margin, and padding in all browsers (opinionated). + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Correct the text style of placeholders in Chrome, Edge, and Safari. + */ + +::-webkit-input-placeholder { + color: inherit; + opacity: 0.54; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/e0103804/website/source/stylesheets/site.css.scss ---------------------------------------------------------------------- diff --git a/website/source/stylesheets/site.css.scss b/website/source/stylesheets/site.css.scss new file mode 100644 index 0000000..ff3718c --- /dev/null +++ b/website/source/stylesheets/site.css.scss @@ -0,0 +1,67 @@ +@charset "utf-8"; +@import "normalize"; + +body { + background: #ECC561; + text-align: center; + font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 1em; +} + +.logo img { + height: 18.75em; + margin-top: 6em; +} + +h1 { + color: rgba(0,0,0,0.5); + font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 1.8em; + font-weight: 400; + margin: 0; +} + +.doc { + margin: 3em 0; + font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 1.1em; + font-weight: 300; + + a { + border: 1px solid white; + border-radius: 3px; + padding: 0.75em 0.7em; + color: white; + text-decoration: none; + transition: color 0.1s linear; + &:hover { + background: rgba(0,0,0,0.2); + color: white; + transition: all 0.15s linear; + } + } +} + +.welcome { + -webkit-animation-name: welcome; + -webkit-animation-duration: .9s; +} + +@-webkit-keyframes welcome { + from { + -webkit-transform: scale(0); + opacity: 0; + } + 50% { + -webkit-transform: scale(0); + opacity: 0; + } + 82.5% { + -webkit-transform: scale(1.03); + -webkit-animation-timing-function: ease-out; + opacity: 1; + } + to { + -webkit-transform: scale(1); + } +}
