/* ****************************************************
    vim: fdm=marker ts=4 sts=4 sw=4 noet

    @file:        screen.css
    @description: Feuille de style d'écran
    @author:      remi (exomel.com)
    @updated:     20101128
    @copyright    © Copyright 2008-2010 Rémi Prévost
                  Please DO NOT use this file as a base
                  for your Pubwich theme.

******************************************************/

/* Basic {{{
 ******************************************************************/

@import url(reset.css);

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix {display: inline-block;}
/* Hides from IE-mac \*/ * html .clearfix {height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */

hr { display: none; }
a * { cursor: pointer; }

body {
	background: #0f0f0f url("img/bg-body-4.gif") repeat fixed -50% 0;
	color: #ddd;
	font-size: 62.5%;
	line-height: 1.45;
	font-family: "Segoe UI", Helvetica, Arial, Tahoma, Verdana, sans-serif;
	padding: 0 20px;
}

a {
	color: #ccc;
	text-decoration: none;
	border-bottom: 1px dotted #aaa;
}

a:hover {
	color: #fff;
	border-color: #fff;
}

acronym, abbr { cursor: help; }

*::selection { background: rgba(255,255,255,0.15); color: #fff; }
::-moz-selection { background: rgba(255,255,255,0.15); color: #fff; }

/* }}} */

/* Layout {{{
 ******************************************************************/

/* Footer {{{
 ******************************************************************/

#footer {
	text-align: center;
	padding: 1.3em 0 1.9em;
	color: #777;
}

#footer .footer-inner {
	margin: 0 0 0 90px;
}

#footer a {
	color: #aaa;
}

#footer a:hover {
	color: #fff;
}

/* }}} */

/* Header {{{
 ******************************************************************/

h1 {
	font-size: 290%;
	font-weight: normal;
	text-align: center;
	padding-bottom: 0.6em;
	margin-bottom: 0.3em;
	width: 100%;
	color: #666;
	font-family: 'adelle-1', Georgia, serif;
	position: absolute;
	left: -9999px;
}

h1 strong {
	color: #fafafa;
	font-weight: normal;
	font-style: normal;
	font-size: 140%;
}

h1 a {
	color: #666;
	border: none;
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	margin: 0 0 0 90px;
}

h1 a:hover {
	text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

h1 a img {
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
}

h1 a:hover img {
	-webkit-transform: scale(1.3) rotate(-10deg) translate(-10px,0);
	-moz-transform: scale(1.3) rotate(-10deg) translate(-10px,0);
}

h1 span {
	position: relative;
	top: -7px;
	left: 6px;
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0.4)));
}

/* }}} */

/* Columns {{{
 ******************************************************************/

#wrap {
	font-size: 115%;
	width: 86em;
	margin: 40px auto 0;
	max-width: 100%;
	min-width: 900px;
}

.col1 {
	float: left;
	margin: 0 0 0 -100%;
	width: 315px;
}

.col2-wrap {
	float: left;
	width: 100%;
}

.col2 {
	margin: 0 245px 0 335px;
}

.col3 {
	width: 225px;
	margin: 0 0 0 -225px;
	float: right;
}

@media screen and (max-width: 945px) { /* {{{ */

	#vim-doesnt-like-media-queries {}

	.col2 {
		float: left;
		margin-right: 0;
	}
	.col3 {
		margin: 0 auto;
		clear: left;
		width: 100%;
		float: none;
	}
	#projets li {
		float: left;
		width: 32%;
		margin-right: 2% !important;
		margin-bottom: 2% !important;
	}
	#projets li:nth-child(3n) { margin-right: 0 !important; }
	#wrap {
		width: 100%;
		min-width: 100%;
	}
	#footer .footer-inner,
	h1 a {
		margin: 0;
	}
	.instapaper {
		float: left;
		width: 49%;
	}
	.delicious {
		float: right;
		width: 49%;
	}
	#projets {
		clear: both;
	}
	.gowalla li {
		float: left;
		width: 32%;
		padding: 0 1% 0 0;
	}
}
/* }}} */

@media screen and (max-width: 630px) { /* {{{ */

	#vim-doesnt-like-media-queries {}

	h1 {
		position: relative;
		left: 0;
	}
	.col3,
	.col2,
	.col1 {
		float: none;
		margin: 0;
		width: 100%;
	}
	#projets li {
		float: left;
		width: 48%;
		margin-right: 2% !important;
		margin-bottom: 2% !important;
	}
	#projets li:nth-child(3n) { margin-right: 2% !important; }
	#projets li:nth-child(2n) { margin-right: 0 !important; }
	.delicious,
	.instapaper {
		float: none;
		width: auto;
	}
	#projets {
		clear: none;
	}
}
/* }}} */

/* }}} */

/* Boxes {{{
 ******************************************************************/

.boite {
	margin: 0 0 18px;
}

.boite h2 {
	font-size: 130%;
	padding: 8px 10px 9px;
	background: rgba(0,0,0,0.5);
	margin-bottom: 0.3em;
	color: #ccc;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	line-height: 1.1;
	font-family: 'adelle-1', Georgia, serif;
	font-weight: normal;
	text-shadow: 1px 1px 0 #000;
}

.boite h2 span {
	font-size: 80%;
	color: #444;
	font-weight: normal;
	margin: 0 0 0 3px;
}

.boite h2 a {
	text-decoration: none;
	border: none;
}

.flickr h2 a { color: #0063DC; }
.flickr h2 em { color: #FF0084; font-style: normal; }
.lastfm h2 a { color: #DC413A; }
.twitter h2 a { color: #33CCFF; }
#projets h2 a { color: #86BAAB; }
.delicious h2 a { color: #3274D0;	}
.readernaut h2 a { color: #B6C125; }
.gowalla h2 a { color: #FF4400; }
.instapaper h2 a { color: #F4F4F4; }

.nodata {
	background: #111;
	opacity: 0.2;
	padding: 8px 10px;
}

/* }}} */

/* }}} */

/* Services {{{
 ******************************************************************/

/* Intro {{{
 ******************************************************************/

#intro {
	margin-bottom: 0;
}

#intro div {
	padding: 5px;
}

#intro p {
	margin: 0 0 1em;
}

#intro code {
	font-size: 10pt;
	color: rgba(255,255,255,0.3);
}

#intro img {
	float: left;
	margin: 0 1em 0 0;
	border: 5px solid rgba(0,0,0,0.2);
	width: 3.7em;
	width: 42px;
	max-width: 120px;
}

#intro p span {
	display: block;
	padding-top: 6px;
}

/* }}} */

/* Flickr {{{
 ******************************************************************/

.flickr ul {
	padding-top: 5px;
}

.flickr li {
	float: left;
	display: block;
	margin-right: 5px;
	margin-bottom: 5px;
}

.flickr li.last-in-row {
	margin-right: 0;
}

.flickr li a, .flickr li img {
	float: left;
	display: block;
	border: none;
}

.flickr li img {
	position: relative;
	z-index: 1000;
}

.flickr ul:hover li {
	opacity: 0.3;
	-moz-transition: opacity 0.1s linear;
}

.flickr ul:hover li:hover {
	opacity: 1;
}

/* }}} */

/* Twitter {{{
 ******************************************************************/

.twitter li {
	padding: 5px 10px 7px;
	margin: 0 0 5px;
	background: rgba(0, 0, 0, 0.2);
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	overflow: hidden;
}

.twitter li.reply {
	opacity: 0.5;
}

.twitter li span.date {
	display: block;
	float: left;
	width: 85px;
	margin-right: 10px;
}

.twitter li span.date a {
	color: #777;
	text-decoration: none;
	border: none;
}

.twitter li p {
	display: block;
	margin: 0 0 0 95px;
}

.twitter li em.from {
	display: none;
}

/* }}} */

/* Instapaper {{{
 ******************************************************************/

.instapaper {
	margin-right: 0;
}

.instapaper ul {
	margin: 0 0 0 19px;
	padding-top: 5px;
}

.instapaper li {
	margin: 0 0 5px;
	padding: 0 0 5px;
	line-height: 1.4;
	list-style: circle;
}

.instapaper li .date {
	position: relative;
	top: 1px;
	font-size: 90%;
	color: rgba(255,255,255,0.4);
}

/* }}} */

/* Delicious {{{
 ******************************************************************/

.delicious {
	margin-right: 0;
}

.delicious ul {
	margin: 0 0 0 19px;
	padding-top: 5px;
}

.delicious li {
	margin: 0 0 5px;
	padding: 0 0 5px;
	line-height: 1.4;
	list-style: circle;
}

/* }}} */

/* Last.fm {{{
 ******************************************************************/

.lastfm ul {
	padding-top: 5px;
}

.lastfm li {
	float: left;
	margin: 0 0 5px 0;
	width: 100%;
}

.lastfm li a {
	text-decoration: none;
	border: none;
	/*padding: 5px 0 5px 5px;*/
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	-moz-transition: background-color 0.2s linear;
}

.lastfm li a:hover {
	background: rgba(0,0,0,0.5);
}

.lastfm li img {
	background: url("img/cover.png");
	margin: 5px 0 5px 5px;
}

.lastfm li a, .lastfm li img {
	display: block;
	float: left;
}

.lastfm li a strong {
	float: left;
	display: block;
	width: 231px;
	font-weight: normal;
	padding: 10px 5px 11px 10px;
	color: #777;
	line-height: 1.4;
}

.lastfm li a span {
	font-size: 100%;
	display: block;
	font-weight: bold;
	color: #eee;
}

.lastfm li:nth-child(1) span { font-size: 140%; }
.lastfm li:nth-child(2) span { font-size: 130%; }
.lastfm li:nth-child(3) span { font-size: 120%; }
.lastfm li:nth-child(4) span { font-size: 110%; }

/* }}} */

/* Readernaut {{{
 ******************************************************************/

.readernaut ul {
	padding-top: 5px;
}

.readernaut li {
	float: left;
	margin: 0 0 5px 0;
}

.readernaut li a {
	text-decoration: none;
	border: none;
	background: rgba(0, 0, 0, 0.2);
	padding: 5px 0 5px 5px;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

.readernaut li a:hover {
	background: rgba(0,0,0,0.5);
}

.readernaut li a, .readernaut li img {
	display: block;
	float: left;
}

.readernaut li a strong {
	float: left;
	display: block;
	width: 150px;
	font-weight: normal;
	padding: 8px 10px 8px 10px;
	color: #777;
}

.readernaut li a span {
	display: block;
	font-weight: bold;
	color: #eee;
	line-height: 1.2;
	padding-bottom: 0.2em;
}

/* }}} */

/* Exomel {{{
 ******************************************************************/

#projets li {
	margin: 0 0 5px;
}

#projets li a {
	display: block;
	position: relative;
	text-decoration: none;
	border: none;
	background: rgba(0, 0, 0, 0.2);
	padding: 5px;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

#projets li a:hover {
	background: rgba(0,0,0,0.5);
}

#projets li a img {
	display: block;
	-ms-interpolation-mode:bicubic; /* propriété propriétaire (!) d'IE7 */
	width: 100%;
}

/* }}} */

/* Gowalla {{{
 ******************************************************************/

.gowalla .boite-inner {
	padding: 10px 10px 2px;
	background: rgba(0, 0, 0, 0.2);
}

.gowalla .boite-inner a {
	border: none;
}

.gowalla .boite-inner a img {
	float: left;
	margin: 7px 0 0 5px;
	-ms-interpolation-mode:bicubic; /* propriété propriétaire (!) d'IE7 */
}

.gowalla .boite-inner a strong {
	display: block;
	margin: 0 0 0 36px;
}

.gowalla .boite-inner small {
	display: block;
	margin: 0 0 0 36px;
	color: rgba( 255, 255, 255, 0.3 );
}

.gowalla .boite-inner li {
	margin: 0 0 0.5em;
}

/* }}} */

/* GitHub {{{
 ******************************************************************/

.github h2 a {
	color: #5DAFE4;
}

.github .boite-inner {
	padding: 3px 10px;
}

.github .boite-inner li {
	margin: 0 0 0.5em;
}

.githubrepositories .boite-inner {
	padding: 0;
}

.githubrepositories li {
	margin-bottom: 0.8em;
	padding: 5px 10px 7px;
	background: rgba(0, 0, 0, 0.2);
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

.githubrepositories li.fork {
	opacity: 0.5;
}

.githubrepositories .metadata {
	float: left;
	width: 85px;
	overflow: hidden;
}

.githubrepositories span.fork {
	opacity: 0.5;
	margin: 0 0 0 0.2em;
}

.githubrepositories .infos {
	margin-left: 95px;
}

/* }}} */

/* Reddit {{{
 ******************************************************************/

.reddit h2 a {
	color: #326699;
}

.reddit .boite-inner {
}

.reddit ul {
	margin: 5px 0 0 20px;
}

.reddit .boite-inner li {
	margin: 0 0 0.7em;
	list-style: disc;
}

.reddit .comments,
.reddit .score,
.reddit .subreddit {
	background: rgba(0,0,0,0.4);
	-moz-border-radius: 4px;
	position: relative;
	top: 1px;
	padding: 4px 5px 3px 5px;
	color: rgba(255,255,255,0.4);
	font-size: 85%;
	border: none;
	white-space: nowrap;
}

.reddit .comments:hover,
.reddit .score:hover,
.reddit .subreddit:hover {
	color: rgba(255,255,255,0.9);
}

.reddit li a.story {
	margin: 0 0.3em 0.3em 0;
	border: none;
}

.reddit li a.story span {
	opacity: 0.5;
	font-size: 85%;
}

/* }}} */

/* Dribbble {{{
 ******************************************************************/

.dribbble h2 a {
	color: #EA4C88;
}

.dribbble .boite-inner {
	padding: 6px 0 0;
}

.dribbble li {
	float: left;
	width: 30%;
	padding: 0 1.5% 12px;
}

.dribbble li img {
	width: 100%;
	float: left;
	display: block;
}

.dribbble li a {
	border: none;
	float: left;
	padding: 3%;
	width: 94%;
	background: rgba(0,0,0,0.4);
}

.dribbble li a:hover {
	background: rgba(0,0,0,0.7);
}

/* }}} */

/* Notes {{{
 ******************************************************************/

#notes {
	margin-bottom: 10px;
}

#notes h2 a {
	color: #FDAA34;
}

#notes ul {
	padding: 5px 10px 0;
	margin: 0;
}

#notes ul li {
	margin: 0 0 8px;
}

#notes ul li a {
	font-weight: bold;
	border: none;
	font-size: 115%;
}

#notes ul li span.date {
	color: rgba(255,255,255,0.5);
	display: block;
	margin: 0 0 1px;
	line-height: 1.3;
}

#notes ul li span.bullet {
	float: left;
	display: block;
	width: 8px;
	height: 8px;
	margin: 4px 6px 0 0;
	border: 1px solid rgba(255,255,255,0.2);

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;

	box-shadow: 1px 1px 0 rgba(0,0,0,0.4);
	-moz-box-shadow: 1px 1px 0 rgba(0,0,0,0.4);
	-webkit-box-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

/* }}} */

/* Credits {{{
 ******************************************************************/

#credits p {
	padding: 5px;
	margin: 0 0 0.3em;
}

#credits a.pubwich {
	background: url("img/favicon.png") no-repeat 0 50%;
	padding: 4px 0 4px 18px;
	border: none;
}

#credits a.pubwich strong {
	border-bottom: 1px dotted;
}

/* }}} */

/* }}} */

