homepage/stylesheets/screen.css
Gaspard Jankowiak 45d833a799 tables
2014-02-14 12:03:22 +01:00

271 lines
3.9 KiB
CSS

/* 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" /> */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
@font-face {
font-family: "OpenSans";
src: url('/stylesheets/fonts/OpenSans.woff') format('woff');
}
@font-face {
font-family: "OpenSansLight";
src: url('/stylesheets/fonts/OpenSans-Light.woff') format('woff');
}
@font-face {
font-family: "OpenSans";
src: url('/stylesheets/fonts/OpenSans-Italic.woff') format('woff');
font-style: italic;
}
html, body {
height: 100%;
text-align: justify;
background-color: #eeeeee;
color: #444444;
font-family: "OpenSans", sans;
line-height: 1.4em;
}
a {
text-decoration: none;
color: #5555ff;
}
a:hover {
text-decoration: underline;
}
hr {
height: 1px;
border: none;
background-color: #999999;
margin-top: 1em;
}
section h1 {
font-size: 150%;
border-left: 4px solid #5555ff;
padding-left: 11px;
margin-left: -17px;
}
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;
padding-top: 1em;
}
header h1 {
font-size: 1.5em;
margin: 0 0 0.3em 0;
}
header a {
color: #444444;
}
nav {
text-align: center;
font-size: 120%;
margin: 1em 0;
}
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 #999999;
}
footer {
font-size: 75%;
padding-bottom: 175px;
}
em {
font-style: italic;
}
table {
width: 100%;
}
thead {
color: #999999;
}
th, td {
padding: 0.3em;
}
tr {
border-bottom: 1px dotted #cccccc;
}
.publi_table td:nth-child(1) {
width: 30%;
}
.publi_table td:nth-child(2) {
width: 60%;
}
.publi_table td:nth-child(3) {
width: 10%;
}
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: #999999;
}
#wrapper {
max-width: 783px;
margin: auto;
}
#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%;
}
@media (max-width: 500px) {
body {
font-size: 80%;
}
.switcher {
float: none;
}
}
@media (max-width: 800px) {
#outter-wrapper {
width: 100%;
}
header h1 {
font-size: 1.2em;
}
header {
font-size: 1em;
}
body {
padding: 0 17px;
}
#foot_image {
display: none;
}
footer {
display: none;
}
}