penguin/AstroJS

Javascript framework for my blog

botanjs/src/Astro/Blog/Components/Entry/Mega.css

raw ยท 2361 bytes

.it-shucks > a {
	float: right;
}

.mega-entry {
	border: 6px solid white;
	background: white;
	color: black;

	position: relative;
	margin: 0.5em;

	display: block;

	word-wrap: break-word;

	box-shadow: 0 0 0 1px #D4D7C9;

	max-width: 80%;
	width: 600px;
}

.mega-entry:hover {
	text-decoration: none;
}

.mega-entry .cCont > img {
	position: absolute;
	max-width: 100%;
}

.mega-entry .cCont:after {
	content: attr(data-content);

	width: 100%;
	height: 0;

	top: 100%;

	position: absolute;

	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 .cCont:focus:after, .mega-entry .cCont: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;
	color: white;
	overflow: hidden;
	height: 130px;
}

.mega-entry .cCont > h2 {
	position: absolute;


	padding: 0 0.2em;
	text-shadow: 2px 2px 8px black;

	z-index: 1;
}

.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; }