Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2014 12:19
Show Gist options
  • Save saming/11176723 to your computer and use it in GitHub Desktop.
Save saming/11176723 to your computer and use it in GitHub Desktop.
A custom CSS for venue - a node.js module
@import url(,400,600);
html {
position: relative; color: white;
background: url("/resource/crisp.jpg") center fixed;
font-family: "Open Sans", sans-serif;
min-height: 100%; }
body {
margin: 0px; }
#content {
display: none; }
h1 {
background: url("/resource/blur.jpg") center fixed; padding: 50px 40px 10px;
font-size: 50px; margin: 0px 0px 30px;
font-weight: 300; }
h1:after {
display: inline; content: "currently playing...";
font-size: 30px; margin-left: 40px }
#title {
display: inline-block;
margin: 0px 20px; padding: 4px 10px 6px;
font-size: 22px; font-weight: 300;
background: url("/resource/blur.jpg") center fixed; }
#controls {
position: absolute; bottom: 0px; left: 0px;
width: calc(100% - 80px); text-align: right; padding: 40px 40px 30px;
background: url("/resource/blur.jpg") center fixed; font-weight: 600; font-size: 20px; }
#controls > div {
display: inline-block;
margin: 0px 10px; padding: 2px 8px 4px;
cursor: pointer;
border: 2px solid white; }
#controls > div:hover {
background: rgba(255,255,255,0.2); }
#controls > div:active {
background: white; color: black; }
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
#loading {
position: absolute; top: 0px; left: 0px;
width: 100%; height: calc(100% - 200px);
background: url("/resource/blur.jpg") center fixed;
padding-top: 200px; text-align: center;
font-size: 28px; color: white; }
#loading:after {
display: inline-block; margin: 30px auto 0px;
width: 60px; height: 60px;
content: ""; border: 2px solid transparent;
border-top-color: white; border-radius: 30px;
-webkit-animation: spin 1s linear infinite;
animation: spin 1s linear infinite; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment