homepage/_sass/screen.scss

99 lines
2.8 KiB
SCSS
Raw Normal View History

2014-01-27 21:52:30 +01:00
/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
$bg: #eee;
$text: #444;
$strong: #111;
$dim: #999;
$links: #55f;
$rule: #999;
2014-02-14 12:02:40 +01:00
$tr-rule: #ccc;
2014-01-27 21:52:30 +01:00
$width: 800px;
2014-01-28 21:21:05 +01:00
$margin: 17px;
$in_width: $width - $margin;
2014-01-28 17:21:55 +01:00
$small-width: 500px;
2014-01-27 21:52:30 +01:00
@import "compass/reset";
@import "compass/css3";
@include font-face("OpenSans", font-files("OpenSans.woff"));
@include font-face("OpenSansLight", font-files("OpenSans-Light.woff"));
2014-01-28 17:13:59 +01:00
@include font-face("OpenSans", font-files("OpenSans-Italic.woff"), $style:italic);
2014-01-27 21:52:30 +01:00
html, body { height: 100%; text-align: justify;
background-color: $bg; color: $text;
font-family: "OpenSans", sans;
line-height: 1.4em; }
a { text-decoration: none; color: $links; }
a:hover { text-decoration: underline; }
hr { height: 1px; border: none; background-color: $rule; margin-top: 1em; }
2014-01-28 21:21:05 +01:00
section h1 { font-size: 150%; border-left: 4px solid $links;
padding-left: 11px; margin-left: -$margin; }
2014-01-27 21:52:30 +01:00
section h2 { font-size: 120%; font-weight: bold; }
h1, h2, h3, h4, h5 { margin: 0.7em 0 0.5em 0; }
header { text-align: center; font-family: "OpenSansLight", sans;
line-height: 1.3em; font-weight: 400; font-size: 1.2em;
2014-01-28 08:43:25 +01:00
padding-top: 1em; }
2014-01-27 21:52:30 +01:00
header h1 { font-size: 1.5em; margin:0 0 0.3em 0; }
header a { color: $text; }
nav { text-align: center; font-size: 120%; margin: 1em 0; }
2014-01-28 13:57:57 +01:00
nav ul li { display: inline; margin: 0; clear: both; padding: 0 10px 0 11px; }
nav ul li:nth-child(n+2) { border-left: 1px solid $rule; }
2014-01-27 21:52:30 +01:00
footer { font-size: 75%; padding-bottom: 175px; }
2014-01-28 17:13:59 +01:00
em { font-style: italic; }
2014-01-27 21:52:30 +01:00
table { width: 100%; }
thead { color: $dim; }
th, td { padding: 0.3em; }
2014-02-14 12:02:40 +01:00
tr { border-bottom: 1px dotted $tr-rule; }
2014-01-27 21:52:30 +01:00
2014-01-28 13:43:46 +01:00
.publi_table td:nth-child(1) { width: 30%; }
.publi_table td:nth-child(2) { width: 60%; }
.publi_table td:nth-child(3) { width: 10%; }
2014-01-27 21:52:30 +01:00
ul { list-style-image: url('../images/bullet_dark.png'); }
li { margin-left: 1em; }
.float-left { float: left; }
.right, .float-right { float: right; }
.clear { clear: both; }
.switcher { float: left; }
.credits { color: $dim; }
2014-03-21 19:54:44 +01:00
.centered_img { display: block; margin: 1em auto; }
2014-01-28 21:21:05 +01:00
#wrapper { max-width: $in_width; margin: auto; }
2014-01-27 21:52:30 +01:00
#outter-wrapper { width: 100%; height: auto; min-height: 100%; position: relative; }
#foot_image { height: 150px; background-image: url('../images/antennes.png');
position: absolute; bottom: 0; width: 100%; }
2014-01-28 17:21:55 +01:00
@media (max-width: $small-width) {
2014-01-28 21:21:05 +01:00
body { font-size: 80%; }
2014-01-28 17:21:55 +01:00
.switcher { float: none; }
}
2014-01-27 21:52:30 +01:00
@media (max-width: $width) {
#outter-wrapper { width: 100%; }
header h1 { font-size: 1.2em; }
header { font-size: 1em; }
2014-01-28 21:21:05 +01:00
body { padding: 0 $margin; }
2014-01-27 21:52:30 +01:00
#foot_image { display: none; }
footer { display: none; }
}