Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created January 14, 2013 04:11
Show Gist options
  • Save robrocker7/4527713 to your computer and use it in GitHub Desktop.
Save robrocker7/4527713 to your computer and use it in GitHub Desktop.
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
body {
text-align: center;
font-size: 12px;
font-family: "Arial Narrow", Arial, sans-serif;
letter-spacing: 1.2px;
}
.noti {
position: absolute;
top: -15%;
left: 15%;
font-size: 10px;
padding: 4px 6px;
display: inline;
&.red {
background-color: @d-red;
color: @white;
}
&.green {
background-color: @d-green;
color: @white;
}
&.purple {
background-color: @d-purple;
color: @white;
}
}
ul.icon-list {
list-style: none;
li {
display: inline-block;
width: 75px;
height: 60px;
text-align: center;
position: relative;
}
}
#header {
width: 100%;
height: 120px;
background-color: @gray;
border-bottom: 2px solid @d-gray;
#action-icons {
width: 260px;
float: left;
margin-top: 30px;
}
#logo {
width: 440px;
text-align: center;
float: left;
}
#profile-header {
width: 260px;
float: left;
margin-top: 30px;
#profile-name {
font-size: 14px;
width: 110px;
float: left;
strong {
display: block;
font-weight: bold;
}
}
#profile-header-image {
background-color: @dd-gray;
color: @white;
text-align: left;
width: 50px;
height: 36px;
font-size: 10px;
position: relative;
float: left;
span {
position: absolute;
bottom: 2px;
right: 2px;
}
img {
float: left;
}
}
#settings-header {
float: left;
padding: 24px 0px 0px 4px;
}
}
}
#player {
border-left: 2px solid @d-gray;
border-bottom: 2px solid @d-gray;
border-right: 2px solid @d-gray;
padding: 5px;
width: 580px;
margin: 0 auto;
#song-info {
width: 130px;
float: left;
p {
strong {
font-size: 14px;
font-weight: bold;
}
}
img {
float: left;
padding-right: 5px;
}
}
#controls {
width: 310px;
float: left;
ul {
width: 310px;
margin: 6px 40px;
li {
width: 24%;
text-align: center;
display: inline-block;
}
}
#progress {
width: 100%;
span {
float: left;
padding: 0 8px;
width: 24px;
}
.song-progress {
float: left;
width: 230px;
background: @gray;
height: 8px;
div {
background: @dd-gray;
width: 28%;
height: 8px;
}
}
}
}
#song-actions {
width: 140px;
float: left;
text-align: right;
ul {
margin-top: 4px;
li {
width: 30%;
text-align: center;
display: inline-block;
img {
margin: 0 auto;
display: block;
}
}
}
}
}
#content {
margin-bottom: 120px;
}
#footer {
position: fixed;
bottom: 0px;
left: 0px;
width: 100%;
height: 80px;
background-color: @gray;
padding-top: 40px;
#ringtones, #social-icons {
float: left;
width: 260px;
}
#social-icons {
ul {
padding-left: 24px;
}
}
#search-bar {
background: @white;
border: 1px solid @dd-gray;
width: 438px;
float: left;
input {
border: none;
padding: 12px;
margin: 0px;
font-size: 16px;
line-height: 18px;
color: @dd-gray;
background: @white;
width: 330px;
letter-spacing: 1.5px;
}
img {
float: right;
}
}
}
.wrapper {
width: 960px;
margin: 0 auto;
text-align: left;
clear: both;
}
.clear {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment