Skip to content

Instantly share code, notes, and snippets.

@remy

remy/index.js Secret

Last active November 7, 2019 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remy/55411138d3a7ee344c837c60541c318f to your computer and use it in GitHub Desktop.
Save remy/55411138d3a7ee344c837c60541c318f to your computer and use it in GitHub Desktop.
The styles for ./pages/index.js
<style jsx>{`
ul {
margin: 0;
padding: 0;
list-style: none;
}
.title {
font-weight: bold;
margin-bottom: 0;
}
a {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.info {
margin-top: 0;
padding-bottom: 20px;
}
.info span:after {
content: '•';
margin: 0 10px;
}
.info span:last-child:after {
display: none;
}
.info .speaker {
display: ${process.env.HIDE_SPEAKERS ? 'none' : 'auto'};
}
`}</style>
@mledwards
Copy link

mledwards commented Nov 7, 2019

What's display: auto? Third glass of water? :-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment