Skip to content

Commit ebb05ba

Browse files
Revert "Port banner and grayscale filter from reactjs.org (#1115)"
This reverts commit febf1a4.
1 parent 2322243 commit ebb05ba

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

site/jekyll/_assets/stylesheets/react.scss

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,6 @@ html {
5252
background: $pageBg;
5353
}
5454

55-
.grayscale {
56-
filter:grayscale(100%);
57-
-webkit-filter:grayscale(100%);
58-
}
59-
60-
.top-banner {
61-
font-size: 20px;
62-
height: 60px;
63-
text-align: center;
64-
padding: 20px;
65-
}
6655

6756

6857
.left {
@@ -75,7 +64,7 @@ html {
7564

7665

7766
.container {
78-
padding-top: 110px;
67+
padding-top: $navHeight;
7968
min-width: $contentWidth + (2 * $contentPadding);
8069
}
8170

@@ -131,7 +120,7 @@ h1, h2, h3, h4, h5, h6 {
131120
color: $lightTextColor;
132121
position: fixed;
133122
top: 0;
134-
height: 110px;
123+
height: $navHeight;
135124
box-shadow: 0 0 5px rgba(0, 0, 0, .5);
136125
width: 100%;
137126
z-index: 100;

site/jekyll/_layouts/default.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
<body>
3838
<div class="container">
3939
<div class="nav-main">
40-
<div class="top-banner">Black Lives Matter. <a style="color:#61dafb" target="_blank" rel="noreferrer" href="https://support.eji.org/give/153413/#!/donation/checkout">Support&nbsp;the&nbsp;Equal&nbsp;Justice&nbsp;Initiative.</a></div>
41-
<div class="wrap grayscale">
40+
<div class="wrap">
4241
<a class="nav-home" href="/">
4342
<img class="nav-logo" src="/img/logo.svg" width="48" height="36">
4443
{{ site.name }}
@@ -54,9 +53,7 @@
5453
</div>
5554
</div>
5655

57-
<div class="grayscale">
5856
{{ content }}
59-
</div>
6057

6158
<footer class="wrap">
6259
<div class="right">

0 commit comments

Comments
 (0)