Skip to content

Commit

Permalink
Revert "Add ETHGlobal Hackathon banner (#440)" (#445)
Browse files Browse the repository at this point in the history
This reverts commit 7d4ab1d.
  • Loading branch information
gkoscky authored Sep 26, 2023
1 parent 9fb03bd commit e2ed801
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 48 deletions.
6 changes: 0 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
position: 'right',
},
],
},
announcementBar: {
id: "ETHGlobal",
content:
'<span>🍎</span><a href="https://collective.flashbots.net/t/ethglobal-ny-hackathon-sept-22-24/2413" target="_blank" rel="noreferrer">Participate in the Flashbots hackathon track at ETHGlobal NY, Sept 22 - 24</a><span>🍎</span>',
isCloseable: false,
}

}),
Expand Down
43 changes: 1 addition & 42 deletions src/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,45 +114,4 @@ h2 {
&:hover {
background-image: linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
}
}

/* Top banner */
div[role=banner] {
min-height: 32px;

> div {
min-height: 32px;
padding: 0px;
border: 0px;
display: flex;
align-items: center;
justify-content: center;
column-gap: 10px;
background-color: #f1be47;
color: #000000;
text-align: center;
font-size: 100%;

a {
font-family: "CMU-Serif";
font-size: 16px;
text-decoration: none;

&:hover {
text-decoration: underline;
}
}
}
}

@media (min-width: 341px) and (max-width: 640px) {
div[role=banner] > div a {
flex-basis: 280px;
}
}

@media (max-width: 340px) {
div[role=banner] > div a {
flex-basis: 150px;
}
}
}

1 comment on commit e2ed801

@vercel
Copy link

@vercel vercel bot commented on e2ed801 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.