memex/asset/style.css
2018-07-17 03:07:13 +12:00

225 lines
3.4 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; }
/* MENU */
.menu {
color: #fff;
height: 100%;
background:#000;
position:fixed;
left: 0px;
top: 0px;
z-index: 100;
padding-top:20px;
width: 150px;
/*-webkit-transition: width 0.05s ease-in-out;
transition: width 0.05s ease-in-out;*/
}
.menu: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);*/
}
.menu a {
color: #333;
}
.menu:hover a {
color: #999;
}
.menu:hover a:hover {
color: #eee;
}
.menu-item {
font-size:1.5em;
height: 50px;
padding-top: 10px;
margin: 0px auto;
}
.menu-item .count {
float: left;
text-align: right;
width: 50%;
padding-right: 10px;
}
.menu-item i {
float: left;
text-align: center;
width: 50px;
margin-top: 2px;
}
.menu-tag-container {
display: table;
margin: 40px auto;
}
.menu-tag-container i {
display: table-row;
font-size:1.5em;
width: 100%;
text-align: center;
color: #333;
height: 30px;
}
.menu:hover .menu-tag-container i {
color: #999;
}
.menu-tag {
display: table-row;
font-size:0.8em;
height: 20px;
margin-top: 5px;
padding-top: 2px;
float: left;
clear: left;
}
.menu-tag-count {
float: left;
text-align: right;
padding-right: 10px;
}
.menu-tag-label {
float: left;
text-align: left;
}
.container {
margin-left: 150px; /* This should be the width of the menu */
}
/*.menu: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;
}