botanjs/src/Astro/Blog/Components/Entry/Mega.css
raw ยท 2677 bytes
.m_title {
font-size: 2.5em;
color: #444;
}
.m_more {
color: #76400C;
}
.mega_entry span {
display: block;
}
.mega_entry {
border: 6px solid white;
background: white;
color: black;
position: relative;
margin: 1em;
display: block;
word-wrap: break-word;
box-shadow: 0 0 0 1px #D4D7C9;
}
.mega_entry:hover {
text-decoration: none;
}
.mega_entry:after {
content: attr(data-content);
width: 100%;
height: 0;
top: 100%;
position: absolute;
overflow: hidden;
color: white;
background: rgba(0, 0, 0, 0.65);
font-family: custom-serif;
padding: 0 0.5em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
-moz-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
-ms-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
-o-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
-moz-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
-ms-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
-o-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
}
.mega_entry:focus:after, .mega_entry:hover:after {
top: 50%;
height: 50%;
padding: 0.5em;
}
.mega_entry > #noteTag {
background: black;
}
.noteTag {
color: white;
padding: 0.2em;
overflow: hidden;
-moz-box-shadow: 0 2px 2px 0 black;
-webkit-box-shadow: 0 2px 2px 0 black;
box-shadow: 0 2px 2px 0 black;
position: absolute;
background: slategrey;
right: -6px;
top: 10px;
}
.mega_entry > .cCont {
position: relative;
height: 130px;
background-position: center top;
background-repeat: no-repeat;
background-color: #EEE;
background-image: url('http://file.astropenguin.net/blog/layout-images/archived.png');
}
.mega_entry > .cCont:before {
content: attr(data-content);
position: absolute;
line-height: 100%;
font-size: 2.5em;
padding: 0.1em;
text-shadow: 2px 2px 8px black;
color: white;
width: 100%;
height: 100%;
box-sizing: border-box;
background-color: rgba( 0, 0, 0, 0.2 );
}
.cDate {
padding: 0.2em;
font-size: 0.8em;
}
.cEOF {
height: 10px;
}
.Sun { background: #FF1D25; }
.Mon { background: #662D91; }
.Tue { background: #3FA9F5; }
.Wed { background: #7AC943; }
.Thu { background: #FF7BAC; }
.Fri { background: #603813; }
.Sat { background: #FF931E; }