Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Commit 967adff

Browse files
author
Erik Isaksen
committed
Merge survey link into main site
1 parent 80f37c4 commit 967adff

File tree

11 files changed

+48
-1
lines changed

11 files changed

+48
-1
lines changed

docpad.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ module.exports = {
1616
image: "http://webcomponents.org/img/logo.png"
1717
},
1818

19+
notification: {
20+
text: "this survey",
21+
url: "https://bit.ly/web-survey-2016",
22+
visible: true
23+
},
24+
1925
github: {
2026
user: "webcomponents",
2127
repo: "webcomponents.github.io"

src/files/css/main.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,3 +1652,28 @@ header, section {
16521652
margin: 0 20px 40px;
16531653
}
16541654
}
1655+
1656+
/* Notifications */
1657+
.notification_toolbar {
1658+
box-sizing: border-box;
1659+
-webkit-box-sizing: border-box;
1660+
width: 100%;
1661+
padding: 10px 20px;
1662+
background-color: #E44D26;
1663+
text-align: center;
1664+
margin: -40px 0 40px 0;
1665+
}
1666+
1667+
.notification_toolbar a,
1668+
.notification_toolbar a:link,
1669+
.notification_toolbar a:visited,
1670+
.notification_toolbar a:active,
1671+
.notification_toolbar a:hover {
1672+
color: #434a54;
1673+
}
1674+
1675+
.notification_toolbar__header {
1676+
color: #fff;
1677+
font-size: 1em;
1678+
line-height: 1.4;
1679+
}

src/layouts/archive.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div class="wrapper">
67
<% if @hasRssFeed(): %>

src/layouts/assets.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div class="wrapper">
67
<div class="card card-announcement card-announcement-assets">

src/layouts/home.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45
<%- @content %>
56
</div>
67

src/layouts/polyfills.html.eco

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4-
4+
<%- @partial('notification') %>
55
<div id="resources" class="wrapper">
66
<main class="layout-single" role="main">
77
<div class="single-content" role="article">

src/layouts/resources.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div id="resources" class="wrapper">
67
<main class="layout-single" role="main">

src/layouts/single.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div class="wrapper">
67
<main class="layout-single" role="main" itemscope itemtype="http://schema.org/TechArticle">

src/layouts/swags.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div class="wrapper">
67
<div class="card card-announcement card-announcement-swags">

src/layouts/tags.html.eco

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<%- @partial('header') %>
22
<div class="page-wrap">
33
<%- @partial('menu') %>
4+
<%- @partial('notification') %>
45

56
<div class="wrapper">
67
<h2 class="tag-title">Posts tagged with <span><%= @document.tag %></span></h2>

0 commit comments

Comments
 (0)