Skip to content

Instantly share code, notes, and snippets.

@jmccaffrey
Created February 19, 2013 23:08
Show Gist options
  • Save jmccaffrey/4991096 to your computer and use it in GitHub Desktop.
Save jmccaffrey/4991096 to your computer and use it in GitHub Desktop.
A CodePen by Wendy Thompson.
<DOCTYPE! html>
<html lang="en">
<head>
<meta charset="utf-8">
<title="blue-dribbble">
<link rel="stylesheet" href="css/blue-styles.css">
</head>
<body>
<div class="container">
<div class="email">
<div class="newmail clear">
<bold>New Email</bold>
<div class="clear"></div>
</div>
<div class="searchbox"></div>
<ul class="folders">
<li>Inbox</li>
<li>Drafts</li>
<li>Starred</li>
<li>Sent</li>
<div class="clear"></div>
</ul>
<div class="labels">
<p>Labels</p>
</div>
<div class="menubar">
<ul class="menu">
<li>Archive</li>
<li class="spam">Spam</li>
</ul>
<div class="clear"></div>
<p>Select:<span> All, None, Read, Unread, S</span></p>
</div>
<div class="clear"></div>
<ul>
<div class="emails1">
<li>Path</li>
<li>Bourkeful</li>
</div>
<div class="clear"></div>
<div class="emails2">
<li>Blake Machado</li>
<li>Blake Machado</li>
</ul>
</div>
</div>
</body>
</html>
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
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 {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
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: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
/*
Custom Styles
*/
.container {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
width: 400px;
height: 300px;
margin: 20px;
background:#02419B;
background: -webkit-linear-gradient(top, #02419B, #1F87D4);
background: -moz-linear-gradient(top, #02419B, #1F87D4);
background: -ms-linear-gradient(top, #02419B, #1F87D4);
background: -o-linear-gradient(top, #02419B, #1F87D4);
background: linear-gradient(top, #02419B, #1F87D4);
}
.email {
background-color: #F2F4FC;
background: #F2F4FC url("Screen Shot Icons.jpg") 50% 50% no-repeat;
background-image: -webkit-(url, #1F87D4, #02419B);
/*background-image: -moz-(url, #1F87D4, #02419B);*/
/*background-image: -ms-(url, #1F87D4, #02419B);*/
/*background-image: -o-(url, #1F87D4, #02419B);*/
/*background-image: (url, #1F87D4, #02419B);*/
-moz-border-radius: 11px;
border-radius: 11px;
height:250px;
padding-top: 15px;
padding-left: 15px;
padding-bottom: 10px;
margin-left: 30px;
/*margin-top: 30px; */
}
.clear{
clear:both;
}
.newmail {
float: left;
background: #02419B;
background: -webkit-linear-gradient(top, #1F87D4, #02419B);
background: -moz-linear-gradient(top, #1F87D4, #02419B);
background: -ms-linear-gradient(top, #1F87D4, #02419B);
background: -o-linear-gradient(top, #1F87D4, #02419B);
background: linear-gradient(top, #1F87D4, #02419B);
/*background-color: purple;*/
width: 30%;
height: 8%;
-moz-border-radius: 8px;
border-radius: 8px;
padding-top: 10px;
font-size: 13px;
text-align: center;
font-weight: bold;
color: white;
letter-spacing: .5px;
margin-bottom: 10px;
}
.searchbox {
float: left;
border-top: 1px solid #9AA3B0;
border-bottom: 1px solid #9AA3B0;
border-left: 1px solid #9AA3B0;
-moz-border-top-left-radius: 8px;
border-top-left-radius: 8px;
-moz-border-bottom-left-radius: 8px;
border-bottom-left-radius: 8px;
height: 30px;
width: 65%;
margin-left: 15px;
background: white;
}
.folders, .labels {
background: url("icons-1.padding") 0% 50% no-repeat;
margin-top: 10px;
width: 30%;
color: gray;
/*font-weight: bold;*/
font-size: 14px;
margin: 10px;
}
.folders li {
padding: 10px;
}
/*.labels {*/
width: 30%;
}
.menubar {
font-size: 12px;
float: left;
margin-left: 10px;
margin-top: 10px;
color: gray;
border-top: 1px solid #9AA3B0;
border-left: 1px solid #9AA3B0;
background: white;
background: -webkit-linear-gradient(top, white 40%, #F3F8FC 60%);
background: -moz-linear-gradient(top, white, #F3F8FC);
background: -ms-linear-gradient(top, white, #F3F8FC);
background: -o-linear-gradient(top, white, #F3F8FC);
background: linear-gradient(top, white, #F3F8FC);
}
.menu{
font-size: 12px;
color: gray;
float: left;
font-weight: bold;
}
.menu li {
float: left;
width: 85px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 20px;
border-top: 1px solid #9AA3B0;
border-left: 1px solid #9AA3B0;
border-bottom: 1px solid #9AA3B0;
background:white;
background: -webkit-linear-gradient(top, white 40%, #F3F8FC 60%);
background: -moz-linear-gradient(top, white, #F3F8FC);
background: -ms-linear-gradient(top, white, #F3F8FC);
background: -o-linear-gradient(top, white, #F3F8FC);
background: linear-gradient(top, white, #F3F8FC);
}
.spam {
border-right: 1px solid #9AA3B0;
width: 100px;
}
p {
padding: 10px 0px 10px 0px;
font-size: 12px;
font-weight: bold;
color: gray;
}
span {
color: #599DE4;
font-weight: bold;
}
.emails1, .emails2 {
float: left;
font-size: 12px;
}
.emails1 li {
font-weight: bold;
padding: 8px;
/*border: 2px solid gray;*/
color: gray;
border-top: 1px solid #9AA3B0;
/*border-bottom: 1px solid #9AA3B0;*/
border-left: 1px solid #9AA3B0;
background: white;
background: -webkit-linear-gradient(top, white 80%, #F3F8FC 20%);
background: -moz-linear-gradient(top, white, #F3F8FC);
background: -ms-linear-gradient(top, white, #F3F8FC);
background: -o-linear-gradient(top, white, #F3F8FC);
background: linear-gradient(top, white, #F3F8FC);
}
.emails2 li {
padding: 8px;
color: gray;
border-top: 1px solid #9AA3B0;
/*border-bottom: 1px solid #9AA3B0;*/
border-left: 1px solid #9AA3B0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment