You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

361 lines
7.2 KiB

$default-box-shadow-h-offset : 0px;
@import "less/framework";
@import "compass/css3/border-radius";
@import "compass/css3/font-face";
@import "compass/css3/box-shadow";
@import "compass/css3/transition";
@import "compass/css3/text-shadow";
$default-transition-duration: .5s;
// Color scheme: colorschemedesigner.com
// 88AADD -> main
// BCD0EE -> light-grey
// A9C5EE -> light
// 2C5490 -> dark
// 7689A6 -> grey
$mainBackgroundColor: #DDDDE0;
$mainColor: #88AADD;
$lightGrey: #BCD0EE;
$light : #A9C5EE;
$dark : #2C5490;
$darkGrey : #7689A6;
$backgroundColor: $mainBackgroundColor;
$hoverColor: #E66;
$hoverColorShadow: #411;
$titleColor: $darkGrey;
$higlightColor: #8AD;
$higlightColorShadow: #236;
$selectedBlockColor: rgba(0,0,0,.1);
$topColor: #2C5490;
$footerColor: #BCD0EE;
$linkColor: $darkGrey;
@mixin innerblock() {
background-color: rgba(#000,0.02);
@include box-shadow(#FFF 0 0 3px, rgba(#000,0.2) 0 0 3px inset);
@include border-radius();
& > * {
padding: 20px;
}
&:hover {
background-color: rgba(#000,0.05);
}
}
@mixin blueinnerblock() {
background: $higlightColor;
color: #fafafa;
font-weight: bold;
@include text-shadow(0 0 3px #000);
@include border-radius(5px);
@include box-shadow(#FFF 0 0 3px, rgba(#000,0.3) 0 0 5px inset);
@include column(9,true);
& > * {
margin: 20px;
}
}
// Height
* {
@include transition();
}
$navHeight: 50px;
body {
background: $backgroundColor;
font-family: Georgia, 'Kreon', serif;
font-size: 1.2em;
}
a {
color: $linkColor;
border: none;
text-decoration: none;
}
a:hover {
color: $hoverColor;
}
img {
max-width: 100%; }
article {
img {
@include innerblock();
padding: 15px;
@include column(4);
}
}
.corps {
margin: 48px 0;
line-height: 32px;
}
#metacontainer{
border-bottom: 1px solid #888;
}
body > header {
margin: 0;
color: #CCC;
background-color: $topColor;
line-height: $navHeight;
font-weight: bold;
@include box-shadow();
}
body > footer {
border-top: solid 1px rgba(0,0,0,0.1);
border-bottom: solid 1px rgba(0,0,0,0.1);
padding: 80px;
margin: 0;
bottom: 0;
background-color: $footerColor;
font-size: .9em;
@include text-shadow( 1px 1px #fff);
@include box-shadow(rgba(#000,0.2) 0 0 7px inset);
a {
color: $dark;
}
}
article > footer {
margin: 48px 0;
ul {
list-style-type: none;
}
@include column(3);
@include innerblock;
font-size: .7em;
ul {
list-style-type: none;
}
}
$menuItemWidth: 8em;
nav {
border-bottom: solid 1px rgba(0,0,0,0.1);
ul {
list-style-type: none;
li {
display: inline-block;
height: $navHeight;
margin-right: 0;
width: $menuItemWidth;
text-align: center;
border-left: solid 1px rgba(255,255,255,0.1);
border-right: solid 1px rgba(0,0,0,0.2);
* {
display: block;
margin-right: 0px;
margin-left: 0px;
padding: 0 10px;
height: 100%;
@include text-shadow( -1px -1px rgba(0,0,0,0.2), 1px 1px rgba(0,0,0,0.2));
}
span.active {
background-color: $selectedBlockColor;
}
a {
color: rgba(255,255,255,0.8);
&:hover {
color: rgba(255,255,255,0.8);
background-color: rgba(255,255,255,0.1);
}
}
}
}
}
header #choixrss, header #choixlang {
display: block;
margin-right: 0px;
margin-left: 0px;
height: 100%;
@include text-shadow( -1px -1px rgba(0,0,0,0.2), 1px 1px rgba(0,0,0,0.2));
float: right;
height: $navHeight;
text-align: center;
border-left: solid 1px rgba(255,255,255,0.1);
border-right: solid 1px rgba(0,0,0,0.2);
a {
color: $lightGrey;
display: block;
height: 100%;
width: $menuItemWidth;
padding: 0 10px 0 10px;
text-align: center;
}
a:hover {
color: rgba(255,255,255,0.8);
background-color: rgba(255,255,255,0.1);
}
}
nav ul li, #choixlang, #choixrss {
a:hover {
@include box-shadow(#337 0 0 8px inset);
}
}
#main, #container {
margin: 0px auto;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Expletus Sans',Futura,sans-serif;
@include text-shadow( 0px -1px 0px $higlightColorShadow, 0px 1px 0px #FFF);
font-weight: bold;
color: $titleColor;
margin: 48px 0;
text-align: center;
a:hover {
@include text-shadow( 0px -1px 0px $hoverColorShadow, 0px 1px 0px #FFF);
}
}
article article {
@include innerblock();
.date { float: right; padding: 0; margin: 20px; }
margin: 24px 0;
h1, h2, h3, h4, h5, h6 {
text-align: left;
font-size: 36px;
line-height: 30px;
margin: 0 0 16px;
}
}
.intro {
margin-bottom: 24px;
}
.sc {
font-variant: small-caps;
}
.block {
@include innerblock();
margin-bottom: 48px;
height: 3 * 48px ;
h3 {
text-size: .6em;
text-align: left;
margin: 0 0 12px;
}
cursor: pointer;
@include column(3);
float: left;
}
.right {
float: right;
}
.left {
float: left;
}
.flush {
clear: both;
}
.slideshow {
@include blueinnerblock();
& > * {
padding: 3em;
}
}
.date {
font-size: 0.4em;
border: 1px solid $darkGrey;
text-align: center;
width: 4.1em;
line-height: 1.5em;
display: inline-block;
vertical-align: middle;
margin-right: 1em;
.day, .month, .year {
display: block;
}
.day {
float: left;
width: 1.7em;
background: $light;
color: $dark;
}
.month {
float: right;
width: 2.3em;
color: $light;
background: $dark;
border-left: 1px solid $mainColor;
}
.year {
line-height: 3ex;
clear: both;
background: $higlightColorShadow;
color: $mainColor;
border-top: 1px solid $higlightColorShadow;
}
}
.archive {
background-color: rgba(#000,0.02);
@include box-shadow(#FFF 0 0 3px, rgba(#000,0.2) 0 0 3px inset);
@include border-radius();
padding: 2em;
}
.tag {
cursor: pointer;
}
.nicer {
font-family: "Lucida Grande", Tahoma
}
#elementblock {
ul {
list-style-type: none;
li {
display: inline-block;
@include column(3);
a {
float: left;
background-color: rgba(#000,0.02);
@include box-shadow(#FFF 0 0 3px, rgba(#000,0.2) 0 0 3px inset);
@include border-radius();
padding: 1em;
text-align: center;
width: 80%;
}
a:hover {
background-color: rgba(#000,0.05);
}
}
}
}
.return {
@include innerblock();
padding: .4em .3em 0;
margin: 1em 0;
}
#related_articles {
#previous_articles {
@include column(4);
float: left;
}
#next_articles {
float: right;
text-align: right;
@include column(4);
}
}