2014-01-31 15:30:55 +01:00
|
|
|
/*!
|
2014-04-20 20:50:43 +02:00
|
|
|
* www.KNACSS.com V2.9.4 (2014-04) @author: Raphael Goetter, Alsacreations
|
2014-01-31 15:30:55 +01:00
|
|
|
* Licence WTFPL http://www.wtfpl.net/
|
|
|
|
*/
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* == soft reset */
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* switching box model for all elements */
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
/* soft reset */
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
ul.unstyled {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
img {
|
2014-04-20 21:51:59 +02:00
|
|
|
height: auto;
|
2014-01-31 15:30:55 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
audio,
|
|
|
|
canvas,
|
|
|
|
video {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
svg:not(:root) {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
figure {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* == typography */
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* base font-size corresponds to 10px and is adapted to rem unit */
|
|
|
|
html {
|
|
|
|
font-size: 62.5%;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background-color: #ffffff;
|
|
|
|
color: #000000;
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
font-size: 1.4em;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
/* font-sizing for content */
|
|
|
|
/* preserve vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
|
|
|
|
p,
|
|
|
|
ul,
|
|
|
|
ol,
|
|
|
|
dl,
|
|
|
|
blockquote,
|
|
|
|
pre,
|
|
|
|
td,
|
|
|
|
th,
|
|
|
|
label,
|
|
|
|
textarea,
|
|
|
|
caption,
|
|
|
|
details,
|
|
|
|
figure,
|
|
|
|
hgroup {
|
|
|
|
margin-top: .75em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
h1,
|
|
|
|
.h1-like {
|
|
|
|
margin-top: 0.65625em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 3.2rem;
|
|
|
|
line-height: 1.3125;
|
|
|
|
}
|
|
|
|
h2,
|
|
|
|
.h2-like {
|
|
|
|
margin-top: 0.75em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 2.8rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
h3,
|
|
|
|
.h3-like {
|
|
|
|
margin-top: 0.875em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 2.4rem;
|
|
|
|
line-height: 1.75;
|
|
|
|
}
|
|
|
|
h4,
|
|
|
|
.h4-like {
|
|
|
|
margin-top: 1.05em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 1.05;
|
|
|
|
}
|
|
|
|
h5,
|
|
|
|
.h5-like {
|
2014-04-20 19:35:39 +02:00
|
|
|
margin-top: 1.16666667em;
|
2014-01-31 15:30:55 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 1.8rem;
|
2014-04-20 19:35:39 +02:00
|
|
|
line-height: 1.16666667;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
h6,
|
|
|
|
.h6-like {
|
|
|
|
margin-top: 1.3125em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 1.3125;
|
|
|
|
}
|
|
|
|
/* alternate font-sizing */
|
|
|
|
.smaller {
|
2014-04-20 19:35:39 +02:00
|
|
|
font-size: 0.71428571em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.small {
|
2014-04-20 19:35:39 +02:00
|
|
|
font-size: 0.85714286em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.big {
|
2014-04-20 19:35:39 +02:00
|
|
|
font-size: 1.14285714em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.bigger {
|
2014-04-20 19:35:39 +02:00
|
|
|
font-size: 1.28571429em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.biggest {
|
2014-04-20 19:35:39 +02:00
|
|
|
font-size: 1.42857143em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
samp,
|
|
|
|
kbd {
|
|
|
|
white-space: pre-line;
|
|
|
|
/* IE fix */
|
|
|
|
white-space: pre-wrap;
|
|
|
|
font-family: Consolas, 'DejaVu Sans Mono', Courier, monospace;
|
2014-04-20 19:36:57 +02:00
|
|
|
line-height: normal;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
em {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* == hiding content */
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* hiding content */
|
|
|
|
.visually-hidden {
|
2014-04-20 19:58:53 +02:00
|
|
|
position: absolute !important;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
2014-01-31 15:30:55 +01:00
|
|
|
overflow: hidden;
|
2014-04-20 19:58:53 +02:00
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* == browsers consistency */
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* avoid top margins on first content element */
|
|
|
|
p:first-child,
|
|
|
|
ul:first-child,
|
|
|
|
ol:first-child,
|
|
|
|
dl:first-child,
|
|
|
|
blockquote:first-child,
|
|
|
|
pre:first-child,
|
|
|
|
h1:first-child,
|
|
|
|
h2:first-child,
|
|
|
|
h3:first-child,
|
|
|
|
h4:first-child,
|
|
|
|
h5:first-child,
|
|
|
|
h6:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
/* avoid margins on nested elements */
|
|
|
|
li p,
|
|
|
|
li ul,
|
|
|
|
li ol {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
/* max values */
|
|
|
|
img,
|
|
|
|
table,
|
|
|
|
td,
|
|
|
|
blockquote,
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
textarea,
|
|
|
|
input,
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
/* margin-bottom on tables */
|
|
|
|
table {
|
2014-04-20 20:58:28 +02:00
|
|
|
margin-bottom: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
/* scripts */
|
|
|
|
body > script {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* ==layout and modules */
|
|
|
|
/* ----------------------------- */
|
|
|
|
/* float layout */
|
|
|
|
/* module, gains superpower "BFC" Block Formating Context */
|
|
|
|
.mod {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
/* blocks that needs to be placed under floats */
|
|
|
|
.clear,
|
|
|
|
.line,
|
|
|
|
.row {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
/* blocks that must contain floats */
|
|
|
|
.clearfix:after,
|
2014-04-20 19:35:39 +02:00
|
|
|
.line:after {
|
2014-01-31 15:30:55 +01:00
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
/* table layout */
|
|
|
|
.row {
|
|
|
|
display: table;
|
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.row > *,
|
|
|
|
.col {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
/* inline-block */
|
|
|
|
.inbl {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
/* alignments (blocks and inline) */
|
|
|
|
/* ------------------------------ */
|
2014-04-20 20:02:32 +02:00
|
|
|
/* left (or starting) elements */
|
|
|
|
.left,
|
|
|
|
.start {
|
2014-01-31 15:30:55 +01:00
|
|
|
float: left;
|
|
|
|
}
|
2014-04-20 20:02:32 +02:00
|
|
|
img.left,
|
|
|
|
img.start {
|
2014-01-31 15:30:55 +01:00
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2014-04-20 20:02:32 +02:00
|
|
|
/* right (or ending) elements */
|
|
|
|
.right,
|
|
|
|
.end {
|
2014-01-31 15:30:55 +01:00
|
|
|
float: right;
|
|
|
|
}
|
2014-04-20 20:02:32 +02:00
|
|
|
img.right,
|
|
|
|
img.end {
|
2014-01-31 15:30:55 +01:00
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
img.left,
|
2014-04-20 20:02:32 +02:00
|
|
|
img.right,
|
|
|
|
img.start,
|
|
|
|
img.end {
|
|
|
|
margin-bottom: 0.5em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.center {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.txtleft {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.txtright {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.txtcenter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
/* blocks widths (percentage and pixels) */
|
|
|
|
.w10 {
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
.w20 {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
.w25 {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.w30 {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
.w33 {
|
|
|
|
width: 33.3333%;
|
|
|
|
}
|
|
|
|
.w40 {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
.w50 {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.w60 {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
.w66 {
|
|
|
|
width: 66.6666%;
|
|
|
|
}
|
|
|
|
.w70 {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
.w75 {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.w80 {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
.w90 {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
.w100 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.w50p {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
.w100p {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
.w150p {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
.w200p {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
.w300p {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
.w400p {
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
.w500p {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
.w600p {
|
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
.w700p {
|
|
|
|
width: 700px;
|
|
|
|
}
|
|
|
|
.w800p {
|
|
|
|
width: 800px;
|
|
|
|
}
|
|
|
|
.w960p {
|
|
|
|
width: 960px;
|
|
|
|
}
|
|
|
|
.mw960p {
|
|
|
|
max-width: 960px;
|
|
|
|
}
|
|
|
|
.w1140p {
|
|
|
|
width: 1140px;
|
|
|
|
}
|
|
|
|
.mw1140p {
|
|
|
|
max-width: 1140px;
|
|
|
|
}
|
|
|
|
.wauto {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
/* spacing helpers
|
2014-04-20 20:34:39 +02:00
|
|
|
p,m = padding,margin
|
|
|
|
a,t,r,b,l = all,top,right,bottom,left
|
|
|
|
s,m,l,n = small, medium, large, none
|
|
|
|
*/
|
2014-01-31 15:30:55 +01:00
|
|
|
.m-reset,
|
|
|
|
.ma0 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.p-reset,
|
|
|
|
.pa0 {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.ma1,
|
|
|
|
.mas {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.ma2,
|
|
|
|
.mam {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.ma3,
|
|
|
|
.mal {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pa1,
|
|
|
|
.pas {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pa2,
|
|
|
|
.pam {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pa3,
|
|
|
|
.pal {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mt0,
|
|
|
|
.mtn {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.mt1,
|
|
|
|
.mts {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-top: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mt2,
|
|
|
|
.mtm {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-top: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mt3,
|
|
|
|
.mtl {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-top: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mr0,
|
|
|
|
.mrn {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.mr1,
|
|
|
|
.mrs {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-right: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mr2,
|
|
|
|
.mrm {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-right: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mr3,
|
|
|
|
.mrl {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-right: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mb0,
|
|
|
|
.mbn {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.mb1,
|
|
|
|
.mbs {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-bottom: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mb2,
|
|
|
|
.mbm {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-bottom: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.mb3,
|
|
|
|
.mbl {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-bottom: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.ml0,
|
|
|
|
.mln {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.ml1,
|
|
|
|
.mls {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-left: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.ml2,
|
|
|
|
.mlm {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-left: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.ml3,
|
|
|
|
.mll {
|
2014-04-20 19:56:47 +02:00
|
|
|
margin-left: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pt0,
|
|
|
|
.ptn {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
.pt1,
|
|
|
|
.pts {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-top: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pt2,
|
|
|
|
.ptm {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-top: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pt3,
|
|
|
|
.ptl {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-top: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pr0,
|
|
|
|
.prn {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.pr1,
|
|
|
|
.prs {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-right: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pr2,
|
|
|
|
.prm {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-right: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pr3,
|
|
|
|
.prl {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-right: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pb0,
|
|
|
|
.pbn {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
.pb1,
|
|
|
|
.pbs {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-bottom: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pb2,
|
|
|
|
.pbm {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-bottom: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pb3,
|
|
|
|
.pbl {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-bottom: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pl0,
|
|
|
|
.pln {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.pl1,
|
|
|
|
.pls {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-left: 1em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pl2,
|
|
|
|
.plm {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-left: 2em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
.pl3,
|
|
|
|
.pll {
|
2014-04-20 19:56:47 +02:00
|
|
|
padding-left: 4em;
|
2014-01-31 15:30:55 +01:00
|
|
|
}
|
|
|
|
/* debug helper */
|
|
|
|
.knacss-debug {
|
|
|
|
background: pink;
|
|
|
|
outline: 3px solid maroon;
|
2014-04-20 19:35:39 +02:00
|
|
|
}
|