-
-
Save gokmen/3778211 to your computer and use it in GitHub Desktop.
event widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* event widget | |
* url: http://dribbble.com/shots/713807-Extended | |
*/ | |
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300); | |
* { | |
box-sizing: border-box; | |
} | |
body { | |
margin-top: 150px; | |
font-family: 'Open Sans'; | |
font-weight: 300; | |
background: #947A6F; | |
-webkit-font-smoothing: subpixel-antialiased; | |
text-rendering: optimizeLegibility; | |
} | |
#card { | |
margin: 0 0 50px 37px; | |
height: 235px; | |
width: 327px; | |
overflow: hidden; | |
} | |
#top { | |
height: 90px; | |
border: 1px solid #913B35; | |
border-radius: 5px 5px 0 0; | |
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), | |
0 1px 5px rgba(0,0,0,0.4), inset 0 0 20px rgba(0,0,0,0.2), | |
inset 0 0px 5px #B93640; | |
background: linear-gradient(top, #F07682 0%,#D34E56 100%); | |
} | |
#top h1, #top h2 { | |
float: left; | |
clear: both; | |
font-family: inherit; | |
font-size: 17px; | |
font-weight: 300; | |
color: #efefef; | |
margin: 0; | |
} | |
#top h2 { | |
color: rgba(255,255,255,0.5); | |
} | |
#titles { | |
float:left; | |
margin: -48px 0 0 34px; | |
} | |
#top-side { | |
position: relative; | |
top: 0; | |
left: 100%; | |
height: 60px; | |
width: 105px; | |
margin-left: -105px; | |
border-left: 1px solid #BC4D4C; | |
border-bottom: 1px solid #BC4D4C; | |
box-shadow: -1px 1px 0 rgba(255,255,255,0.4), | |
inset 0 -4px 30px #F77F5E; | |
border-radius: 0 5px 0 0; | |
background: #FFC683; | |
} | |
#time { | |
font-size: 20px; | |
float: right; | |
color: #121212; | |
margin: 7px 8px 0 0; | |
} | |
#date { | |
color: #CB8D45; | |
float: right; | |
font-size: 14px; | |
letter-spacing: 2px; | |
margin: 0px 4px 0 0; | |
} | |
#views { | |
clear:left; | |
} | |
#views, #likes { | |
font-size: 15px; | |
float: left; | |
margin: 6px 0 0 70px; | |
color: rgba(0,0,0,0.3); | |
} | |
#middle { | |
height:124px; | |
border-left: 1px solid #444; | |
background: linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.35) 50%, | |
rgba(0,0,0,0.5) 100%); | |
} | |
#middle-number { | |
float:left; | |
text-align: center; | |
width: 110px; | |
height: 124px; | |
font-size: 13px; | |
color: #eee; | |
text-shadow: 0 1px 0 rgba(0,0,0,0.5); | |
border-right: 1px dashed rgba(255,255,255,0.2); | |
} | |
#middle-number span { | |
float: left; | |
margin: 30px 0 10px 30px; | |
display: block; | |
width: 50px; | |
height: 50px; | |
font-size: 18px; | |
color: #999; | |
font-weight: bold; | |
padding-top: 10px; | |
border-radius: 50%; | |
box-shadow: inset 0 -4px 0 #dfdfdf; | |
border: 3px solid white; | |
text-shadow: none; | |
background: white; | |
} | |
#middle-middle { | |
float: left; | |
width: 130px; | |
height: 124px; | |
} | |
#middle-middle h3 { | |
font-weight: 300; | |
margin: 15px 0 0 10px; | |
font-size: 24px; | |
color: #F1D2B3; | |
text-shadow: 0 1px 3px rgba(0,0,0,0.8); | |
} | |
#middle-middle ul { | |
margin: 0 0 0 10px; | |
padding: 0; | |
} | |
#middle-middle ul li { | |
list-style: none; | |
margin: 5px 0 -5px 0; | |
padding: 0; | |
font-size: 13px; | |
color: #fff; | |
text-shadow: 0 1px 2px rgba(0,0,0,0.6); | |
} | |
#middle-white { | |
float: right; | |
text-align: center; | |
width: 84px; | |
height: 124px; | |
padding: 8px 0 0 0; | |
border-right: 1px solid #7D6B68; | |
border-left: 1px solid #644B47; | |
box-shadow: -1px 0 4px rgba(0,0,0,0.2); | |
background: #F7F7F7; | |
color: #aaa; | |
} | |
#middle-white .social { | |
float: left; | |
padding: 10px; | |
color: #ccc; | |
font-weight: bold; | |
border-bottom: 1px solid #eee; | |
width: 40%; | |
} | |
#middle-white .social:first-child { | |
margin-left: 8px; | |
} | |
#middle-white button { | |
border: none; | |
outline: none; | |
background: #E5E5E5; | |
color: #A4A4A4; | |
font-size: 16px; | |
font-weight: 300; | |
font-family: 'Open Sans'; | |
padding: 6px 14px; | |
margin: 10px 0 0 0px; | |
border-radius: 2px; | |
} | |
#bottom { | |
height: 20px; | |
border: 1px solid #393434; | |
border-radius: 0 0 4px 4px; | |
box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); | |
background: linear-gradient(top, #9d9d9d 0%,#999 45%,#999 60%,#757575 100%); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="card"> | |
<div id="top"> | |
<div id="top-side"> | |
<span id="time">14:15</span> | |
<span id="date">05/08/2012</span> | |
</div> | |
<div id="titles"> | |
<h1>Le Telagh, SBA</h1> | |
<h2>Cite 05 Julliet - Stade</h2> | |
<div id="views">102</div> | |
<div id="likes">29</div> | |
</div> | |
</div> | |
<div id="middle"> | |
<div id="middle-number"> | |
<span>03</span> | |
players needed | |
</div> | |
<div id="middle-middle"> | |
<h3>Infos</h3> | |
<ul> | |
<li>Duration: 25mn</li> | |
<li>No rules.</li> | |
<li>Going after money</li> | |
</ul> | |
</div> | |
<div id="middle-white"> | |
Invite | |
<div class="social">A</div> | |
<div class="social">B</div> | |
<button>Apply</button> | |
</div> | |
</div> | |
<div id="bottom"></div> | |
</div> | |
<img src="http://dribbble.s3.amazonaws.com/users/25672/screenshots/713807/extended.png" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"70","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment