1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
| // ---------------------------------------------------------------------------
// Imports
@import "base";
@import "compass/reset";
@import "compass";
/* -------------------------------------------------------------------------*/
/* Layout */
$saumon: #f5edd6;
$marron: #412114;
$rouge: #d23129;
body{
width: 90%;
@include container;
@include susy-grid-background;
background-color: $saumon;
font-family: Arial;
header{
@include span-columns($total-columns , $total-columns);
img{
@include span-columns(3 , $total-columns);
margin-top: 0.2em;
}
}
nav{
@include span-columns(6 omega , $total-columns);
ul{
@include span-columns(6 omega , 6);
li{
@include span-columns(2 , 6);
@include box-sizing(border-box);
display: inline-block;
font-size: 3em;
text-align: center;
a{
@include box-sizing(border-box);
padding: 0.2em 0.2em 0 0.2em;
border-radius: 0.5em 0 0 0 ;
text-decoration: none;
background-color: $rouge;
color: $saumon;
&:hover{
background-color: $marron;
}
}
a.select{
background-color: $marron;
}
}
}
}
#espece{
> div{
@include span-columns(12, $total-columns);
@include box-sizing(border-box);
margin: 1em;
height: 27em;
padding: 1em;
#calculette{
@include pre(2 , $total-columns);
@include span-columns(3 ,$total-columns );
li{
@include span-columns(1 ,3 );
@include box-sizing(border-box);
background-color:$rouge;
display: inline-block;
font-size: 2em;
font-weight: bold;
text-align: center;
width: 3em;
height: 3em;
margin:0.1em;
input{
width: 100%;
height: 100%;
}
}
}
#info{
@include span-columns(2,$total-columns);
width: 20em;
margin
li{
@include span-columns(1 ,2 );
@include box-sizing(border-box);
display: inline-block;
font-size: 1em;
height: 1.6em;
width: 10em;
margin-top: 1em;
input{
width: 50%;
}
}
}
a{
@include box-sizing(border-box);
@include span-columns(1 ,2 );
@include box-sizing(border-box);
display: inline-block;
width: 8em;
height:6em;
font-weight: bold;
font-size: 1.2em;
padding-top:2.5em;
text-align: center;
margin-top: 2em;
background-color: $rouge;
color: $saumon;
text-decoration: none;
&:hover{
background-color: $marron;
}
}
}
}
} |