mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
159 lines
2.5 KiB
CSS
159 lines
2.5 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; }
|
|
|
|
.optionsPanel {
|
|
width: 100px;
|
|
height: 100%;
|
|
background:#000;
|
|
position:fixed;
|
|
left: 0px;
|
|
top: 0px;
|
|
z-index: 100;
|
|
/*-webkit-transition: width 0.05s ease-in-out;
|
|
transition: width 0.05s ease-in-out;*/
|
|
}
|
|
.optionsPanel:hover {
|
|
width: 370px;
|
|
/*-webkit-transition: width 0.05s ease-in-out;
|
|
transition: width 0.05s ease-in-out;*/
|
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .1);
|
|
}
|
|
|
|
.container {
|
|
margin-left: 120px;
|
|
}
|
|
.optionsPanel:hover + .container{
|
|
/*transition: 0.05s -webkit-filter ease-in;*/
|
|
filter: blur(3px);
|
|
}
|
|
|
|
.grid {
|
|
border: 1px;
|
|
filter: blur(0px);
|
|
margin: 20px auto;
|
|
transition: 0.05s -webkit-filter ease-out;
|
|
}
|
|
.grid:after {
|
|
/* clearfix */
|
|
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;
|
|
} |