memex/asset/style.css

132 lines
1.9 KiB
CSS

html {
background:#ddd;
font-family:'Monaco', 'Andale Mono', 'Deja Vu Sans Mono', 'Consolas', monospace;
font-size:1em;
box-sizing: border-box;
padding: 0em;
margin:0;
}
body {
padding: 0em;
margin:0;
}
* { box-sizing: border-box; }
.grid {
/* center */
margin: 0 auto;
margin-top: 20px;
}
/* clearfix */
.grid:after {
content: '';
display: block;
clear: both;
}
.grid-item {
width: 350px;
margin-bottom: 20px;
border-radius: 3px;
color:#000;
background:#ccc;
padding:20px;
min-height:2.4em;
float:left;
box-sizing: border-box;
}
.grid-item:hover {
background:#bbb;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .1);
}
/* LINK */
a#url {
color:#aaa;
text-decoration:underline;
}
a#urlseen {
color:#aaa;
text-decoration:underline;
}
.grid-item:hover a#url {
color:#000;
}
.grid-item:hover a#url:hover {
color:#bbb;
background-color: #000;
}
.grid-item:hover a#urlseen {
color:#666;
}
.grid-item:hover a#urlseen:hover {
color:#bbb;
background-color: #000;
}
/* TITLE */
.title {
margin-right: 45px;
font-size:1em;
color:#000;
/*background-color: #000;*/
}
/* LINK, NOTE, QUOTE, TERM, TAGS */
.link, .note, .quote, .term, .tags, .prog {
padding-top: 1em;
font-size:0.8em;
color:#999;
}
.grid-item:hover .link,
.grid-item:hover .note,
.grid-item:hover .quote,
.grid-item:hover .term,
.grid-item:hover .prog
{
color:#000;
}
.tags a {
color:#999;
text-decoration:none;
}
.grid-item:hover .tags a {
color:#000;
}
.grid-item:hover .tags a:hover {
color:#bbb;
background-color: #000;
}
.textIcon {
color:#bbb;
margin-right:0.75em;
}
.grid-item:hover .textIcon {
color:#999;
}
/* TYPE */
#type a {
text-align: center;
vertical-align: top;
width: 70px;
height: 62px;
position: absolute;
padding-top: 18px;
top: 0px;
right: 0px;
color:#bbb;
font-size:1.5em;
/*background: #000;*/
}
.grid-item:hover #type a:hover {
color:#000;
}
.grid-item:hover #type a {
color:#999;
}