diff --git a/examples/index.html b/examples/index.html index c42b21aa48..6619e72ac6 100644 --- a/examples/index.html +++ b/examples/index.html @@ -26,6 +26,12 @@ font-size: smaller; margin: 5px 0; } + a.example { + text-decoration: none; + } + a.example:hover :first-child { + text-decoration: underline; + } a.bg-light:focus, a.bg-light:hover, button.bg-light:focus, @@ -88,10 +94,8 @@
- - title
- -
+ title
+

diff --git a/site/src/favicon.ico b/site/src/favicon.ico new file mode 100644 index 0000000000..bc4bafb6e9 Binary files /dev/null and b/site/src/favicon.ico differ diff --git a/site/src/index.hbs b/site/src/index.hbs index 7b4dcbfab8..80bb573770 100644 --- a/site/src/index.hbs +++ b/site/src/index.hbs @@ -10,8 +10,8 @@ head:

A high-performance, feature-packed library for all your mapping needs.

-
-
+
+

Latest

OpenLayers {{ version }} is here! Check out the docs and the examples to get started. The full distribution can be downloaded from the release page.

@@ -56,38 +56,38 @@ head:
-
- -

API Docs

-

Browse through the API docs for details on code usage.

+
+

Tutorials

+

Spend time learning the basics and graduate up to advanced mapping techniques.

+
+
+ +

Workshop

+
+

Want to learn OpenLayers hands-on? Get started with the workshop.

+
+
+
+
+ +

API Docs

+
+

Browse through the API docs for details on code usage.

@@ -98,8 +98,7 @@ head:
  • Latest v5: v5.3.0 released 2018-11-06 — docs, API & examples
  • Latest v4: v4.6.5 released 2018-03-20 — docs, API & examples
  • Latest v3: v3.20.1, released 2016-12-12 — docs, API & examples
  • -
  • Latest v2: v2.13.1 (July 2013 i.e. really old) — you'll find everything you need on the 2.x page
  • -
  • Latest v1 — You're kidding, right?
  • +
  • Latest v2: v2.13.1, released 2013-07-09 — you'll find everything you need on the 2.x page
  • Please consider upgrading to benefit of the latest features and bug fixes. Get best performance and usability for free by using recent versions of OpenLayers

    @@ -109,20 +108,20 @@ head:
    - + \ No newline at end of file diff --git a/site/src/theme/index.css b/site/src/theme/index.css index a665f865a6..cea3f1ff9f 100644 --- a/site/src/theme/index.css +++ b/site/src/theme/index.css @@ -23,12 +23,9 @@ } #news { - clear: both; - border: 1px solid #eee; - background-color: #f8f8f8; + background-color: var(--ol-accent-background-color); border-radius: 4px; - padding: 1rem; - margin: 0 1rem 0 1rem; + padding: 1rem 0 0; } #news h1 { @@ -51,7 +48,3 @@ img.thumb { .over .ol-overlaycontainer-stopevent { opacity: 1; } - -ul.sponsors { - background-color: #f8f8f8; -} \ No newline at end of file diff --git a/site/src/theme/site.css b/site/src/theme/site.css index 5d4527f9a3..73f5583d3e 100644 --- a/site/src/theme/site.css +++ b/site/src/theme/site.css @@ -8,8 +8,8 @@ body { } h1 { - margin-top: 40px; - margin-bottom: 30px; + margin-top: 30px; + margin-bottom: 20px; } h1, @@ -65,16 +65,6 @@ footer a:focus { text-decoration: underline; } -pre[class*="language-"] { - background: #FFFFFF; - font-size: 87.5%; -} - -pre { - border: 1px solid #eee; - border-radius: 0; -} - .navbar { background-color: var(--ol-foreground-color); color: var(--ol-background-color);