memex/asset/style.css

191 lines
2.9 KiB
CSS
Raw Normal View History

2018-07-13 15:56:09 +00:00
html {
2018-07-14 15:24:09 +00:00
background:#ddd;
2018-07-13 15:56:09 +00:00
font-family:'Monaco', 'Andale Mono', 'Deja Vu Sans Mono', 'Consolas', monospace;
font-size:1em;
2018-07-14 10:07:08 +00:00
box-sizing: border-box;
padding: 0em;
margin:0;
2018-07-13 15:56:09 +00:00
}
body {
padding: 0em;
margin:0;
2018-07-14 09:24:25 +00:00
}
* { box-sizing: border-box; }
2018-07-14 10:07:08 +00:00
2018-07-16 12:38:07 +00:00
/* MENU */
.menu {
2018-07-16 04:30:40 +00:00
height: 100%;
background:#000;
position:fixed;
left: 0px;
top: 0px;
z-index: 100;
2018-07-16 12:38:07 +00:00
padding-top:20px;
font-size:1.5em;
2018-07-16 04:30:40 +00:00
/*-webkit-transition: width 0.05s ease-in-out;
transition: width 0.05s ease-in-out;*/
}
2018-07-16 12:38:07 +00:00
.menu:hover {
/*width: 370px;*/
2018-07-16 04:30:40 +00:00
/*-webkit-transition: width 0.05s ease-in-out;
transition: width 0.05s ease-in-out;*/
2018-07-16 12:38:07 +00:00
/*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 {
height: 50px;
padding-top:10px;
margin-top: 5px;
margin-right: 20px;
}
.menu-item-space {
margin-top: 50px;
}
.menu-item i {
width: 50%;
float: left;
padding: 2px 0 0 25px;
text-align: center;
}
.menu-item .count {
width: 50%;
float: left;
padding: 0 0 0 15px;
text-align: center;
2018-07-16 04:30:40 +00:00
}
.container {
margin-left: 120px;
}
2018-07-16 12:38:07 +00:00
/*.menu:hover + .container{
transition: 0.05s -webkit-filter ease-in;
2018-07-16 04:30:40 +00:00
filter: blur(3px);
2018-07-16 12:38:07 +00:00
}*/
2018-07-16 04:30:40 +00:00
.grid {
2018-07-16 04:30:40 +00:00
border: 1px;
filter: blur(0px);
margin: 20px auto;
transition: 0.05s -webkit-filter ease-out;
2018-07-14 10:07:08 +00:00
}
.grid:after {
2018-07-16 04:30:40 +00:00
/* clearfix */
content: '';
display: block;
clear: both;
2018-07-14 10:07:08 +00:00
}
2018-07-14 15:24:09 +00:00
.grid-item {
width: 350px;
margin-bottom: 20px;
2018-07-14 15:55:10 +00:00
border-radius: 3px;
2018-07-14 15:24:09 +00:00
color:#000;
background:#ccc;
padding:20px;
min-height:2.4em;
float:left;
box-sizing: border-box;
2018-07-14 15:55:10 +00:00
}
.grid-item:hover {
background:#bbb;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .1);
2018-07-14 10:07:08 +00:00
}
2018-07-13 15:56:09 +00:00
/* LINK */
2018-07-14 15:02:57 +00:00
a#url {
2018-07-14 15:55:10 +00:00
color:#aaa;
2018-07-13 15:56:09 +00:00
text-decoration:underline;
}
a#urlseen {
2018-07-14 15:55:10 +00:00
color:#aaa;
2018-07-14 15:24:09 +00:00
text-decoration:underline;
2018-07-13 15:56:09 +00:00
}
2018-07-14 15:55:10 +00:00
.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;
2018-07-14 15:02:57 +00:00
background-color: #000;
}
/* TITLE */
.title {
margin-right: 45px;
font-size:1em;
2018-07-13 15:56:09 +00:00
color:#000;
2018-07-14 15:02:57 +00:00
/*background-color: #000;*/
2018-07-13 15:56:09 +00:00
}
2018-07-14 15:02:57 +00:00
/* LINK, NOTE, QUOTE, TERM, TAGS */
.link, .note, .quote, .term, .tags, .prog {
2018-07-13 15:56:09 +00:00
padding-top: 1em;
font-size:0.8em;
2018-07-14 15:55:10 +00:00
color:#999;
}
.grid-item:hover .link,
.grid-item:hover .note,
.grid-item:hover .quote,
.grid-item:hover .term,
.grid-item:hover .prog
{
color:#000;
2018-07-13 15:56:09 +00:00
}
2018-07-14 15:02:57 +00:00
.tags a {
2018-07-14 15:55:10 +00:00
color:#999;
2018-07-14 15:02:57 +00:00
text-decoration:none;
}
2018-07-14 15:55:10 +00:00
.grid-item:hover .tags a {
color:#000;
}
.grid-item:hover .tags a:hover {
color:#bbb;
2018-07-14 15:02:57 +00:00
background-color: #000;
}
2018-07-14 15:55:10 +00:00
2018-07-14 15:24:09 +00:00
.textIcon {
2018-07-14 15:55:10 +00:00
color:#bbb;
2018-07-14 15:24:09 +00:00
margin-right:0.75em;
}
2018-07-14 15:55:10 +00:00
.grid-item:hover .textIcon {
color:#999;
}
2018-07-14 12:02:18 +00:00
/* TYPE */
2018-07-14 15:02:57 +00:00
#type a {
2018-07-14 12:02:18 +00:00
text-align: center;
vertical-align: top;
2018-07-14 15:02:57 +00:00
width: 70px;
height: 62px;
2018-07-14 12:02:18 +00:00
position: absolute;
2018-07-14 15:02:57 +00:00
padding-top: 18px;
top: 0px;
right: 0px;
2018-07-14 15:24:09 +00:00
color:#bbb;
2018-07-14 12:02:18 +00:00
font-size:1.5em;
2018-07-14 15:02:57 +00:00
/*background: #000;*/
}
2018-07-14 15:55:10 +00:00
.grid-item:hover #type a:hover {
2018-07-14 15:02:57 +00:00
color:#000;
2018-07-14 15:55:10 +00:00
}
.grid-item:hover #type a {
color:#999;
2018-07-13 15:56:09 +00:00
}